mirror of https://github.com/ecmwf/eccodes.git
S2S: Updated for mars stream and date
This commit is contained in:
parent
0be750a0ab
commit
03db509ea5
|
@ -71,8 +71,17 @@ concept marsStream {
|
|||
"default" = {
|
||||
dummyc = 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
alias mars.stream = marsStream;
|
||||
alias mars.type = marsType;
|
||||
|
||||
if (isHindcast == 1) {
|
||||
# S2S reforecasts
|
||||
constant theHindcastMarsStream = "enfh";
|
||||
alias mars.stream = theHindcastMarsStream;
|
||||
alias mars.hdate = dataDate;
|
||||
alias mars.date = dateOfModelVersion;
|
||||
alias mars.time = timeOfModelVersion;
|
||||
}
|
||||
|
||||
|
|
|
@ -71,8 +71,17 @@ concept marsStream {
|
|||
"default" = {
|
||||
dummyc = 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
alias mars.stream = marsStream;
|
||||
alias mars.type = marsType;
|
||||
|
||||
if (isHindcast == 1) {
|
||||
# S2S reforecasts
|
||||
constant theHindcastMarsStream = "enfh";
|
||||
alias mars.stream = theHindcastMarsStream;
|
||||
alias mars.hdate = dataDate;
|
||||
alias mars.date = dateOfModelVersion;
|
||||
alias mars.time = timeOfModelVersion;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,16 @@
|
|||
label "S2S reforecasts";
|
||||
|
||||
# The Model Version Date
|
||||
# This is the date when the reforecast is produced with a particular version of the model
|
||||
|
||||
unsigned[2] YearOfModelVersion = 0: edition_specific;
|
||||
unsigned[1] MonthOfModelVersion = 0: edition_specific;
|
||||
unsigned[1] DayOfModelVersion = 0: edition_specific;
|
||||
unsigned[1] HourOfModelVersion = 0: edition_specific;
|
||||
unsigned[1] MinuteOfModelVersion = 0: edition_specific;
|
||||
unsigned[1] SecondOfModelVersion = 0: edition_specific;
|
||||
|
||||
meta dateOfModelVersion g2date(YearOfModelVersion,MonthOfModelVersion,DayOfModelVersion) : dump;
|
||||
meta timeOfModelVersion time(HourOfModelVersion, MinuteOfModelVersion, SecondOfModelVersion) : dump;
|
||||
|
||||
constant isHindcast = 1;
|
||||
|
|
Loading…
Reference in New Issue