eccodes/definitions/grib2/boot.def

59 lines
1.9 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
#
# 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.
2023-08-06 12:57:28 +00:00
#
2013-03-25 12:04:10 +00:00
# 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.
#
# This gets updated twice a year by WMO.
2024-06-28 12:12:04 +00:00
# See https://community.wmo.int/en/wis/latest-version
constant tablesVersionLatestOfficial = 34 : edition_specific;
# If this is different from the official version, then it is the pre-operational version
constant tablesVersionLatest = 34 : edition_specific;
constant false = 0 : hidden;
constant true = 1 : hidden;
2013-03-25 12:04:10 +00:00
constant million = 1000000 : hidden;
2024-02-19 12:37:48 +00:00
constant grib2divider = 1000000;
alias extraDimensionPresent = zero;
transient angleSubdivisions = grib2divider; # micro degrees
2023-10-11 14:56:44 +00:00
transient forceStepUnits = 255 : hidden;
2013-03-25 12:04:10 +00:00
meta gts_header gts_header() : no_copy,hidden,read_only;
meta gts_TTAAii gts_header(20,6) : no_copy,hidden,read_only;
meta gts_CCCC gts_header(27,4) : no_copy,hidden,read_only;
meta gts_ddhh00 gts_header(32,6) : no_copy,hidden,read_only;
2024-02-19 12:37:48 +00:00
transient missingValue = 9999;
constant ieeeFloats = 1 : edition_specific;
constant isHindcast = 0;
2013-03-25 12:04:10 +00:00
2024-01-16 13:54:32 +00:00
include "grib2/section.0.def"
2013-03-25 12:04:10 +00:00
template core "grib2/sections.def";
2023-04-19 11:13:59 +00:00
#if(!new()) {
# lookup[4] endOfProduct(0);
# while(endOfProduct != `7777`) {
# template core "grib2/sections.def";
# lookup[4] endOfProduct(0);
# }
2013-03-25 12:04:10 +00:00
#}
template section_8 "grib2/section.8.def";
2024-03-01 12:10:51 +00:00
# ECC-1779: Add keys to identify experimental and deprecated templates
# The low-level transient keys template_is_XXX
# are set inside the template definition files
concept isTemplateDeprecated(false) {
1 = { template_is_deprecated = 1; }
}
concept isTemplateExperimental(false) {
1 = { template_is_experimental = 1; }
}
# ECC-1806
transient paramIdForConversion = 0;