mirror of https://github.com/ecmwf/eccodes.git
22 lines
647 B
Modula-2
22 lines
647 B
Modula-2
# assert(16);
|
|
alias mars.fcmonth = marsForecastMonth;
|
|
alias mars.number = perturbationNumber;
|
|
alias mars.origin = centre;
|
|
alias mars.method = methodNumber;
|
|
|
|
unalias mars.step;
|
|
|
|
if (class is "od") { alias mars.system = systemNumber; }
|
|
if (class is "me") { alias mars.system = systemNumber; }
|
|
if (class is "en") { alias mars.system = systemNumber; }
|
|
if (class is "c3") { alias mars.system = systemNumber; }
|
|
if (class is "ci") { alias mars.system = systemNumber; }
|
|
|
|
# See ECC-624
|
|
if (centre == 80 && subCentre == 98 && class is "c3") {
|
|
constant cnmc_cmcc = 'cmcc';
|
|
alias mars.origin = cnmc_cmcc;
|
|
}
|
|
|
|
if (class is "ci") { unalias mars.method; }
|