eccodes/definitions/grib2/boot.def

45 lines
1.5 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
#
# 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.
2021-06-15 14:18:39 +00:00
# See https://community.wmo.int/activity-areas/wmo-codes/manual-codes/latest-version
constant tablesVersionLatestOfficial = 32 : edition_specific;
# If this is different from the official version, then it is the pre-operational version
constant tablesVersionLatest = 32 : edition_specific;
constant false = 0 : hidden;
constant true = 1 : hidden;
2013-03-25 12:04:10 +00:00
constant million = 1000000 : hidden;
constant grib2divider = 1000000;
alias extraDimensionPresent=zero;
transient angleSubdivisions=grib2divider; # micro degrees
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;
transient missingValue = 9999;
constant ieeeFloats = 1 : edition_specific;
constant isHindcast = 0;
2013-03-25 12:04:10 +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";