mirror of https://github.com/ecmwf/eccodes.git
paramType wave for all parameters in 140xxx paramId range as some of them have discipline 0
This commit is contained in:
parent
516fc47952
commit
1950e15554
|
@ -113,4 +113,13 @@ else {
|
|||
}
|
||||
}
|
||||
|
||||
## discipline = 10, parameterCategory = 0 are WMO wave parameters !
|
||||
#if (discipline == 10 && parameterCategory == 0) {
|
||||
## paramIds 140xxx are for wave parameters, exception for wave spectra templates
|
||||
if (paramId >= 140000 && paramId < 141000 && productDefinitionTemplateNumber != 99 && productDefinitionTemplateNumber != 100 && productDefinitionTemplateNumber != 101 && productDefinitionTemplateNumber != 102){
|
||||
transient paramType="wave";
|
||||
unalias mars.paramtype ;
|
||||
alias mars.paramtype = paramType ;
|
||||
}
|
||||
|
||||
meta md5Section4 md5(offsetSection4,section4Length);
|
||||
|
|
|
@ -10,10 +10,3 @@ codetable[1] parameterCategory ('4.1.[discipline:l].table',masterDir,localDir) :
|
|||
codetable[1] parameterNumber ('4.2.[discipline:l].[parameterCategory:l].table',masterDir,localDir) : dump;
|
||||
meta parameterUnits codetable_units(parameterNumber) : dump;
|
||||
meta parameterName codetable_title(parameterNumber) : dump;
|
||||
|
||||
# discipline = 10, parameterCategory = 0 are WMO wave parameters !
|
||||
if (discipline == 10 && parameterCategory == 0) {
|
||||
transient paramType="wave";
|
||||
unalias mars.paramtype ;
|
||||
alias mars.paramtype = paramType ;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue