chemId/paramId split: Use constant for paramType (instead of transient)

This commit is contained in:
shahramn 2024-06-14 15:25:20 +01:00
parent 9d1f1f893c
commit e2757c8754
6 changed files with 15 additions and 15 deletions

View File

@ -119,9 +119,9 @@ else {
if (paramId >= 140000 && paramId < 141000 &&
productDefinitionTemplateNumber != 99 && productDefinitionTemplateNumber != 100 &&
productDefinitionTemplateNumber != 101 && productDefinitionTemplateNumber != 102) {
transient paramType="wave";
unalias mars.paramtype ;
alias mars.paramtype = paramType ;
constant paramType="wave";
unalias mars.paramtype;
alias mars.paramtype = paramType;
}
meta md5Section4 md5(offsetSection4,section4Length);

View File

@ -1,8 +1,8 @@
# (C) Copyright 2005- ECMWF.
transient paramType="chemical";
unalias mars.paramtype ;
alias mars.paramtype = paramType ;
constant paramType="chemical";
unalias mars.paramtype;
alias mars.paramtype = paramType;
# Atmospheric chemical or physical constituent type
codetable[2] constituentType ('4.230.table',masterDir,localDir) : dump;

View File

@ -41,5 +41,5 @@ alias tile.nTileAtt=nTileAtt;
alias mars.tile=typeOfTile;
alias mars.tileAttribute=tileAttribute;
transient paramType = "tile";
constant paramType = "tile";
alias mars.paramtype=paramType;

View File

@ -1,7 +1,7 @@
# (C) Copyright 2005- ECMWF.
transient paramType = "base";
alias mars.paramtype = paramType ;
constant paramType = "base";
alias mars.paramtype = paramType;
# Parameter category
codetable[1] parameterCategory ('4.1.[discipline:l].table',masterDir,localDir) : dump;

View File

@ -26,6 +26,6 @@ listOfWaveFrequencySequenceParameters list(numberOfWaveFrequencySequenceParamete
signed[4] scaledValueOfWaveFrequencySequenceParameter : dump;
}
transient paramType="wave_spectra";
unalias mars.paramtype ;
alias mars.paramtype = paramType ;
constant paramType="wave_spectra";
unalias mars.paramtype;
alias mars.paramtype = paramType;

View File

@ -18,6 +18,6 @@ alias frequencyScalingFactor = integerScalingFactorAppliedToFrequencies;
unsigned[4] scaledValuesOfWaveFrequencies[numberOfWaveFrequencies] : dump;
alias scaledFrequencies = scaledValuesOfWaveFrequencies;
transient paramType="wave_spectra";
unalias mars.paramtype ;
alias mars.paramtype = paramType ;
constant paramType="wave_spectra";
unalias mars.paramtype;
alias mars.paramtype = paramType;