NOAA-EMC / NCEPLIBS-grib_util

This is a collection of NCEP GRIB related utilities.
Other
19 stars 11 forks source link

eccodes compatible local definitions (grib tables) for NCEP WMO Grib2 #293

Open emfdavid opened 9 months ago

emfdavid commented 9 months ago

I am working with the HRRR & GFS grib2 files via NODD. I would like to use CFGRIB to read your products, but I can't seem to find any local definitions that implement the recent NCEP WMO GRIB2 Documentation?

My colleague has also started a rust grib reader which is built by hand from the NCEP WMO doc - it looks similar to some of the fortran code in this repo.

Any assistance in building a machine readable table format (I don't love the eccodes format but it exists and has an implementation) to go with the PDF would be most appreciated.

edwardhartnett commented 5 months ago

Have you looked at the NCEPLIBS-g2tmpl project? Perhaps it contains what you need.

emfdavid commented 5 months ago

Have you looked at the NCEPLIBS-g2tmpl project? Perhaps it contains what you need.

So that NCEPLIBS-g2tmpl implements the NCEP grib spec in Fortran90. Is it possible to dump the definitions in a machine readable form (json?) from that library? Or would we need to write a fortran application or an f2py wrapper to access the table definitions?

edwardhartnett commented 5 months ago

I would like have this in a machine-readable format. However it's not clear how that will happen yet.