mirror of https://github.com/ecmwf/eccodes.git
S2S: keys modelVersionDate and modelVersionTime
This commit is contained in:
parent
9189f2c489
commit
67b1c12cbd
|
@ -81,7 +81,7 @@ if (isHindcast == 1) {
|
||||||
constant theHindcastMarsStream = "enfh";
|
constant theHindcastMarsStream = "enfh";
|
||||||
alias mars.stream = theHindcastMarsStream;
|
alias mars.stream = theHindcastMarsStream;
|
||||||
alias mars.hdate = dataDate;
|
alias mars.hdate = dataDate;
|
||||||
alias mars.date = dateOfModelVersion;
|
alias mars.date = modelVersionDate;
|
||||||
alias mars.time = timeOfModelVersion;
|
alias mars.time = modelVersionTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,7 @@ if (isHindcast == 1) {
|
||||||
constant theHindcastMarsStream = "enfh";
|
constant theHindcastMarsStream = "enfh";
|
||||||
alias mars.stream = theHindcastMarsStream;
|
alias mars.stream = theHindcastMarsStream;
|
||||||
alias mars.hdate = dataDate;
|
alias mars.hdate = dataDate;
|
||||||
alias mars.date = dateOfModelVersion;
|
alias mars.date = modelVersionDate;
|
||||||
alias mars.time = timeOfModelVersion;
|
alias mars.time = modelVersionTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ unsigned[1] HourOfModelVersion = 0: edition_specific;
|
||||||
unsigned[1] MinuteOfModelVersion = 0: edition_specific;
|
unsigned[1] MinuteOfModelVersion = 0: edition_specific;
|
||||||
unsigned[1] SecondOfModelVersion = 0: edition_specific;
|
unsigned[1] SecondOfModelVersion = 0: edition_specific;
|
||||||
|
|
||||||
meta dateOfModelVersion g2date(YearOfModelVersion,MonthOfModelVersion,DayOfModelVersion) : dump;
|
meta modelVersionDate g2date(YearOfModelVersion,MonthOfModelVersion,DayOfModelVersion) : dump;
|
||||||
meta timeOfModelVersion time(HourOfModelVersion, MinuteOfModelVersion, SecondOfModelVersion) : dump;
|
meta modelVersionTime time(HourOfModelVersion, MinuteOfModelVersion, SecondOfModelVersion) : dump;
|
||||||
|
|
||||||
constant isHindcast = 1;
|
constant isHindcast = 1;
|
||||||
|
|
Loading…
Reference in New Issue