mirror of https://github.com/ecmwf/eccodes.git
50 lines
1.3 KiB
Modula-2
50 lines
1.3 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.
|
|
#
|
|
|
|
constant GRIBEXSection1Problem = 120 - section1Length ;
|
|
|
|
|
|
#1->2
|
|
alias grib2LocalSectionPresent=present;
|
|
constant grib2LocalSectionNumber=18;
|
|
|
|
if (stepType is "instant" ) {
|
|
alias productDefinitionTemplateNumber=epsPoint;
|
|
} else {
|
|
alias productDefinitionTemplateNumber=epsContinous;
|
|
}
|
|
template mars_labeling "grib1/mars_labeling.def";
|
|
|
|
unsigned[1] perturbationNumber : dump ;
|
|
alias number=perturbationNumber;
|
|
|
|
unsigned[1] numberOfForecastsInEnsemble : dump ;
|
|
alias totalNumber=numberOfForecastsInEnsemble;
|
|
|
|
codetable[1] dataOrigin "common/c-1.table" : dump;
|
|
alias origin = dataOrigin;
|
|
|
|
ascii[4] modelIdentifier : dump ;
|
|
|
|
unsigned[1] consensusCount =1 : dump ;
|
|
|
|
# spareSetToZero
|
|
pad padding_loc18_1(3);
|
|
|
|
ascii[4] ccccIdentifiers ;
|
|
|
|
#consensus list(consensusCount)
|
|
#{ ascii[4] ccccIdentifiers : dump;}
|
|
|
|
padto padding_loc18_2(offsetSection1 + 120);
|
|
|
|
alias local.dataOrigin=dataOrigin;
|
|
alias local.modelIdentifier=modelIdentifier;
|
|
alias local.consensusCount=consensusCount;
|