Versions Compared

Key

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

...

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

Note: It is important that you override only the files necessary to add your own local parameters. Do not copy the entire contents of the definitions directory!


Install and test your changes

...

Code Block
% grib_ls -jn parameter out.grib2

You should get something like this:

Code Block
{
  "centre": "ecmf",
  "paramId": 129003,
  "shortName": "ptgrd",
  "units": "K",
  "name": "Potential temperature gradient"
}


(smile)


Also please study the slides here:  Training course presentation.
And the How-To Article GRIB: Converting edition 1 to 2 (The "Local configuration" section)

...