Versions Compared

Key

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

In GRIB edition 2 what are these Product Definition Templates?

The purpose of the Product Definition section is to describe the nature of the data contained in the Data section.

The Product Definition section has a number to signify the different templates. This is called the Product Definition Template Number or PDTN for short. The ecCodes key for this is productDefinitionTemplateNumber.

Note that there are three categories of GRIB2 templates – Grid Definition Templates, Product Definition Templates, and Data Representation Templates. They are identified by the Grid Definition Template Number, Product Definition Template Number, and Data Representation Template Number, respectively.

The Product Definition Templates are normally divided into groups of 4. For example the most commonly used ones are:


DeterministicEnsemble
Instantaneous01
Interval-based811

So we have two dimensions:

  1. Whether it is deterministic or an ensemble
  2. Whether the field is instantaneous or interval-based (e.g. accumulated)

So a  Product Definition Template Number of 8 means "deterministic and interval-based". If you chose 11 then your product represents an ensemble member for which you get the key "perturbationNumber".


For meaning of codes, see http://apps.ecmwf.int/codes/grib/format/grib2/templates/4/

...


Info

Content by Label
showLabelsfalse
max5
spacesUDOC
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("eccodes-faqs","grib","kb-information-article") and type = "page" and space = "UDOC"
labelsgrib kb-information-article eccodes-faqs

...

Page properties
hiddentrue


Related issues