-
Notifications
You must be signed in to change notification settings - Fork 70
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
Support GRIB GDT 140 and PDT 73 #22
Comments
The dataset creator has suggested they might switch to a different Product Definition Template. He didn't say which, but I would think it would be likely one of the other forecast templates 70-72. |
Thanks for the report, @msdsoftware! I'll take a look once we get 5.0.0 stable out the door (likely today). Do you have a sample file I could work with? Even if they switch templates, it'd still be nice to take a look and see if we can support it. |
@lesserwhirls, I have a couple sample datasets. Would have to double-check but I think one should be okay for redistribution. |
@msdsoftware please can you share the sample datasets? |
Hi guys, hope it's appropriate to piggyback this issue as it seems relevant and I have a couple of example files I can share for reference sake. I'd been wrestling with reading these files with software I am working on, despite the software being stable until encountering these particular grid data types. I ended up deciding to try loading them in Panoply which has also crashed and burned with the same NullException I have been experiencing - which comes as a result of Grib2PDS not handling product definition 32, which is required to handle these files. If there are any suggestions of how to work around this, that would be appreciated - but otherwise this seems like something which should be able to work as it appears that this product definition is known. Cheers, |
FWIW, the issue of Product Definition 32 support arose two years ago in Unidata/thredds#846. Looks like @cofinoa took a whack at it but it turned out to be pretty complex and so apparently was not completed. |
A user sent me a GRIB2 file of ECMWF flood data that netCDF-Java will not open.
The first problem I encountered in trying to figure out why e.g. Panoply and IDV would not open the file is that it specified Grid Definition 140, which is the Lambert Azimuthal Equal Area projection. Some Googling indicates that this projection was first proposed for addition to GRIB in 2012, which I expect is after most/all of the grids that NJ understands were coded.
After an attempt at hacking
Grib2Gds
to accept template 140, I then ran into the problem that the file uses Product Definition 73, which is missing fromGrib2Pds
.Perhaps there are further problems, but that was where I quit.
The text was updated successfully, but these errors were encountered: