mirror of https://github.com/ecmwf/eccodes.git
S2S: keys modelVersionDate and modelVersionTime
This commit is contained in:
parent
9189f2c489
commit
67b1c12cbd
|
@ -48,29 +48,29 @@ concept marsType {
|
||||||
|
|
||||||
concept marsStream {
|
concept marsStream {
|
||||||
|
|
||||||
oper = {
|
oper = {
|
||||||
typeOfProcessedData = 0;
|
typeOfProcessedData = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
oper = {
|
oper = {
|
||||||
typeOfProcessedData = 2;
|
typeOfProcessedData = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
enfo = {
|
enfo = {
|
||||||
typeOfProcessedData = 3;
|
typeOfProcessedData = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
enfo = {
|
enfo = {
|
||||||
typeOfProcessedData = 4;
|
typeOfProcessedData = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
enfo = {
|
enfo = {
|
||||||
typeOfProcessedData = 8;
|
typeOfProcessedData = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
"default" = {
|
"default" = {
|
||||||
dummyc = 0;
|
dummyc = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
alias mars.stream = marsStream;
|
alias mars.stream = marsStream;
|
||||||
|
@ -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