carra daily/monthly products SD-63148

This commit is contained in:
Richard Mladek 2023-11-21 09:30:37 +00:00
parent b9cf94aa20
commit b116f9f5df
2 changed files with 54 additions and 4 deletions

View File

@ -75,24 +75,73 @@ concept marsType(unknown) {
}
}
# get the values from the 1st most outer loop which matter!
# aarays should be implemented in ecCodes as for bufr i.e. lloop[0] => #0#lengthOfTimeRange
meta lloop element(lengthOfTimeRange, 0);
meta tloop element(typeOfStatisticalProcessing, 0);
meta tloopti element(typeOfTimeIncrement, 0);
# See GRIB-205 re no_copy
# Cannot use typeOfProcessedData for stream. See GRIB-911
concept marsStream(unknown) {
oper = {
productDefinitionTemplateNumber = 8;
}
oper = {
productDefinitionTemplateNumber = 0;
}
oper = {
productDefinitionTemplateNumber = 8;
}
enda = {
productDefinitionTemplateNumber = 11;
}
enda = {
productDefinitionTemplateNumber = 1;
}
moda = {
productDefinitionTemplateNumber = 8;
tloopti = 1;
}
# avgd, mind, maxd
dame = {
productDefinitionTemplateNumber = 8;
tloopti = 1;
lloop = 21;
}
# accumd
dame = {
productDefinitionTemplateNumber = 8;
tloopti = 1;
lloop = 24;
}
} : no_copy;
alias mars.stream = marsStream;
alias mars.type = marsType;
if (marsStream is "moda") {
meta verificationDate g1verificationdate(dataDate, dataTime, lloop) : read_only;
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
alias mars.date = monthlyVerificationDate;
unalias mars.time;
unalias mars.step;
}
if (marsStream is "dame") {
if (!(tloop == 3 || tloop == 2)) {
# not mind or maxd
alias mars.date = validityDate;
}
if (lloop == 24) {
# accumd
meta verificationDate g1verificationdate(dataDate, dataTime, lloop) : read_only;
alias mars.date = verificationDate;
}
unalias mars.time;
unalias mars.step;
}

View File

@ -71,6 +71,7 @@
1097 smma Seasonal monthly means anomalies
1098 clte Climate run output
1099 clmn Climate run monthly means output
1100 dame Daily means
1110 seap Sensitive area prediction
1120 eefh Extended ensemble forecast hindcast
1121 eehs Extended ensemble forecast hindcast statistics