...
To view these templates in ecCodes, go to the grib2 definitions directory (this can be found via the "codes_info" command) and look for files named: template.4.*.def
Some of these will include other template files. Let's look at one example of the template numbers 8 and 11:
Code Block | ||
---|---|---|
| ||
% 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 |
...