mirror of https://github.com/ecmwf/eccodes.git
20 lines
718 B
Modula-2
20 lines
718 B
Modula-2
# assert(local=1)
|
|
|
|
meta verificationDate g1verificationdate(dataDate, dataTime, endStep) : read_only;
|
|
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
|
|
alias mars.date = monthlyVerificationDate;
|
|
|
|
alias monthlyVerificationTime = zero;
|
|
|
|
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)
|
|
# Only ERA15 has time and step
|
|
if(class != 3) {
|
|
unalias mars.time;
|
|
unalias mars.step;
|
|
}
|