eccodes/definitions/grib2/template.7.2.def

52 lines
1.3 KiB
Modula-2
Raw Normal View History

2020-01-28 14:32:34 +00:00
# (C) Copyright 2005- ECMWF.
2013-03-25 12:04:10 +00:00
# TEMPLATE 7.2, Grid point data - complex packing
position offsetBeforeData;
constant orderOfSpatialDifferencing = 0;
constant numberOfOctetsExtraDescriptors = 0;
meta codedValues data_g22order_packing(
2019-05-01 16:22:22 +00:00
section7Length,
offsetBeforeData,
offsetSection7,
2013-03-25 12:04:10 +00:00
numberOfValues,
bitsPerValue,
referenceValue,
binaryScaleFactor,
decimalScaleFactor,
2023-03-29 16:06:39 +00:00
optimizeScaleFactor,
2013-03-25 12:04:10 +00:00
2023-12-02 13:34:19 +00:00
typeOfOriginalFieldValues,
2013-03-25 12:04:10 +00:00
groupSplittingMethodUsed,
2023-12-02 13:34:19 +00:00
missingValueManagementUsed,
primaryMissingValueSubstitute,
secondaryMissingValueSubstitute,
numberOfGroupsOfDataValues,
referenceForGroupWidths,
numberOfBitsUsedForTheGroupWidths,
referenceForGroupLengths,
2013-03-25 12:04:10 +00:00
lengthIncrementForTheGroupLengths,
2023-12-02 13:34:19 +00:00
trueLengthOfLastGroup,
2013-03-25 12:04:10 +00:00
numberOfBitsForScaledGroupLengths,
orderOfSpatialDifferencing,
numberOfOctetsExtraDescriptors
): read_only;
2023-12-02 13:34:19 +00:00
meta values data_apply_bitmap(
codedValues,
bitmap,
missingValue,
binaryScaleFactor,
numberOfDataPoints,
numberOfValues
) : dump;
2013-03-25 12:04:10 +00:00
2023-08-06 12:57:28 +00:00
alias data.packedValues = codedValues;
2013-03-25 12:04:10 +00:00
template statistics "common/statistics_grid.def";
meta numberOfMissing count_missing(bitmap,unusedBitsInBitmap,numberOfDataPoints,missingValueManagementUsed) : dump;
alias numberOfMissingValues=numberOfMissing;