extended grib1 section 1 for min/max stepTypeForConversion

This commit is contained in:
Robert Osinski 2024-03-08 09:38:59 +00:00
parent 5af33b3ef6
commit 83fe7591e5
1 changed files with 16 additions and 0 deletions

View File

@ -321,6 +321,22 @@ if (stepTypeForConversion is "accum" ) {
alias productDefinitionTemplateNumber=eight;
}
}
if (stepTypeForConversion is "max" ) {
if (productDefinitionTemplateNumber == 1) {
alias productDefinitionTemplateNumber=eleven;
}
else {
alias productDefinitionTemplateNumber=eight;
}
}
if (stepTypeForConversion is "min" ) {
if (productDefinitionTemplateNumber == 1) {
alias productDefinitionTemplateNumber=eleven;
}
else {
alias productDefinitionTemplateNumber=eight;
}
}
meta md5Section1 md5(offsetSection1,section1Length);
# md5(start,length,blacklisted1,blacklisted2,...);