mirror of https://github.com/ecmwf/eccodes.git
ECC-1846: Make loading modelNameConcept.def optional
This commit is contained in:
parent
8671271569
commit
4b2d795f8f
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue