mirror of https://github.com/ecmwf/eccodes.git
ECC-1954: GRIB1 to GRIB2 conversion does not preserve ensemble product template
This commit is contained in:
parent
29f8220b77
commit
df2b452ff1
|
@ -334,3 +334,10 @@ meta md5Product md5(offsetSection1,section1Length,gridDefinition,section1Flags,d
|
|||
|
||||
# ECC-1806
|
||||
concept_nofail paramIdForConversion(zero, "paramIdForConversion.def", conceptsDir2, conceptsDir1) : long_type,read_only;
|
||||
|
||||
if (productDefinitionTemplateNumber == 0 && defined(perturbationNumber) && numberOfForecastsInEnsemble > 0) {
|
||||
alias productDefinitionTemplateNumber = one; # ensemble instant
|
||||
}
|
||||
if (productDefinitionTemplateNumber == 8 && defined(perturbationNumber) && numberOfForecastsInEnsemble > 0) {
|
||||
alias productDefinitionTemplateNumber = eleven; # ensemble interval
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue