Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI utility for filtering grib files by variable and coordinates. #397

Open
chriss1245 opened this issue Aug 14, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@chriss1245
Copy link

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

cfgrib filter --variables vars.txt --min_lon 12 --max_lon 25 ---min_lat 21 --max_lat 23.4

Describe alternatives you've considered

I am starting in the world of whether forecastings and their specific data formats. From my perspective, filtering a file by variables and coordinates should be easy. But it has been a problem for me. I started using the python library, but ended up with a bad implementation for filtering by variables and coordinates. In general it was very slow and memory inefficient.

So i decided to search for cli commands already working. I didnt find any which allowed me to do both filtering by variables and filtering by coordinates. I had really high expectations for a tool called grib_filter. This tool has a rules file which allow filtering. However it seems to support only variable filtering. There is no much documentation about it.

Additional context

No response

Organisation

No response

@chriss1245 chriss1245 added the enhancement New feature or request label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant