eccodes/definitions/grib2/template.5.50002.def

31 lines
943 B
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
ieeefloat referenceValue : no_copy;
meta referenceValueError reference_value_error(referenceValue,ieee);
2022-03-28 15:18:11 +00:00
signed[2] binaryScaleFactor : no_copy;
2013-03-25 12:04:10 +00:00
2022-03-28 15:18:11 +00:00
signed[2] decimalScaleFactor :no_copy;
2013-03-25 12:04:10 +00:00
# Try different values of binaryScaleFactor and decimalScaleFactor to reduce packing error
transient optimizeScaleFactor = 0;
2022-03-28 15:18:11 +00:00
unsigned[1] bitsPerValue;
alias accuracy = bitsPerValue;
unsigned[1] widthOfFirstOrderValues :no_copy;
2013-03-25 12:04:10 +00:00
unsigned [4] numberOfGroups : no_copy;
unsigned [4] numberOfSecondOrderPackedValues : no_copy;
unsigned [1] widthOfWidths : no_copy;
unsigned [1] widthOfLengths : no_copy;
flags [1] secondOrderFlags "grib2/tables/[tablesVersion]/5.50002.table" = 0;
unsigned [1] orderOfSPD = 2 : no_copy ;
flagbit boustrophedonicOrdering(secondOrderFlags,7) = 0;
alias boustrophedonic=boustrophedonicOrdering;
if (orderOfSPD) {
2022-03-28 15:18:11 +00:00
unsigned[1] widthOfSPD ;
meta SPD spd(widthOfSPD,orderOfSPD) : read_only;
2013-03-25 12:04:10 +00:00
}