From c1f9726e832a5fb1b7e4e4cd01a72d340584b03a Mon Sep 17 00:00:00 2001 From: Sebastien Villaume Date: Thu, 20 Jun 2024 12:48:10 +0000 Subject: [PATCH] work on modelName and modelVersion --- definitions/grib2/local/ecmf/section4_extras.def | 11 ++++++----- .../grib2/localConcepts/ecmf/modelNameConcept.def | 3 --- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/definitions/grib2/local/ecmf/section4_extras.def b/definitions/grib2/local/ecmf/section4_extras.def index 18f8c8f04..2211aa216 100644 --- a/definitions/grib2/local/ecmf/section4_extras.def +++ b/definitions/grib2/local/ecmf/section4_extras.def @@ -1,8 +1,9 @@ # (C) Copyright 2005- ECMWF. -#concept modelName ("unknown", "modelNameConcept.def",conceptsDir2,conceptsDir1): no_copy, dump; +concept modelName ("unknown", "modelNameConcept.def",conceptsDir2,conceptsDir1): no_copy, dump; -#if (!(modelName is "unknown")) { -# concept modelVersion ("unknown", "modelVersionConcept.[modelName].def",conceptsDir2,conceptsDir1): no_copy, dump; -# alias mars.model = modelName; -#} +if (!(modelName is "unknown")) { + concept modelVersion ("unknown", "modelVersionConcept_[modelName].def",conceptsDir2,conceptsDir1): no_copy, dump; + alias ls.model = modelName; + alias mars.model = modelName; +} diff --git a/definitions/grib2/localConcepts/ecmf/modelNameConcept.def b/definitions/grib2/localConcepts/ecmf/modelNameConcept.def index 6deecd5ec..55b261707 100644 --- a/definitions/grib2/localConcepts/ecmf/modelNameConcept.def +++ b/definitions/grib2/localConcepts/ecmf/modelNameConcept.def @@ -1,8 +1,5 @@ 'IFS' = { backgroundProcess = 255; } -'IFS' = { - backgroundProcess = 255; -} 'AIFS' = { backgroundProcess = 1;