mirror of https://github.com/ecmwf/eccodes.git
chemId/paramId split: Use constant for paramType (instead of transient)
This commit is contained in:
parent
9d1f1f893c
commit
e2757c8754
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue