adding stepTrange for ocean data

This commit is contained in:
Sebastien Villaume 2023-06-12 11:46:24 +01:00 committed by shahramn
parent 650c75aa08
commit 0721b02976
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,8 @@
# aliasing MARS date and Time to the date and time defined in section 1,
alias mars.date = dataDate;
alias mars.time = dataTime;
# dateOfAnalysis and timeOfAnalysis still exist in this stream but is not used in MARS
unalias mars.step;
alias mars.step = stepRange;

View File

@ -1 +1,5 @@
alias mars.step = endStep;
if (levtype is "o2d" || levtype is "o3d") {
alias mars.step = stepRange;
} else {
alias mars.step = endStep;
}