mirror of https://github.com/ecmwf/eccodes.git
extended grib1 section 1 for min/max stepTypeForConversion
This commit is contained in:
parent
5af33b3ef6
commit
83fe7591e5
|
@ -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,...);
|
||||
|
|
Loading…
Reference in New Issue