mirror of https://github.com/ecmwf/eccodes.git
76 lines
3.0 KiB
Modula-2
76 lines
3.0 KiB
Modula-2
# Copyright 2005-2015 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.
|
|
#
|
|
|
|
# START 1/local.98.11 ----------------------------------------------------------------------
|
|
# LOCAL 98 11
|
|
#
|
|
# localDefinitionTemplate_011
|
|
# ---------------------------
|
|
#
|
|
# Description Octet Code Ksec1 Count
|
|
# ----------- ----- ---- ----- -----
|
|
#localDefinitionNumber 41 I1 37 -
|
|
#class 42 I1 38 -
|
|
#type 43 I1 39 -
|
|
#stream 44 I2 40 -
|
|
#experimentVersionNumber 46 A4 41 -
|
|
#classOfAnalysis 50 I1 42 -
|
|
#typeOfAnalysis 51 I1 43 -
|
|
#streamOfAnalysis 52 I2 44 -
|
|
#experimentVersionNumberOfAnalysis 54 A4 45 -
|
|
#yearOfAnalysis 58 I1 46 -
|
|
#monthOfAnalysis 59 I1 47 -
|
|
#dayOfAnalysis 60 I1 48 -
|
|
#hourOfAnalysis 61 I1 49 -
|
|
#minuteOfAnalysis 62 I1 50 -
|
|
#centuryOfAnalysis 63 I1 51 -
|
|
#originatingCentreOfAnalysis 64 I1 52 -
|
|
#subcentreOfAnalysis 65 I1 53 -
|
|
#spareSetToZero 66 PAD n/a 7
|
|
#
|
|
|
|
constant GRIBEXSection1Problem = 72 - section1Length ;
|
|
|
|
template mars_labeling "grib1/mars_labeling.def";
|
|
|
|
unsigned[1] classOfAnalysis = marsClass : dump;
|
|
unsigned[1] typeOfAnalysis = marsType : dump;
|
|
unsigned[2] streamOfAnalysis = marsStream : dump;
|
|
ksec1expver[4] experimentVersionNumberOfAnalysis = expver : dump;
|
|
|
|
unsigned[1] yearOfAnalysis = yearOfCentury : dump;
|
|
unsigned[1] monthOfAnalysis = month : dump;
|
|
unsigned[1] dayOfAnalysis = day : dump;
|
|
|
|
unsigned[1] hourOfAnalysis = hour : dump;
|
|
|
|
unsigned[1] minuteOfAnalysis = minute : dump;
|
|
|
|
unsigned[1] centuryOfAnalysis = centuryOfReferenceTimeOfData : dump;
|
|
|
|
unsigned[1] originatingCentreOfAnalysis = originatingCentre : dump;
|
|
|
|
unsigned[1] subcentreOfAnalysis = subCentre : dump;
|
|
|
|
# spareSetToZero
|
|
pad padding_local11_1(7);
|
|
|
|
constant secondsOfAnalysis = 0;
|
|
|
|
meta dateOfAnalysis g1date(centuryOfAnalysis,yearOfAnalysis,monthOfAnalysis,dayOfAnalysis) : dump;
|
|
meta timeOfAnalysis time(hourOfAnalysis,minuteOfAnalysis,secondsOfAnalysis) : dump;
|
|
|
|
alias date = dateOfAnalysis;
|
|
alias time = timeOfAnalysis;
|
|
|
|
|
|
# ---------------------------------------------------------
|
|
|
|
# END 1/local.98.11 ----------------------------------------------------------------------
|