Skip to content

Commit

Permalink
ECC-1821 adding configurations for mmsf/an
Browse files Browse the repository at this point in the history
  • Loading branch information
sebvi committed May 15, 2024
1 parent 7382fb3 commit d34b870
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions definitions/mars/grib.mmsf.an.def
Original file line number Diff line number Diff line change
@@ -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; }

0 comments on commit d34b870

Please sign in to comment.