ECC-1846: Make loading modelNameConcept.def optional

This commit is contained in:
shahramn 2024-06-21 11:21:49 +01:00
parent 8671271569
commit 4b2d795f8f
1 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,7 @@
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;
if (!(modelName is "unknown")) {
@ -10,3 +11,4 @@ if (!(modelName is "unknown")) {
alias ls.model = modelName;
alias mars.model = modelName;
}
}