Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

So for example the GRIB edition 2 local parameters for DWD (centre=edzw) are defined in definitions/grib2/localConcepts/edzw and GRIB edition 1 local parameters for SMHI (centre=eswi) are in definitions/grib1/localConcepts/eswi.

The following in is an example of the contents for the above files in order to handle ECMWF parameter Geopotential in GRIB edition 1:

Code Block
languagebash
title/usr/local/share/eccodes/definitions/grib1/localConcepts/ecmf/name.def
#Geopotential
'Geopotential' = {
    table2Version = 128 ;
    indicatorOfParameter = 129 ;
}
Code Block
languagebash
title/usr/local/share/eccodes/definitions/grib1/localConcepts/ecmf/paramId.def
#Geopotential
'129' = {
    table2Version = 128 ;
    indicatorOfParameter = 129 ;
}
Code Block
languagebash
title/usr/local/share/eccodes/definitions/grib1/localConcepts/ecmf/shortName.def
#Geopotential
'z' = {
    table2Version = 128 ;
    indicatorOfParameter = 129 ;
}
Code Block
languagebash
title/usr/local/share/eccodes/definitions/grib1/localConcepts/ecmf/units.def
#Geopotential
'm**2 s**-2' = {
    table2Version = 128 ;
    indicatorOfParameter = 129 ;
}

And for GRIB edition 2, the contents of the same files for parameter Potential temperature gradient arethe ECMWF parameter 'Potential temperature gradient' in GRIB edition 2:

Code Block
languagebash
title/usr/local/share/eccodes/definitions/grib2/localConcepts/ecmf/name.def
#Potential temperature gradient
'Potential temperature gradient' = {
    discipline = 192 ;
    parameterCategory = 129 ;
    parameterNumber = 3 ;
}

...