Merge pull request #211 from ecmwf/feature/ECC-1821-add-mars-directives-in-grib.mmsf.an.def-for-cerise-dataset

ECC-1821: Add mars directives in grib.mmsf.an.def for cerise dataset
This commit is contained in:
shahramn 2024-05-15 16:20:06 +01:00 committed by GitHub
commit a299e60868
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
#no step in type an
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; }
alias mars.number = perturbationNumber;
alias mars.method = methodNumber;
if (!(class is "gw")) { # ECC-1448
alias mars.origin = centre;
}
# 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; }