mirror of https://github.com/ecmwf/eccodes.git
Definitions: Cleanup
This commit is contained in:
parent
83adc956f5
commit
b51ec51192
|
@ -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";
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
remove is_localtime;
|
||||
transient is_localtime=1;
|
||||
|
||||
include "grib2/stepUnits.def";
|
||||
include "grib2/stepUnits.def"
|
||||
|
||||
alias time.stepUnits = stepUnits;
|
||||
|
||||
|
|
Loading…
Reference in New Issue