mirror of https://github.com/ecmwf/eccodes.git
29 lines
793 B
Modula-2
29 lines
793 B
Modula-2
# (C) Copyright 2005- ECMWF.
|
|
|
|
template mars_labeling "grib1/mars_labeling.def";
|
|
|
|
#1->2
|
|
alias grib2LocalSectionPresent=present;
|
|
constant grib2LocalSectionNumber=39;
|
|
if (stepType is "instant") {
|
|
alias productDefinitionTemplateNumber=zero;
|
|
} else {
|
|
alias productDefinitionTemplateNumber=eight;
|
|
}
|
|
|
|
constant GRIBEXSection1Problem = 56 - section1Length ;
|
|
|
|
unsigned[1] componentIndex : dump;
|
|
alias mars.number=componentIndex;
|
|
unsigned[1] numberOfComponents : dump;
|
|
unsigned[1] modelErrorType : dump;
|
|
|
|
# Hours
|
|
unsigned[2] offsetToEndOf4DvarWindow : dump;
|
|
unsigned[2] lengthOf4DvarWindow : dump;
|
|
alias anoffset=offsetToEndOf4DvarWindow;
|
|
|
|
alias local.componentIndex=componentIndex;
|
|
alias local.numberOfComponents=numberOfComponents;
|
|
alias local.modelErrorType=modelErrorType;
|