eccodes/definitions/grib2/template.5.3.def

52 lines
1.7 KiB
Modula-2
Raw Permalink Normal View History

2020-01-28 14:32:34 +00:00
# (C) Copyright 2005- ECMWF.
2013-03-25 12:04:10 +00:00
# TEMPLATE 5.3, Grid point data - complex packing and spatial differencing
2024-01-16 12:40:17 +00:00
include "grib2/template.5.packing.def"
include "grib2/template.5.original_values.def"
2013-03-25 12:04:10 +00:00
# Group splitting method used
2013-03-25 12:04:10 +00:00
codetable[1] groupSplittingMethodUsed ('5.4.table',masterDir,localDir);
# Missing value management used
2013-03-25 12:04:10 +00:00
codetable[1] missingValueManagementUsed ('5.5.table',masterDir,localDir);
# Primary missing value substitute
2013-03-25 12:04:10 +00:00
unsigned[4] primaryMissingValueSubstitute ;
# Secondary missing value substitute
2013-03-25 12:04:10 +00:00
unsigned[4] secondaryMissingValueSubstitute ;
# NG - Number of groups of data values into which field is split
2013-03-25 12:04:10 +00:00
unsigned[4] numberOfGroupsOfDataValues ;
2023-11-26 18:05:43 +00:00
alias NG = numberOfGroupsOfDataValues;
# Reference for group widths
2013-03-25 12:04:10 +00:00
unsigned[1] referenceForGroupWidths ;
# Number of bits used for the group widths
2019-01-10 18:10:41 +00:00
# (after the reference value in octet 36 has been removed)
2013-03-25 12:04:10 +00:00
unsigned[1] numberOfBitsUsedForTheGroupWidths ;
# Reference for group lengths
2013-03-25 12:04:10 +00:00
unsigned[4] referenceForGroupLengths ;
# Length increment for the group lengths
2013-03-25 12:04:10 +00:00
unsigned[1] lengthIncrementForTheGroupLengths ;
# True length of last group
2013-03-25 12:04:10 +00:00
unsigned[4] trueLengthOfLastGroup ;
# Number of bits used for the scaled group lengths
2013-03-25 12:04:10 +00:00
# (after subtraction of the reference value given in octets 38-41 and division
2019-01-10 18:10:41 +00:00
# by the length increment given in octet 42)
2013-03-25 12:04:10 +00:00
unsigned[1] numberOfBitsForScaledGroupLengths ;
alias numberOfBitsUsedForTheScaledGroupLengths=numberOfBitsForScaledGroupLengths;
# Order of spatial differencing
2013-03-25 12:04:10 +00:00
codetable[1] orderOfSpatialDifferencing ('5.6.table',masterDir,localDir);
# Number of octets required in the Data Section to specify extra descriptors needed for spatial differencing
2019-01-10 18:10:41 +00:00
# (octets 6-ww in Data Template 7.3)
2013-03-25 12:04:10 +00:00
unsigned[1] numberOfOctetsExtraDescriptors ;