@@ -75,8 +75,7 @@ concept marsType(unknown) {
75
75
}
76
76
}
77
77
78
- # get the values from the 1st most outer loop which matter!
79
- # aarays should be implemented in ecCodes as for bufr i.e. outerLoopLengthOfTimeRange[0] => #0#lengthOfTimeRange
78
+ # get the values from the 1st most outer loop which matter
80
79
meta outerLoopLengthOfTimeRange element(lengthOfTimeRange, 0);
81
80
meta outerLoopTypeOfStatisticalProcessing element(typeOfStatisticalProcessing, 0);
82
81
meta outerLoopTypeOfTimeIncrement element(typeOfTimeIncrement, 0);
@@ -119,27 +118,24 @@ alias mars.stream = marsStream;
119
118
alias mars.type = marsType;
120
119
121
120
if (marsStream is "moda") {
122
-
123
- meta verificationDate g1verificationdate(dataDate, dataTime, outerLoopLengthOfTimeRange) : read_only;
121
+ meta verificationDate g1verificationdate(dataDate, dataTime, outerLoopLengthOfTimeRange) : read_only;
124
122
meta monthlyVerificationDate g1monthlydate(verificationDate) : no_copy;
125
- alias mars.date = monthlyVerificationDate;
123
+ alias mars.date = monthlyVerificationDate;
126
124
127
125
unalias mars.time;
128
126
unalias mars.step;
129
127
}
130
128
131
129
if (marsStream is "dame") {
132
-
133
130
if (!(outerLoopTypeOfStatisticalProcessing == 3 || outerLoopTypeOfStatisticalProcessing == 2)) {
134
- # not mind or maxd
135
- alias mars.date = validityDate;
131
+ # not mind or maxd
132
+ alias mars.date = validityDate;
136
133
}
137
134
138
135
if (outerLoopLengthOfTimeRange == 24) {
139
- # accumd
140
- meta verificationDate g1verificationdate(dataDate, dataTime, outerLoopLengthOfTimeRange) : read_only;
141
- alias mars.date = verificationDate;
142
-
136
+ # accumd
137
+ meta verificationDate g1verificationdate(dataDate, dataTime, outerLoopLengthOfTimeRange) : read_only;
138
+ alias mars.date = verificationDate;
143
139
}
144
140
145
141
unalias mars.time;
0 commit comments