eccodes/definitions/grib1/local.98.32.def

88 lines
2.7 KiB
Modula-2

# Copyright 2005-2017 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.2 ----------------------------------------------------------------------
# LOCAL 98 2
#
# localDefinitionTemplate_002
# ---------------------------
#
# 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 -
#number 50 I1 42 -
#totalNumberOfClusters 51 I1 43 -
#spareSetToZero 52 PAD n/a 1
#clusteringMethod 53 I1 44 -
#startTimeStep 54 I2 45 -
#endTimeStep 56 I2 46 -
#northernLatititudeOfDomain 58 S3 47 -
#westernLongititudeOfDomain 61 S3 48 -
#southernLatititudeOfDomain 64 S3 49 -
#easternLongititudeOfDomain 67 S3 50 -
#domain 70 A1 51 -
#operationalForecastCluster 71 I1 51 -
#controlForecastCluster 72 I1 52 -
#representativeMember 73 I1 54 -
#climatologicalRegime 74 I1 55 -
#numberOfForecastsInCluster 75 I1 53 -
#ensembleForecastNumbers 76 LP_I1 54 numberOfForecastsInCluster
#spareToEnsureFixedLength - PADTO n/a 328
#
constant GRIBEXSection1Problem = 328 - section1Length ;
template mars_labeling "grib1/mars_labeling.def";
unsigned[1] clusterNumber : dump;
alias number=clusterNumber;
unsigned[1] totalNumberOfClusters : dump;
alias totalNumber=totalNumberOfClusters;
# spareSetToZero
pad padding_loc2_1(1);
unsigned[1] clusteringMethod : dump;
unsigned[2] startTimeStep : dump;
unsigned[2] endTimeStep : dump;
signed[3] northernLatitudeOfDomain : dump;
signed[3] westernLongitudeOfDomain : dump;
signed[3] southernLatitudeOfDomain : dump;
signed[3] easternLongitudeOfDomain : dump;
ascii[1] clusteringDomain : dump;
unsigned[1] operationalForecastCluster : dump;
unsigned[1] controlForecastCluster : dump;
unsigned[1] representativeMember : dump;
codetable[1] climatologicalRegime "grib1/regime.table" : dump;
unsigned[1] numberOfForecastsInCluster : dump;
if (numberOfForecastsInCluster > 0) {
unsigned[1] ensembleForecastNumbers[numberOfForecastsInCluster] : dump;
}
# spareToEnsureFixedLength
padto padding_loc2_2(offsetSection1 + 328);
alias mars.number = clusterNumber;
alias mars.domain=clusteringDomain;