eccodes/definitions/mars/mars.quantile.def

20 lines
621 B
Modula-2
Raw Normal View History

2024-10-14 11:42:40 +00:00
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;
}
}