Definitions: Cleanup

This commit is contained in:
Shahram Najm 2024-01-16 13:54:32 +00:00
parent 83adc956f5
commit b51ec51192
5 changed files with 8 additions and 8 deletions

View File

@ -30,7 +30,7 @@ transient missingValue = 9999;
constant ieeeFloats = 1 : edition_specific;
constant isHindcast = 0;
include "grib2/section.0.def";
include "grib2/section.0.def"
template core "grib2/sections.def";

View File

@ -36,7 +36,7 @@ when (missing(subdivisionsOfBasicAngle) || subdivisionsOfBasicAngle == 0) {
include "grib2/template.3.resolution_flags.def"
include "grib2/template.3.scanning_mode.def";
include "grib2/template.3.scanning_mode.def"
longitudesList list(Ni) {
unsigned[4] longitude;

View File

@ -12,7 +12,7 @@ alias minutesAfterReferenceTimeOfDataCutoff=minutesAfterDataCutoff;
codetable[1] indicatorOfUnitOfTimeRange ('4.4.table',masterDir,localDir) : dump;
alias indicatorOfUnitForForecastTime = indicatorOfUnitOfTimeRange;
include "grib2/stepUnits.def";
include "grib2/stepUnits.def"
# Forecast time in units defined by previous octet (GRIB-29: supports negative forecast time)
signed[4] forecastTime : dump;
signed[4] forecastTime : dump;

View File

@ -14,7 +14,7 @@ alias minutesAfterReferenceTimeOfDataCutoff=minutesAfterDataCutoff;
codetable[1] indicatorOfUnitOfTimeRange ('4.4.table',masterDir,localDir) : dump;
alias indicatorOfUnitForForecastTime = indicatorOfUnitOfTimeRange;
include "grib2/stepUnits.def";
include "grib2/stepUnits.def"
# Forecast time in units defined by previous octet
# See GRIB-530: We have to make a special case for the error in WMO spec
@ -23,9 +23,9 @@ if ( new() || (section4Length - 4*NV == 45) ) {
# Newly created messages
# Existing GRIBs which have 45 bytes before the pv array
# The 45 bytes = length of product def template 4.44
unsigned[2] forecastTime : dump;
unsigned[2] forecastTime : dump;
}
else {
# This is for existing gribs which were written with 4 octets (GRIB-29: supports negative forecast time)
signed[4] forecastTime : dump;
signed[4] forecastTime : dump;
}

View File

@ -3,7 +3,7 @@
remove is_localtime;
transient is_localtime=1;
include "grib2/stepUnits.def";
include "grib2/stepUnits.def"
alias time.stepUnits = stepUnits;