eccodes/definitions/grib2/template.5.53.def

36 lines
1.4 KiB
Modula-2
Raw Normal View History

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 5.53, BiFourier coefficients data - complex packing
2016-09-30 07:53:04 +00:00
include "grib2/template.5.packing.def";
transient computeLaplacianOperator=1 : hidden;
codetable[1] biFourierSubTruncationType ('5.25.table',masterDir,localDir) : dump;
codetable[1] biFourierPackingModeForAxes ('5.26.table',masterDir,localDir) = 0 : dump;
# biFourierDoNotPackAxes
2016-09-30 07:53:04 +00:00
constant laplacianScalingFactorUnset = -2147483647;
signed[4] laplacianScalingFactor : edition_specific ;
meta data.laplacianOperator scale(laplacianScalingFactor,one,million,truncateLaplacian) ;
meta laplacianOperatorIsSet evaluate(laplacianScalingFactor != laplacianScalingFactorUnset && !computeLaplacianOperator);
unsigned[2] biFourierResolutionSubSetParameterN ;
unsigned[2] biFourierResolutionSubSetParameterM ;
# TODO. Need to fix up the sample file samples/lambert_bf_grib2.tmpl
unsigned[4] totalNumberOfValuesInUnpackedSubset = 0 : dump;
2016-09-30 07:53:04 +00:00
# This is read_only until we support other values
codetable[1] unpackedSubsetPrecision ('5.7.table',masterDir,localDir) = 1 : dump;
alias precisionOfTheUnpackedSubset=unpackedSubsetPrecision;