Skip to content
This repository was archived by the owner on Feb 21, 2023. It is now read-only.

Not getting correct variable names from NOAA GFS model file #105

Open
bobasaurus opened this issue Dec 13, 2018 · 2 comments
Open

Not getting correct variable names from NOAA GFS model file #105

bobasaurus opened this issue Dec 13, 2018 · 2 comments

Comments

@bobasaurus
Copy link

I'm trying to load a test file from the NOAA GFS model output:

ftp://nomads.ncdc.noaa.gov/GFS/analysis_only/201812/20181201/gfsanl_4_20181201_0000_003.grb2

I can view all the variable names correctly in a GRIB data viewing program (Panoply), but when I open the file with GribApi.NET it seems to get the message name field from the "Grib2_Parameter_Name", which is the case for total ozone:

total ozone example

But for ozone mixing ratio, the name does not exist in the loaded grib messages. It should be named "Ozone Mixing Ratio" according to the viewer, but it is nowhere to be found:

o3mr example

Any idea what's happening here, and is there a way to get the full names with this library ("Total_ozone_entire_atmosphere_single_layer" and "Ozone_Mixing_Ratio_isobaric")?

@bobasaurus
Copy link
Author

I may have just misunderstood how these files are parsed. If I search for the ParameterShortName of "o3mr", I get 17 messages (one for each isobaric2 level).

@schuky83
Copy link

Hi,
I'm working on NOAA files too.

I too can't extract the "long_name" and "Grib2_Parameter_Name" fields.

Have you succeeded?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants