-
Notifications
You must be signed in to change notification settings - Fork 77
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
GFS: Missing levels for sigmaLayer and depthBelowLandLayer #195
Comments
Several of the messages in this file use non-standard i.e. local values for "typeOfFirstFixedSurface"
The key typeOfFirstFixedSurface and typeOfSecondFixedSurface use Code Table 4.5 in which we have:
So the values used in this file are in the range 192-254 i.e. they are local |
Right, but that's not what I mean here. The level types
|
OK. Thanks for the clarification.
Here I am using the keys "topLevel" and "bottomLevel" decoded as doubles (using the ":d" qualifier) |
@shahramn then this looks like an actual bug (or missing feature) in cfgrib as it only requests the Thanks for the clarification. |
…attributes and if the level is actually an integer cast it back to integer fixes ecmwf#195
Levels will be read as floats in the next release. |
cfgrib seems to miss some levels for the level types
sigmaLayer
anddepthBelowLandLayer
.I'm working with this grib file: https://noaa-gfs-bdp-pds.s3.amazonaws.com/gfs.20210115/00/gfs.t00z.pgrb2.0p25.f003
wgrib2 -lev ~/Downloads/gfs.t00z.pgrb2.0p25.f003
shows four levels for each of these level types:Reading the same file with cfgrib results in only two:
The text was updated successfully, but these errors were encountered: