This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Don: ok, these have been added as: Grib2_Parameter_Discipline Grib2_Parameter_Category Grib2_Parameter_Name will be in 4.3.14 John > > The IDV uses the grib2 attributes to categorize the parameters in it's > UI. This is particularly useful when there are many variables > available. These attributes are missing in nc4.3. For example, in 4.2, > the variable looked like: > > float Temperature_surface(time=65, lat=361, lon=720); > :units = "K"; > :long_name = "Temperature @ surface"; > :missing_value = NaNf; // float > :GRIB_param_discipline = "Meteorological_products"; > :GRIB_param_category = "Temperature"; > :GRIB_param_name = "Temperature"; > :GRIB_generating_process_type = "Forecast"; > :GRIB_param_id = 2, 0, 0, 0; // int > :GRIB_product_definition_template = 0; // int > :GRIB_product_definition_template_desc = "Analysis/forecast at > horizontal level/layer at a point in time"; > :GRIB_level_type = 1; // int > :GRIB_level_type_name = "surface"; > :GRIB_VectorComponentFlag = "easterlyNortherlyRelative"; > > > in 4.3, it looks like: > > float Temperature_surface(time=65, lat=361, lon=720); > :long_name = "Temperature @ Ground or water surface"; > :units = "K"; > :missing_value = NaNf; // float > :abbreviation = "TMP"; > :grid_mapping = "LatLon_Projection"; > :Grib_Variable_Id = "VAR_0-0-0_L1"; > :Grib2_Parameter = 0, 0, 0; // int > :Grib2_Level_Type = 1; // int > :Grib2_Generating_Process_Type = "Forecast"; > > In particular these attributes are missing: > > :GRIB_param_discipline = "Meteorological_products"; > :GRIB_param_category = "Temperature"; > :GRIB_param_name = "Temperature"; > > I mentioned this to John previously and he said that he would keep those > attributes, but I guess that got lost. > > Don > -- > Don Murray > NOAA/ESRL/PSD and CIRES > 303-497-3596 > http://www.esrl.noaa.gov/psd/people/don.murray/ > > Ticket Details =================== Ticket ID: NCH-520268 Department: Support netCDF Java Priority: Normal Status: Closed