mirror of https://github.com/ecmwf/eccodes.git
ECC-555: Add verificationYear, monthlyVerificationYear, verificationMonth, monthlyVerificationMonth for monthly streams
This commit is contained in:
parent
2defbdef43
commit
4ebfaad862
|
@ -3,4 +3,9 @@ meta verificationDate g1verificationdate(dataDate, dataTime, endStep) : r
|
||||||
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
||||||
alias mars.date = monthlyVerificationDate;
|
alias mars.date = monthlyVerificationDate;
|
||||||
|
|
||||||
|
meta verificationYear evaluate(verificationDate/10000);
|
||||||
|
meta monthlyVerificationYear evaluate(monthlyVerificationDate/10000);
|
||||||
|
meta verificationMonth evaluate( (verificationDate/100)%100 );
|
||||||
|
meta monthlyVerificationMonth evaluate( (monthlyVerificationDate/100)%100 );
|
||||||
|
|
||||||
alias mars.number=perturbationNumber;
|
alias mars.number=perturbationNumber;
|
||||||
|
|
|
@ -3,6 +3,11 @@ meta verificationDate g1verificationdate(dataDate, dataTime, endStep) :
|
||||||
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
||||||
alias mars.date = monthlyVerificationDate;
|
alias mars.date = monthlyVerificationDate;
|
||||||
|
|
||||||
|
meta verificationYear evaluate(verificationDate/10000);
|
||||||
|
meta monthlyVerificationYear evaluate(monthlyVerificationDate/10000);
|
||||||
|
meta verificationMonth evaluate( (verificationDate/100)%100 );
|
||||||
|
meta monthlyVerificationMonth evaluate( (monthlyVerificationDate/100)%100 );
|
||||||
|
|
||||||
# class e4
|
# class e4
|
||||||
# constant six = 6;
|
# constant six = 6;
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,11 @@ meta verificationDate g1verificationdate(dataDate, dataTime, endStep) : r
|
||||||
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
||||||
alias mars.date = monthlyVerificationDate;
|
alias mars.date = monthlyVerificationDate;
|
||||||
|
|
||||||
|
meta verificationYear evaluate(verificationDate/10000);
|
||||||
|
meta monthlyVerificationYear evaluate(monthlyVerificationDate/10000);
|
||||||
|
meta verificationMonth evaluate( (verificationDate/100)%100 );
|
||||||
|
meta monthlyVerificationMonth evaluate( (monthlyVerificationDate/100)%100 );
|
||||||
|
|
||||||
unalias mars.time;
|
unalias mars.time;
|
||||||
unalias mars.step;
|
unalias mars.step;
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,14 @@
|
||||||
# assert(local=1)
|
# assert(local=1)
|
||||||
meta verificationDate g1verificationdate(dataDate, dataTime, endStep) : read_only;
|
meta verificationDate g1verificationdate(dataDate, dataTime, endStep) : read_only;
|
||||||
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
||||||
alias mars.date = monthlyVerificationDate;
|
alias mars.date = monthlyVerificationDate;
|
||||||
alias mars.step = endStep;
|
alias mars.step = endStep;
|
||||||
|
|
||||||
|
meta verificationYear evaluate(verificationDate/10000);
|
||||||
|
meta monthlyVerificationYear evaluate(monthlyVerificationDate/10000);
|
||||||
|
meta verificationMonth evaluate( (verificationDate/100)%100 );
|
||||||
|
meta monthlyVerificationMonth evaluate( (monthlyVerificationDate/100)%100 );
|
||||||
|
|
||||||
# class 3 is "er" which is 15 year re-analysis (ERA15)
|
# class 3 is "er" which is 15 year re-analysis (ERA15)
|
||||||
# Only ERA15 has time and step
|
# Only ERA15 has time and step
|
||||||
if(class != 3) {
|
if(class != 3) {
|
||||||
|
|
|
@ -3,6 +3,11 @@ meta verificationDate g1verificationdate(dataDate, dataTime, endStep) :
|
||||||
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
||||||
alias mars.date = monthlyVerificationDate;
|
alias mars.date = monthlyVerificationDate;
|
||||||
|
|
||||||
|
meta verificationYear evaluate(verificationDate/10000);
|
||||||
|
meta monthlyVerificationYear evaluate(monthlyVerificationDate/10000);
|
||||||
|
meta verificationMonth evaluate( (verificationDate/100)%100 );
|
||||||
|
meta monthlyVerificationMonth evaluate( (monthlyVerificationDate/100)%100 );
|
||||||
|
|
||||||
#
|
#
|
||||||
# See GRIB-422, GRIB-497, GRIB-766, GRIB-833
|
# See GRIB-422, GRIB-497, GRIB-766, GRIB-833
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,9 +1,14 @@
|
||||||
# assert(local=1)
|
# assert(local=1)
|
||||||
meta verificationDate g1verificationdate(dataDate, dataTime, endStep) : read_only;
|
meta verificationDate g1verificationdate(dataDate, dataTime, endStep) : read_only;
|
||||||
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
||||||
alias mars.date = monthlyVerificationDate;
|
alias mars.date = monthlyVerificationDate;
|
||||||
alias mars.step = endStep;
|
alias mars.step = endStep;
|
||||||
|
|
||||||
|
meta verificationYear evaluate(verificationDate/10000);
|
||||||
|
meta monthlyVerificationYear evaluate(monthlyVerificationDate/10000);
|
||||||
|
meta verificationMonth evaluate( (verificationDate/100)%100 );
|
||||||
|
meta monthlyVerificationMonth evaluate( (monthlyVerificationDate/100)%100 );
|
||||||
|
|
||||||
# class 3 is "er" which is 15 year re-analysis (ERA15)
|
# class 3 is "er" which is 15 year re-analysis (ERA15)
|
||||||
# Only ERA15 has time and step
|
# Only ERA15 has time and step
|
||||||
if(class != 3) {
|
if(class != 3) {
|
||||||
|
|
|
@ -2,3 +2,8 @@
|
||||||
meta verificationDate g1verificationdate(dataDate, dataTime, endStep) : read_only;
|
meta verificationDate g1verificationdate(dataDate, dataTime, endStep) : read_only;
|
||||||
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
||||||
alias mars.date = monthlyVerificationDate;
|
alias mars.date = monthlyVerificationDate;
|
||||||
|
|
||||||
|
meta verificationYear evaluate(verificationDate/10000);
|
||||||
|
meta monthlyVerificationYear evaluate(monthlyVerificationDate/10000);
|
||||||
|
meta verificationMonth evaluate( (verificationDate/100)%100 );
|
||||||
|
meta monthlyVerificationMonth evaluate( (monthlyVerificationDate/100)%100 );
|
||||||
|
|
|
@ -3,6 +3,10 @@ meta verificationDate g1verificationdate(dataDate, dataTime, endStep) :
|
||||||
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
||||||
alias mars.date = monthlyVerificationDate;
|
alias mars.date = monthlyVerificationDate;
|
||||||
|
|
||||||
|
meta verificationYear evaluate(verificationDate/10000);
|
||||||
|
meta monthlyVerificationYear evaluate(monthlyVerificationDate/10000);
|
||||||
|
meta verificationMonth evaluate( (verificationDate/100)%100 );
|
||||||
|
meta monthlyVerificationMonth evaluate( (monthlyVerificationDate/100)%100 );
|
||||||
#
|
#
|
||||||
# See GRIB-497, GRIB-766, GRIB-833
|
# See GRIB-497, GRIB-766, GRIB-833
|
||||||
#
|
#
|
||||||
|
|
|
@ -3,6 +3,11 @@ meta verificationDate g1verificationdate(dataDate, dataTime, endStep) :
|
||||||
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
||||||
alias mars.date = monthlyVerificationDate;
|
alias mars.date = monthlyVerificationDate;
|
||||||
|
|
||||||
|
meta verificationYear evaluate(verificationDate/10000);
|
||||||
|
meta monthlyVerificationYear evaluate(monthlyVerificationDate/10000);
|
||||||
|
meta verificationMonth evaluate( (verificationDate/100)%100 );
|
||||||
|
meta monthlyVerificationMonth evaluate( (monthlyVerificationDate/100)%100 );
|
||||||
|
|
||||||
# class e4
|
# class e4
|
||||||
# constant six = 6;
|
# constant six = 6;
|
||||||
alias mars.step = startStep;
|
alias mars.step = startStep;
|
||||||
|
|
|
@ -3,5 +3,10 @@ meta verificationDate g1verificationdate(dataDate, dataTime, endStep) : r
|
||||||
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
||||||
alias mars.date = monthlyVerificationDate;
|
alias mars.date = monthlyVerificationDate;
|
||||||
|
|
||||||
|
meta verificationYear evaluate(verificationDate/10000);
|
||||||
|
meta monthlyVerificationYear evaluate(monthlyVerificationDate/10000);
|
||||||
|
meta verificationMonth evaluate( (verificationDate/100)%100 );
|
||||||
|
meta monthlyVerificationMonth evaluate( (monthlyVerificationDate/100)%100 );
|
||||||
|
|
||||||
unalias mars.time;
|
unalias mars.time;
|
||||||
unalias mars.step;
|
unalias mars.step;
|
||||||
|
|
|
@ -4,6 +4,11 @@ meta verificationDate g1verificationdate(dataDate, dataTime, endStep) : r
|
||||||
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
||||||
alias mars.date = monthlyVerificationDate;
|
alias mars.date = monthlyVerificationDate;
|
||||||
|
|
||||||
|
meta verificationYear evaluate(verificationDate/10000);
|
||||||
|
meta monthlyVerificationYear evaluate(monthlyVerificationDate/10000);
|
||||||
|
meta verificationMonth evaluate( (verificationDate/100)%100 );
|
||||||
|
meta monthlyVerificationMonth evaluate( (monthlyVerificationDate/100)%100 );
|
||||||
|
|
||||||
# class 3 is "er" which is 15 year re-analysis (ERA15)
|
# class 3 is "er" which is 15 year re-analysis (ERA15)
|
||||||
# Only ERA15 has time and step
|
# Only ERA15 has time and step
|
||||||
if(class != 3) {
|
if(class != 3) {
|
||||||
|
|
|
@ -5,6 +5,11 @@ meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
||||||
alias mars.date = monthlyVerificationDate;
|
alias mars.date = monthlyVerificationDate;
|
||||||
alias mars.step = startStep;
|
alias mars.step = startStep;
|
||||||
|
|
||||||
|
meta verificationYear evaluate(verificationDate/10000);
|
||||||
|
meta monthlyVerificationYear evaluate(monthlyVerificationDate/10000);
|
||||||
|
meta verificationMonth evaluate( (verificationDate/100)%100 );
|
||||||
|
meta monthlyVerificationMonth evaluate( (monthlyVerificationDate/100)%100 );
|
||||||
|
|
||||||
# class 3 is "er" which is 15 year re-analysis (ERA15)
|
# class 3 is "er" which is 15 year re-analysis (ERA15)
|
||||||
# Only ERA15 has time and step
|
# Only ERA15 has time and step
|
||||||
if(class != 3) {
|
if(class != 3) {
|
||||||
|
|
|
@ -3,6 +3,11 @@ meta verificationDate g1verificationdate(dataDate, dataTime, endStep) :
|
||||||
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
||||||
alias mars.date = monthlyVerificationDate;
|
alias mars.date = monthlyVerificationDate;
|
||||||
|
|
||||||
|
meta verificationYear evaluate(verificationDate/10000);
|
||||||
|
meta monthlyVerificationYear evaluate(monthlyVerificationDate/10000);
|
||||||
|
meta verificationMonth evaluate( (verificationDate/100)%100 );
|
||||||
|
meta monthlyVerificationMonth evaluate( (monthlyVerificationDate/100)%100 );
|
||||||
|
|
||||||
#
|
#
|
||||||
# See GRIB-497, GRIB-766, GRIB-833
|
# See GRIB-497, GRIB-766, GRIB-833
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue