From d34b870a595ea0b87a57ea559b3f8fcf3445c0c5 Mon Sep 17 00:00:00 2001 From: Sebastien Villaume Date: Wed, 15 May 2024 11:45:23 +0100 Subject: [PATCH] ECC-1821 adding configurations for mmsf/an --- definitions/mars/grib.mmsf.an.def | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 definitions/mars/grib.mmsf.an.def diff --git a/definitions/mars/grib.mmsf.an.def b/definitions/mars/grib.mmsf.an.def new file mode 100644 index 000000000..c002f9d76 --- /dev/null +++ b/definitions/mars/grib.mmsf.an.def @@ -0,0 +1,26 @@ +if (levtype is "o2d" || levtype is "o3d") { + alias mars.step = stepRange; +} else { + alias mars.step = endStep; +} + +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; } +