ECC-1846 working on modelName and modelVersion

This commit is contained in:
Sebastien Villaume 2024-06-21 11:44:12 +01:00 committed by shahramn
parent d284535229
commit 2efe189895
3 changed files with 11 additions and 3 deletions

View File

@ -4,10 +4,10 @@ constant modelNameDefault = "unknown";
constant modelVersionDefault = "unknown";
if (centre is "ecmf" or datasetForLocal is "era6") {
concept_nofail modelName (modelNameDefault, "modelNameConcept.def",conceptsDir2,conceptsDir1): no_copy, dump;
concept_nofail modelName (modelNameDefault, "modelNameConcept.def",conceptsMasterDir,conceptsLocalDirAll): no_copy, dump;
if (!(modelName is "unknown")) {
concept_nofail modelVersion (modelVersionDefault, "modelVersionConcept_[modelName].def",conceptsDir2,conceptsDir1): no_copy, dump;
concept_nofail modelVersion (modelVersionDefault, "modelVersionConcept_[modelName].def",conceptsMasterDir,conceptsLocalDirAll): no_copy, dump;
alias ls.model = modelName;
alias mars.model = modelName;
}

View File

@ -1,2 +1,10 @@
'cy49r1' = { generatingProcessIdentifier = 155; }
'cy48r1' = { generatingProcessIdentifier = 154; }
'cy47r3' = { generatingProcessIdentifier = 153; }
'cy47r2' = { generatingProcessIdentifier = 152; }
'cy47r1' = { generatingProcessIdentifier = 151; }
'cy46r1' = { generatingProcessIdentifier = 150; }
'cy45r1' = { generatingProcessIdentifier = 149; }
'cy43r3' = { generatingProcessIdentifier = 148; }
'cy43r1' = { generatingProcessIdentifier = 147; }
'cy41r2' = { generatingProcessIdentifier = 146; }

View File

@ -79,7 +79,7 @@ template parameters "grib2/parameters.def";
#adding hook for local extras
template_nofail section4_extras "grib2/local/[centreForLocal]/section4_extras.def";
template_nofail section4_extras "grib2/local/[centre]/section4_extras.def";
# Detect if this is for Generalized vertical height coordinates
if (defined(typeOfFirstFixedSurface)) {