ECC-1620: Add stepUnits to MARS output

This commit is contained in:
Eugen Betke 2023-09-19 09:58:04 +00:00
parent 5392a164b0
commit 3a39398462
5 changed files with 5 additions and 1 deletions

View File

@ -224,6 +224,7 @@ alias ls.stepRange = stepRange;
alias ls.dataDate = dataDate;
alias mars.step = endStep;
alias mars.stepUnits = stepUnits;
alias mars.date = dataDate;
alias mars.levtype = indicatorOfTypeOfLevel;
alias mars.time = dataTime;

View File

@ -73,6 +73,7 @@ alias mars.type = marsType;
# Normally MARS step is endStep but for monthly means we want stepRange
if (stepType is "avg") {
alias mars.step = stepRange;
alias mars.stepUnits = stepUnits;
}
if (isHindcast == 1) {

View File

@ -82,7 +82,7 @@ if (numberOfForecastsUsedInLocalTime == 1) {
alias mars.date = dateOfForecastUsedInLocalTime : dump;
alias mars.time = timeOfForecastUsedInLocalTime : dump;
alias mars.step = endStep;
alias mars.stepUnits = stepUnits;
alias time.dataDate = dateOfForecastUsedInLocalTime;
alias time.dataTime = timeOfForecastUsedInLocalTime;
alias time.endStep = endStep;

View File

@ -7,6 +7,7 @@ alias step=startStep;
alias marsStep=startStep;
alias mars.step=startStep;
alias mars.stepUnits=stepUnits;
alias marsStartStep = startStep;
alias marsEndStep = endStep;

View File

@ -112,6 +112,7 @@ if (numberOfTimeRange == 1 || numberOfTimeRange == 2) {
alias ls.stepRange=stepRange;
alias mars.step=endStep;
alias mars.stepUnits=stepUnits;
alias time.stepType=stepType;
alias time.stepRange=stepRange;