-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ECC-2010: GRIB2: activate the use of model in the mars namespace for …
…class=AI and ML
- Loading branch information
Showing
6 changed files
with
35 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
# (C) Copyright 2005- ECMWF. | ||
|
||
# See ECC-1846 | ||
# This is only read when centre=ecmf, so can remove if statement that was here | ||
# This is ecmf local so we shouldn't use MasterDir. Instead we look for pseudocentre (conceptsDir2) then centre (conceptsLocalDirAll) | ||
# This is only read when centre=ecmf, so can remove if statement that was here | ||
# This is ecmf local so we shouldnt use MasterDir. Instead we look for pseudocentre (conceptsDir2) then centre (conceptsLocalDirAll) | ||
|
||
concept modelName(unknown, "modelNameConcept.def", conceptsDir2, conceptsLocalDirAll): no_copy, dump, read_only; | ||
|
||
if (modelName isnot "unknown") { | ||
concept modelVersion(unknown, "modelVersionConcept.[modelName].def", conceptsDir2, conceptsLocalDirAll): no_copy, dump, read_only; | ||
# alias ls.model = modelName; | ||
# alias mars.model = modelName; | ||
if ( defined(marsClass) && (marsClass is "ai" || marsClass is "ml") ) { | ||
alias ls.model = modelName; | ||
alias mars.model = modelName; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
'IFS' = { | ||
backgroundProcess = 255; | ||
} | ||
'AIFS' = { | ||
'aifs-single-mse' = { | ||
backgroundProcess = 1; | ||
} | ||
'aifs-ens-crps' = { | ||
backgroundProcess = 2; | ||
} | ||
'aifs-ens-diff' = { | ||
backgroundProcess = 3; | ||
} |
2 changes: 2 additions & 0 deletions
2
definitions/grib2/localConcepts/ecmf/modelVersionConcept.aifs-ens-crps.def
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
'v1' = { generatingProcessIdentifier = 1; } | ||
'v2' = { generatingProcessIdentifier = 2; } |
2 changes: 2 additions & 0 deletions
2
definitions/grib2/localConcepts/ecmf/modelVersionConcept.aifs-ens-diff.def
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
'v1' = { generatingProcessIdentifier = 1; } | ||
'v2' = { generatingProcessIdentifier = 2; } |
2 changes: 2 additions & 0 deletions
2
definitions/grib2/localConcepts/ecmf/modelVersionConcept.aifs-single-mse.def
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
'v1' = { generatingProcessIdentifier = 1; } | ||
'v2' = { generatingProcessIdentifier = 2; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters