mirror of https://github.com/ecmwf/eccodes.git
ECC-1954: Fix the padding test
This commit is contained in:
parent
f9561ed7d4
commit
3365fb536e
|
@ -336,9 +336,9 @@ meta md5Product md5(offsetSection1,section1Length,gridDefinition,section1Flags,d
|
|||
concept_nofail paramIdForConversion(zero, "paramIdForConversion.def", conceptsDir2, conceptsDir1) : long_type,read_only;
|
||||
|
||||
# ECC-1954
|
||||
if (productDefinitionTemplateNumber == 0 && defined(perturbationNumber) && numberOfForecastsInEnsemble > 0) {
|
||||
if (productDefinitionTemplateNumber == 0 && defined(perturbationNumber) && defined(numberOfForecastsInEnsemble) && numberOfForecastsInEnsemble > 0) {
|
||||
alias productDefinitionTemplateNumber = one; # ensemble instant
|
||||
}
|
||||
if (productDefinitionTemplateNumber == 8 && defined(perturbationNumber) && numberOfForecastsInEnsemble > 0) {
|
||||
if (productDefinitionTemplateNumber == 8 && defined(perturbationNumber) && defined(numberOfForecastsInEnsemble) && numberOfForecastsInEnsemble > 0) {
|
||||
alias productDefinitionTemplateNumber = eleven; # ensemble interval
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue