Closed rustyconover closed 3 years ago
Hi,
Those "unknown" messages means that NCEP is using non-standard products in these files. The GRIB format allows centers to create "local" products that are not meant for use outside of those centers. wgrib2
can read those messages fully because it is also NCEP software so it knows the codes. This library uses ecCodes, so it can only understand the standard codes and the local codes at ECMWF natively. Long term, it'd be great to get definition files for NCEP's local codes into either GRIB.jl
or eccodes_jll
so that things just work for this library.
In the short term, GRIB.jl
should still be able to get the values, latitude, and longitude correctly, even if it can't provide all of the metadata at the moment. If it can't, let me know, and I'll see if I can figure out what other weird things are going on with those files.
@weech Thanks for fast reply.
I'd be happy to help in any way to get the local codes supported, without knowing the inventory of each file (some products fail to be included randomly), I'd still have to make a call to wgrib2. If you point me to an interface I might even work up a PR.
I'd love to have a 100% Julia GRIB workflow without the need for wgrib2 at all.
Rusty
I would be glad for some help with this! I put together a quick contributors' guide in the definitions
folder, and I made sure that it worked with the Echo Top message from that file from Brian's archive. I'll spend some time this weekend adding some of the other missing products in the HRRR, and eventually I'd like definitions for all of the new NCEP products in this folder.
Hi there,
I'm using GRIB.jl to parse a HRRR forecast Grib2 file i.e.
https://pando-rgw01.chpc.utah.edu/hrrr/sfc/20200911/hrrr.t00z.wrfsfcf00.grib2
But it seems that the file isn't fully understandable as I'm missing some message names vs wgrib2.
Table of messages using GRIB.jl
When using wgrib2 I can decode the entire file and every message has a name.
Table of contents from wgrib2.
Thank you for writing your module, can you please let me know what you recommend to get the expected message names?
Rusty