-
Notifications
You must be signed in to change notification settings - Fork 43
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
typeOfFirstFixedSurface decode issues #372
Comments
Hi @ColemanTom, thanks for getting in touch, and thanks for including an example file which always help isolate things faster. You're right that The two fixed surfaces that iris-grib fully recognises are these: iris-grib/iris_grib/_load_convert.py Lines 96 to 100 in 831ea25
Everything else will be loaded with no We can potentially add to the above |
Could it be a bit smarter perhaps? For example, pseudocode
Obviously, I've hardcoded Default to the custom defined ones (else you would have |
With the We so far don't have a sophisticated way to translate from GRIB to CF, other than rote-translation (as well as the table above, we have |
I am having issues with fields with
typeOfFirstFixedSurface=101
, they are not decoding correctly.I have attached a file, a.zip, which contains a grib2 file to assist in debugging/testing.
With iris-grib v0.18.0, printing this cube out, I get
Printing the same cube out with iris-grib v0.19.0, I get
See the new "unknown" attribute.
I'm guessing this relates to changes in the
_load_convert.py
file, but I've not been able to quickly come up with a solution.The text was updated successfully, but these errors were encountered: