mars namespace with mars.quantile for GRIB2 adapted

This commit is contained in:
Robert Osinski 2024-08-07 13:35:24 +00:00
parent d3bf452c13
commit 125ea19326
89 changed files with 234 additions and 121 deletions

View File

@ -1,4 +1,9 @@
alias mars.step = stepRange;
if (edition == 1){
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
alias mars.quantile = marsQuantile;
}
if (edition == 2){
meta marsQuantile sprintf("%d:%d",quantileValue,totalNumberOfQuantiles);
alias mars.quantile = marsQuantile;
}

View File

@ -1,4 +1,10 @@
alias mars.step = stepRange;
if (edition == 1){
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
alias mars.quantile = marsQuantile;
}
if (edition == 2){
meta marsQuantile sprintf("%d:%d",quantileValue,totalNumberOfQuantiles);
alias mars.quantile = marsQuantile;
}

View File

@ -1 +0,0 @@
grib.me.def

View File

@ -0,0 +1,3 @@
label "_model errors";
#alias mars.number=perturbationNumber;

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1,4 +1,10 @@
alias mars.step = stepRange;
if (edition == 1){
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
alias mars.quantile = marsQuantile;
}
if (edition == 2){
meta marsQuantile sprintf("%d:%d",quantileValue,totalNumberOfQuantiles);
alias mars.quantile = marsQuantile;
}

View File

@ -1,3 +1,9 @@
alias mars.step = stepRange;
if (edition == 1){
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
alias mars.quantile = marsQuantile;
}
if (edition == 2){
meta marsQuantile sprintf("%d:%d",quantileValue,totalNumberOfQuantiles);
alias mars.quantile = marsQuantile;
}

View File

@ -6,3 +6,4 @@ alias mars.model = ecpt_model;
meta marsQuantile sprintf("%d:%d",quantileValue,totalNumberOfQuantiles);
alias mars.quantile = marsQuantile;

View File

@ -1,3 +1,8 @@
alias mars.step = stepRange;
if (edition == 1){
alias mars.quantile = quantile;
}
if (edition == 2){
meta marsQuantile sprintf("%d:%d",quantileValue,totalNumberOfQuantiles);
alias mars.quantile = marsQuantile;
}

View File

@ -1,3 +1,9 @@
alias mars.step = stepRange;
if (edition == 1){
alias mars.quantile = quantile;
}
if (edition == 2){
meta marsQuantile sprintf("%d:%d",quantileValue,totalNumberOfQuantiles);
alias mars.quantile = marsQuantile;
}

View File

@ -1 +0,0 @@
grib.enda.def

View File

@ -0,0 +1 @@
alias mars.number=perturbationNumber;

View File

@ -1 +0,0 @@
grib.enda.def

View File

@ -0,0 +1 @@
alias mars.number=perturbationNumber;

View File

@ -1 +0,0 @@
grib.enda.def

View File

@ -0,0 +1 @@
alias mars.number=perturbationNumber;

View File

@ -1 +0,0 @@
grib.enda.def

View File

@ -0,0 +1 @@
alias mars.number=perturbationNumber;

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1 +0,0 @@
grib.enda.def

View File

@ -0,0 +1 @@
alias mars.number=perturbationNumber;

View File

@ -1 +0,0 @@
grib.enda.def

View File

@ -0,0 +1 @@
alias mars.number=perturbationNumber;

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1,4 +1,10 @@
alias mars.step = stepRange;
if (edition == 1){
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
alias mars.quantile = marsQuantile;
}
if (edition == 2){
meta marsQuantile sprintf("%d:%d",quantileValue,totalNumberOfQuantiles);
alias mars.quantile = marsQuantile;
}

View File

@ -1,3 +1,9 @@
alias mars.step = stepRange;
if (edition == 1){
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
alias mars.quantile = marsQuantile;
}
if (edition == 2){
meta marsQuantile sprintf("%d:%d",quantileValue,totalNumberOfQuantiles);
alias mars.quantile = marsQuantile;
}

View File

@ -1 +0,0 @@
grib.ewda.def

View File

@ -0,0 +1 @@
alias mars.number=perturbationNumber;

View File

@ -1 +0,0 @@
grib.ewda.def

View File

@ -0,0 +1 @@
alias mars.number=perturbationNumber;

View File

@ -1 +0,0 @@
grib.ewda.def

View File

@ -0,0 +1 @@
alias mars.number=perturbationNumber;

View File

@ -3,8 +3,14 @@ alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
if (edition == 1){
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
alias mars.quantile = marsQuantile;
}
if (edition == 2){
meta marsQuantile sprintf("%d:%d",quantileValue,totalNumberOfQuantiles);
alias mars.quantile = marsQuantile;
}
# TODO: Check why they are set in the first place
unalias mars.step;

View File

@ -3,8 +3,14 @@ alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
if (edition == 1){
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
alias mars.quantile = marsQuantile;
}
if (edition == 2){
meta marsQuantile sprintf("%d:%d",quantileValue,totalNumberOfQuantiles);
alias mars.quantile = marsQuantile;
}
# TODO: Check why they are set in the first place
unalias mars.step;

View File

@ -1 +0,0 @@
grib.msmm.em.def

View File

@ -0,0 +1,17 @@
# assert(16);
alias mars.fcmonth = marsForecastMonth;
unalias mars.step;
alias mars.origin = centre;
alias mars.method = methodNumber;
if (class is "od") { alias mars.system = systemNumber; }
if (class is "me") { alias mars.system = systemNumber; }
if (class is "en") { alias mars.system = systemNumber; }
if (class is "c3") { alias mars.system = systemNumber; }
# See ECC-624
if (centre == 80 && subCentre == 98 && class is "c3") {
constant cnmc_cmcc = 'cmcc';
alias mars.origin = cnmc_cmcc;
}

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1 +0,0 @@
grib.me.def

View File

@ -0,0 +1,3 @@
label "_model errors";
#alias mars.number=perturbationNumber;

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1 +0,0 @@
base.def

View File

@ -0,0 +1,2 @@
label "_x";

View File

@ -1 +0,0 @@
grib.me.def

View File

@ -0,0 +1,3 @@
label "_model errors";
#alias mars.number=perturbationNumber;

View File

@ -1 +0,0 @@
grib.wave.def

View File

@ -0,0 +1,3 @@
transient conceptDir = "mars";
concept waveDomain(unknown,"wave_domain.def",conceptDir,conceptDir) : no_copy,read_only;
alias mars.domain = waveDomain;

View File

@ -1,3 +1,9 @@
alias mars.step = stepRange;
if (edition == 1){
alias mars.quantile = quantile;
}
if (edition == 2){
meta marsQuantile sprintf("%d:%d",quantileValue,totalNumberOfQuantiles);
alias mars.quantile = marsQuantile;
}

View File

@ -1,3 +1,9 @@
alias mars.step = stepRange;
if (edition == 1){
alias mars.quantile = quantile;
}
if (edition == 2){
meta marsQuantile sprintf("%d:%d",quantileValue,totalNumberOfQuantiles);
alias mars.quantile = marsQuantile;
}