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;
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
alias mars.quantile = marsQuantile;
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;
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
alias mars.quantile = marsQuantile;
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 +1 @@
alias mars.step = stepRange;
alias mars.step = stepRange;

View File

@ -1 +1 @@
alias mars.step = stepRange;
alias mars.step = stepRange;

View File

@ -1 +1 @@
alias mars.step = stepRange;
alias mars.step = stepRange;

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;
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
alias mars.quantile = marsQuantile;
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;
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
alias mars.quantile = marsQuantile;
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

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

View File

@ -5,5 +5,5 @@ meta ecpt_model sprintf("%s", postProcessing) : no_copy;
alias mars.model = ecpt_model;
meta marsQuantile sprintf("%d:%d",quantileValue,totalNumberOfQuantiles);
alias mars.quantile = marsQuantile;
alias mars.quantile = marsQuantile;

View File

@ -1,3 +1,8 @@
alias mars.step = stepRange;
alias mars.quantile = quantile;
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;
alias mars.quantile = quantile;
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 +1 @@
alias mars.step = stepRange;
alias mars.step = stepRange;

View File

@ -1 +1 @@
alias mars.step = stepRange;
alias mars.step = stepRange;

View File

@ -1 +1 @@
alias mars.step = stepRange;
alias mars.step = stepRange;

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;
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
alias mars.quantile = marsQuantile;
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;
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
alias mars.quantile = marsQuantile;
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

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

View File

@ -5,5 +5,5 @@ meta ecpt_model sprintf("%s", postProcessing) : no_copy;
alias mars.model = ecpt_model;
meta marsQuantile sprintf("%d:%d",quantileValue,totalNumberOfQuantiles);
alias mars.quantile = marsQuantile;
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

@ -1,3 +1,3 @@
# assert(localDefinitionNumber == 1);
alias mars.step = stepRange;
alias mars.step = stepRange;
unalias mars.time;

View File

@ -1,7 +1,7 @@
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.method = methodNumber;

View File

@ -2,7 +2,7 @@ alias mars.origin = centre;
alias mars.number = perturbationNumber;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.method = methodNumber;

View File

@ -1,7 +1,7 @@
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.method = methodNumber;

View File

@ -1,10 +1,16 @@
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
alias mars.quantile = marsQuantile;
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,10 +1,16 @@
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
meta marsQuantile sprintf("%d:%d",perturbationNumber,numberOfForecastsInEnsemble);
alias mars.quantile = marsQuantile;
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,10 +1,10 @@
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.refdate = referenceDate;
alias mars.refdate = referenceDate;
unalias mars.date;
alias mars.method = methodNumber;
if (class is "od") { alias mars.system = systemNumber; }

View File

@ -1,10 +1,10 @@
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.refdate = referenceDate;
alias mars.refdate = referenceDate;
unalias mars.date;
alias mars.method = methodNumber;
if (class is "od") { alias mars.system = systemNumber; }

View File

@ -2,9 +2,9 @@ alias mars.number = perturbationNumber;
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.refdate = referenceDate;
alias mars.refdate = referenceDate;
alias mars.method = methodNumber;
if (class is "od") { alias mars.system = systemNumber; }

View File

@ -2,9 +2,9 @@ alias mars.number = perturbationNumber;
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.refdate = referenceDate;
alias mars.refdate = referenceDate;
alias mars.method = methodNumber;
if (class is "od") { alias mars.system = systemNumber; }

View File

@ -2,9 +2,9 @@ alias mars.number = perturbationNumber;
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.refdate = referenceDate;
alias mars.refdate = referenceDate;
alias mars.method = methodNumber;
if (class is "od") { alias mars.system = systemNumber; }

View File

@ -2,9 +2,9 @@ alias mars.number = perturbationNumber;
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.refdate = referenceDate;
alias mars.refdate = referenceDate;
alias mars.method = methodNumber;
if (class is "od") { alias mars.system = systemNumber; }

View File

@ -2,7 +2,7 @@ alias mars.number = perturbationNumber;
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.method = methodNumber;

View File

@ -2,7 +2,7 @@ alias mars.number = perturbationNumber;
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.method = methodNumber;

View File

@ -2,7 +2,7 @@ alias mars.number = perturbationNumber;
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.method = methodNumber;

View File

@ -2,7 +2,7 @@ alias mars.number = perturbationNumber;
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.method = methodNumber;

View File

@ -2,9 +2,9 @@ alias mars.number = perturbationNumber;
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.refdate = referenceDate;
alias mars.refdate = referenceDate;
alias mars.method = methodNumber;
if (class is "od") { alias mars.system = systemNumber; }

View File

@ -2,9 +2,9 @@ alias mars.number = perturbationNumber;
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.refdate = referenceDate;
alias mars.refdate = referenceDate;
alias mars.method = methodNumber;
if (class is "od") { alias mars.system = systemNumber; }

View File

@ -2,9 +2,9 @@ alias mars.number = perturbationNumber;
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.refdate = referenceDate;
alias mars.refdate = referenceDate;
alias mars.method = methodNumber;
if (class is "od") { alias mars.system = systemNumber; }

View File

@ -2,9 +2,9 @@ alias mars.number = perturbationNumber;
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.refdate = referenceDate;
alias mars.refdate = referenceDate;
alias mars.method = methodNumber;
if (class is "od") { alias mars.system = systemNumber; }

View File

@ -1,2 +1,2 @@
alias mars.origin = centre;
alias mars.number = perturbationNumber;
alias mars.number = perturbationNumber;

View File

@ -1,5 +1,5 @@
alias mars.origin = centre;
alias mars.number = perturbationNumber;
alias mars.number = perturbationNumber;
alias mars.fcmonth = marsForecastMonth;
unalias mars.step;

View File

@ -1,7 +1,7 @@
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.method = methodNumber;

View File

@ -1,7 +1,7 @@
alias mars.origin = centre;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.method = methodNumber;

View File

@ -2,7 +2,7 @@ alias mars.origin = centre;
alias mars.number = perturbationNumber;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.method = methodNumber;
if (class is "od") { alias mars.system = systemNumber; }

View File

@ -2,7 +2,7 @@ alias mars.origin = centre;
alias mars.number = perturbationNumber;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.method = methodNumber;
if (class is "od") { alias mars.system = systemNumber; }

View File

@ -2,7 +2,7 @@ alias mars.origin = centre;
alias mars.number = perturbationNumber;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.method = methodNumber;
if (class is "od") { alias mars.system = systemNumber; }

View File

@ -2,7 +2,7 @@ alias mars.origin = centre;
alias mars.number = perturbationNumber;
meta forecastperiod g1fcperiod(P1,P2,timeRangeIndicator,indicatorOfUnitOfTimeRange) : no_copy;
alias mars.fcperiod = forecastperiod;
alias mars.fcperiod = forecastperiod;
unalias mars.step;
alias mars.method = methodNumber;
if (class is "od") { alias mars.system = systemNumber; }

View File

@ -1,4 +1,4 @@
alias mars.number = perturbationNumber;
alias mars.number = perturbationNumber;
unalias mars.step;
# Old GRIBS do not have forecast forecastMonth set. It is computed from verifyingMonth

View File

@ -1,4 +1,4 @@
alias mars.number = perturbationNumber;
alias mars.number = perturbationNumber;
unalias mars.step;
# Old GRIBS do not have forecast forecastMonth set. It is computed from verifyingMonth

View File

@ -1,4 +1,4 @@
alias mars.number = perturbationNumber;
alias mars.number = perturbationNumber;
unalias mars.step;
# Old GRIBS do not have forecast forecastMonth set. It is computed from verifyingMonth

View File

@ -1,4 +1,4 @@
alias mars.number = perturbationNumber;
alias mars.number = perturbationNumber;
unalias mars.step;
# Old GRIBS do not have forecast forecastMonth set. It is computed from verifyingMonth

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";

Some files were not shown because too many files have changed in this diff Show More