1# Copyright 2005-2018 ECMWF.
2#
3# This software is licensed under the terms of the Apache Licence Version 2.0
4# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
5#
6# In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
7# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
8#
9
10# START 1/local.98.19 ----------------------------------------------------------------------
11# LOCAL 98 19
12#
13# localDefinitionTemplate_019
14# ---------------------------
15#
16# Description                Octet    Code    Ksec1    Count
17# -----------                -----    ----    -----    -----
18#localDefinitionNumber               41  I1  37  -
19#class                               42  I1  38  -
20#type                                43  I1  39  -
21#stream                              44  I2  40  -
22#experimentVersionNumber             46  A4  41  -
23#zeroForMarsCompatibility            50  PAD 42  1
24#ensembleSize                        51  I1  43  -
25#powerOfTenUsedToScaleClimateWeight  52  I1  44  -
26#weightAppliedToClimateMonth1        53  I4  45  -
27#firstMonthUsedToBuildClimateMonth1  57  I3  46  -
28#lastMonthUsedToBuildClimateMonth1   60  I3  47  -
29#firstMonthUsedToBuildClimateMonth2  63  I3  48  -
30#lastMonthUsedToBuildClimateMonth2   66  I3  49  -
31#efiOrder                            69  I1  50  -
32#spareSetToZero                      70  PAD n/a 11
33#
34template mars_labeling "grib1/mars_labeling.def";
35
36constant GRIBEXSection1Problem = 80 - section1Length ;
37
38# zeroForMarsCompatibility
39#pad padding_loc19_1(1);
40unsigned[1] number : dump;
41alias perturbationNumber=number;
42
43unsigned[1] ensembleSize  : dump;
44alias totalNumber=ensembleSize;
45
46meta quantile sprintf("%s:%s",number,ensembleSize);
47
48# See GRIB-862 for the reason behind the aliases
49
50unsigned[1] versionNumberOfExperimentalSuite : dump;
51alias powerOfTenUsedToScaleClimateWeight=versionNumberOfExperimentalSuite;
52
53unsigned[4] implementationDateOfModelCycle : dump;
54alias weightAppliedToClimateMonth1=implementationDateOfModelCycle;
55
56unsigned[3] numberOfReforecastYearsInModelClimate : dump;
57alias firstMonthUsedToBuildClimateMonth1=numberOfReforecastYearsInModelClimate;
58
59unsigned[3] numberOfDaysInClimateSamplingWindow : dump;
60alias lastMonthUsedToBuildClimateMonth1=numberOfDaysInClimateSamplingWindow;
61
62unsigned[3] sampleSizeOfModelClimate : dump;
63alias firstMonthUsedToBuildClimateMonth2=sampleSizeOfModelClimate;
64
65unsigned[3] versionOfModelClimate : dump;
66alias lastMonthUsedToBuildClimateMonth2=versionOfModelClimate;
67
68unsigned[1] efiOrder : dump;
69
70# spareSetToZero
71pad padding_loc19_2(11);
72
73# END   1/local.98.19 ----------------------------------------------------------------------
74