mirror of https://github.com/ecmwf/eccodes.git
33 lines
1.2 KiB
Modula-2
33 lines
1.2 KiB
Modula-2
# Copyright 2005-2018 ECMWF.
|
|
#
|
|
# 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.
|
|
#
|
|
|
|
template mars_labeling "grib1/mars_labeling.def";
|
|
|
|
constant GRIBEXSection1Problem = 0 ;
|
|
|
|
unsigned[1] yearOfReference = yearOfCentury : dump;
|
|
unsigned[1] monthOfReference = month : dump;
|
|
unsigned[1] dayOfReference = day : dump;
|
|
unsigned[1] hourOfReference = hour : dump;
|
|
unsigned[1] minuteOfReference = minute : dump;
|
|
unsigned[1] centuryOfReference = centuryOfReferenceTimeOfData : dump;
|
|
transient secondsOfReference = 0 ;
|
|
|
|
unsigned[1] numberOfForcasts=0 : dump;
|
|
if (numberOfForcasts) {
|
|
unsigned[3] forecastSteps[numberOfForcasts] : dump;
|
|
}
|
|
unsigned[1] numberOfAnalysis=1 : dump;
|
|
if (numberOfAnalysis) {
|
|
signed[3] analysisOffsets[numberOfAnalysis] : dump;
|
|
}
|
|
|
|
meta dateOfReference g1date(centuryOfReference,yearOfReference,monthOfReference,dayOfReference) : dump;
|
|
meta timeOfReference time(hourOfReference,minuteOfReference,secondsOfReference) : dump;
|