mirror of https://github.com/ecmwf/eccodes.git
ECC-1933 and ECC-1935
This commit is contained in:
parent
b95024fa23
commit
0964fc1001
|
@ -43,10 +43,10 @@ g1_message_length[3] totalLength(section4Length);
|
|||
position startOfHeaders;
|
||||
unsigned[1] editionNumber = 1 : edition_specific,dump;
|
||||
|
||||
template section_1 "grib1/section.1.def";
|
||||
|
||||
alias ls.edition = editionNumber;
|
||||
|
||||
template section_1 "grib1/section.1.def";
|
||||
|
||||
# Note flagbit numbers 7 to 0, while wmo is 1 to 8
|
||||
flagbit gridDescriptionSectionPresent(section1Flags,7) = 1;
|
||||
meta GDSPresent gds_is_present(gridDescriptionSectionPresent,gridDefinition,bitmapPresent,values): dump;
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
alias mars.step = stepRange;
|
||||
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
|
||||
alias mars.quantile = marsQuantile;
|
||||
alias mars.step = stepRange;
|
||||
|
||||
include "mars/mars.quantile.def"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
alias mars.step = stepRange;
|
||||
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
|
||||
alias mars.quantile = marsQuantile;
|
||||
|
||||
alias mars.step = stepRange;
|
||||
|
||||
include "mars/mars.quantile.def"
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
alias mars.step = stepRange;
|
||||
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
|
||||
alias mars.quantile = marsQuantile;
|
||||
alias mars.step = stepRange;
|
||||
|
||||
include "mars/mars.quantile.def"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
alias mars.step = stepRange;
|
||||
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
|
||||
alias mars.quantile = marsQuantile;
|
||||
alias mars.step = stepRange;
|
||||
|
||||
include "mars/mars.quantile.def"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
alias mars.step = stepRange;
|
||||
alias mars.quantile = quantile;
|
||||
alias mars.step = stepRange;
|
||||
|
||||
include "mars/mars.quantile.def"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
alias mars.step = stepRange;
|
||||
alias mars.quantile = quantile;
|
||||
alias mars.step = stepRange;
|
||||
|
||||
include "mars/mars.quantile.def"
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
alias mars.step = stepRange;
|
||||
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
|
||||
alias mars.quantile = marsQuantile;
|
||||
alias mars.step = stepRange;
|
||||
|
||||
include "mars/mars.quantile.def"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
alias mars.step = stepRange;
|
||||
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
|
||||
alias mars.quantile = marsQuantile;
|
||||
alias mars.step = stepRange;
|
||||
|
||||
include "mars/mars.quantile.def"
|
||||
|
|
|
@ -3,8 +3,7 @@ alias mars.origin = centre;
|
|||
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
|
||||
alias mars.fcperiod = forecastperiod;
|
||||
|
||||
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
|
||||
alias mars.quantile = marsQuantile;
|
||||
include "mars/mars.quantile.def"
|
||||
|
||||
# TODO: Check why they are set in the first place
|
||||
unalias mars.step;
|
||||
|
|
|
@ -3,8 +3,7 @@ alias mars.origin = centre;
|
|||
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
|
||||
alias mars.fcperiod = forecastperiod;
|
||||
|
||||
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
|
||||
alias mars.quantile = marsQuantile;
|
||||
include "mars/mars.quantile.def"
|
||||
|
||||
# TODO: Check why they are set in the first place
|
||||
unalias mars.step;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
alias mars.step = stepRange;
|
||||
alias mars.quantile = quantile;
|
||||
alias mars.step = stepRange;
|
||||
|
||||
include "mars/mars.quantile.def"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
alias mars.step = stepRange;
|
||||
alias mars.quantile = quantile;
|
||||
alias mars.step = stepRange;
|
||||
|
||||
include "mars/mars.quantile.def"
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
if ((stream is "eehs" or stream is "efhs" or stream is "wees" or stream is "wehs") and (type is "cd")){
|
||||
if (edition == 1){
|
||||
# defined in local section 19
|
||||
alias mars.quantile = quantile;
|
||||
} else {
|
||||
meta marsQuantile sprintf("%d:%d",quantileValue,totalNumberOfQuantiles);
|
||||
alias mars.quantile = marsQuantile;
|
||||
}
|
||||
} else {
|
||||
if (edition == 1){
|
||||
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
|
||||
alias mars.quantile = marsQuantile;
|
||||
} else {
|
||||
meta marsQuantile sprintf("%d:%d",quantileValue,totalNumberOfQuantiles);
|
||||
alias mars.quantile = marsQuantile;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue