GRIB-422: The MARS STEP key is incorrectly defined for stream=EDMM/EDMO and type=FC (part1)

This commit is contained in:
Shahram Najm 2013-08-29 16:41:40 +01:00
parent 03db509ea5
commit 67a92dcfd8
1 changed files with 13 additions and 1 deletions

View File

@ -5,6 +5,18 @@ alias mars.date = monthlyVerificationDate;
# class e4
# constant six = 6;
alias mars.step = endStep;
# There was some forecast data produced incorrectly for stream=edmm with class=em
# An exception is required for backward compatibility for the wrongly encoded data
# See GRIB-422
if (class is "em")
{
alias mars.step = endStep; # hack for backward compatibility
}
else
{
alias mars.step = startStep;
}
alias mars.number=perturbationNumber;