mirror of https://github.com/ecmwf/eccodes.git
ECC-1620: Add stepUnits to MARS output
This commit is contained in:
parent
5392a164b0
commit
3a39398462
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -7,6 +7,7 @@ alias step=startStep;
|
|||
alias marsStep=startStep;
|
||||
|
||||
alias mars.step=startStep;
|
||||
alias mars.stepUnits=stepUnits;
|
||||
|
||||
alias marsStartStep = startStep;
|
||||
alias marsEndStep = endStep;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue