2018-05-15 17:03:02 +00:00
|
|
|
# Copyright 2005-2018 ECMWF.
|
2016-09-30 07:53:04 +00:00
|
|
|
#
|
|
|
|
# This software is licensed under the terms of the Apache Licence Version 2.0
|
|
|
|
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
|
|
|
|
#
|
|
|
|
# In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
|
|
|
|
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
|
|
|
#
|
|
|
|
|
2016-09-30 12:45:57 +00:00
|
|
|
# TEMPLATE 7.53, BiFourier coefficients - complex packing
|
2016-09-30 07:53:04 +00:00
|
|
|
|
|
|
|
constant biFourierCoefficients = 1;
|
|
|
|
constant complexPacking = 1;
|
|
|
|
|
|
|
|
|
|
|
|
meta codedValues data_g2bifourier_packing(
|
|
|
|
section7Length,
|
|
|
|
offsetBeforeData,
|
|
|
|
offsetSection7,
|
|
|
|
|
|
|
|
unitsFactor,
|
|
|
|
unitsBias,
|
|
|
|
changingPrecision,
|
|
|
|
numberOfValues,
|
|
|
|
bitsPerValue,
|
|
|
|
referenceValue,
|
|
|
|
binaryScaleFactor,
|
|
|
|
decimalScaleFactor,
|
2018-05-15 13:30:14 +00:00
|
|
|
optimizeScaleFactor,
|
2016-09-30 07:53:04 +00:00
|
|
|
unpackedSubsetPrecision,
|
|
|
|
|
|
|
|
laplacianOperatorIsSet,
|
|
|
|
laplacianOperator,
|
|
|
|
|
|
|
|
biFourierTruncationType,
|
|
|
|
biFourierResolutionSubSetParameterN,
|
|
|
|
biFourierResolutionSubSetParameterM,
|
|
|
|
|
|
|
|
biFourierResolutionParameterN,
|
|
|
|
biFourierResolutionParameterM,
|
|
|
|
biFourierSubTruncationType,
|
2019-05-13 13:30:08 +00:00
|
|
|
biFourierPackingModeForAxes,
|
2016-09-30 07:53:04 +00:00
|
|
|
biFourierMakeTemplate,
|
|
|
|
|
|
|
|
numberOfValues
|
|
|
|
): read_only;
|
|
|
|
|
|
|
|
meta values data_apply_bitmap(codedValues,
|
|
|
|
bitmap,
|
|
|
|
missingValue,
|
|
|
|
binaryScaleFactor,
|
|
|
|
numberOfDataPoints,
|
|
|
|
numberOfValues) : dump;
|
|
|
|
|