ECC-1846: All tests pass now

This commit is contained in:
shahramn 2024-06-21 12:07:38 +01:00
parent 2efe189895
commit 1609e68f54
1 changed files with 5 additions and 7 deletions

View File

@ -1,14 +1,12 @@
# (C) Copyright 2005- ECMWF. # (C) Copyright 2005- ECMWF.
constant modelNameDefault = "unknown"; # See ECC-1846
constant modelVersionDefault = "unknown";
if (centre is "ecmf" or datasetForLocal is "era6") { if (centre is "ecmf" or datasetForLocal is "era6") {
concept_nofail modelName (modelNameDefault, "modelNameConcept.def",conceptsMasterDir,conceptsLocalDirAll): no_copy, dump; concept_nofail modelName (unknown, "modelNameConcept.def",conceptsMasterDir,conceptsLocalDirAll): no_copy, dump;
if (!(modelName is "unknown")) { if (!(modelName is "unknown")) {
concept_nofail modelVersion (modelVersionDefault, "modelVersionConcept_[modelName].def",conceptsMasterDir,conceptsLocalDirAll): no_copy, dump; concept_nofail modelVersion (unknown, "modelVersionConcept_[modelName].def",conceptsMasterDir,conceptsLocalDirAll): no_copy, dump;
alias ls.model = modelName; # alias ls.model = modelName;
alias mars.model = modelName; # alias mars.model = modelName;
} }
} }