S2S: keys modelVersionDate and modelVersionTime

This commit is contained in:
Shahram Najm 2013-12-06 11:00:13 +00:00
parent 9189f2c489
commit 67b1c12cbd
3 changed files with 24 additions and 24 deletions

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -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;