ECC-1230: Conversion of param=tp to edition=2 loses ensemble number

This commit is contained in:
Shahram Najm 2021-04-08 15:25:45 +01:00
parent fd549250dc
commit 831d4fadc0
1 changed files with 6 additions and 1 deletions

View File

@ -319,7 +319,12 @@ alias time.stepType=stepType;
# ECC-457: GRIB1 to GRIB2 conversion
concept_nofail stepTypeForConversion (unknown, "stepTypeForConversion.def", conceptsDir2, conceptsDir1);
if (stepTypeForConversion is "accum" ) {
alias productDefinitionTemplateNumber=eight;
if (productDefinitionTemplateNumber == 1) {
alias productDefinitionTemplateNumber=eleven;
}
else {
alias productDefinitionTemplateNumber=eight;
}
}
meta md5Section1 md5(offsetSection1,section1Length);