Versions Compared

Key

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

...

Code Block
languagebash
% codes_info
  ecCodes Version 2.17.0
  Default definition files path is used: /usr/local/apps/eccodes/2.17.0/GNU/7.3.0/share/eccodes/definitions
...
# Go to the definitions directory for GRIB edition 2
% cd /usr/local/apps/eccodes/2.17.0/GNU/7.3.0/share/eccodes/definitions/grib2
% cat template.4.11.def
include "grib2/template.4.parameter.def"
include "grib2/template.4.horizontal.def"
include "grib2/template.4.eps.def"
include "grib2/template.4.statistical.def"

% cat template.4.8.def
include "grib2/template.4.parameter.def"
include "grib2/template.4.horizontal.def"
include "grib2/template.4.statistical.def"

# We see that the only difference is the inclusion of the ensemble file (template.4.eps.def)
# Now look in this file to see what keys are there
% more template.4.eps.def
...
unsigned[1] perturbationNumber  : dump;
...
# This tells us there is a one-octet key called perturbationNumber

It is also instructive to examine the template number 0 (deterministic and instantaneous):

Code Block
languagebash
% cat template.4.0.def
include "grib2/template.4.parameter.def";
include "grib2/template.4.point_in_time.def";
include "grib2/template.4.horizontal.def";

Here you can see the ensemble part is absent and instead of template.4.statistical.def we have template.4.point_in_time.def (since instantaneous means a given point in time)

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

...