Commit 36dd2dd8 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

gribapiDefLevelType: check for GRIB1_LTYPE_ISOBARIC_PA.

parent c2ef4cff
......@@ -2258,7 +2258,7 @@ static
void gribapiDefLevelType(grib_handle *gh, int gcinit, const char *keyname, long leveltype)
{
bool lset = false;
if ( (leveltype == 99 || leveltype == 100) && gribEditionNumber(gh) == 1 )
if ( (leveltype == GRIB1_LTYPE_ISOBARIC_PA || leveltype == 99 || leveltype == 100) && gribEditionNumber(gh) == 1 )
{
if ( gribGetLong(gh, "indicatorOfTypeOfLevel") != leveltype ) lset = true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment