Unidata / thredds

THREDDS Data Server v4.6
https://www.unidata.ucar.edu/software/tds/v4.6/index.html
266 stars 179 forks source link

Inconsistent representation for Grib Level Type #853

Open ywangd opened 7 years ago

ywangd commented 7 years ago

For variables in a NetcdfFile object that is populated from a GRIB file, they have a Grib Level Type attribute, named Grib1_Level_Type and Grib2_Level_Type for GRIB-1 and GRIB-2 files, respectively.

The issue is that the data type of the attribute's value is different.

For our usage purpose, we'd like both attributes to have Integer values. So maybe a possible solution is to store Integer code to Grib2_Level_Type and add a new Grib2_Level_Desc to store its string form.

lesserwhirls commented 7 years ago

This seems more than reasonable. We'll look at getting this straightened out for our next release.