logoalt Hacker News

jasonmarks_last Friday at 11:46 PM1 replyview on HN

No, not really. If you are just looking to work with the data you want to read about extracting from grib2 format. One of the faster ways off the ground is to use the Pywgrib2_s python package and iterate against the model files using python to extract the fields that are interesting. I have a container on docker hub that has pywgrib compiled with all its dependencies if you want to tinker.

pywgrib https://www.cpc.ncep.noaa.gov/products/people/lxu/cookbook/a... containerized https://hub.docker.com/repository/docker/jmarks213/container...


Replies

countersyesterday at 3:20 AM

It's far, far simpler for users to simply use eccodes[1], particularly as implemented in xarray[2].

[1]: https://github.com/ecmwf/eccodes [2]: https://docs.xarray.dev/en/stable/index.html

show 1 reply