Skip to content
Snippets Groups Projects
Commit 36dd2dd8 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

gribapiDefLevelType: check for GRIB1_LTYPE_ISOBARIC_PA.

parent c2ef4cff
No related branches found
No related tags found
No related merge requests found
...@@ -2258,7 +2258,7 @@ static ...@@ -2258,7 +2258,7 @@ static
void gribapiDefLevelType(grib_handle *gh, int gcinit, const char *keyname, long leveltype) void gribapiDefLevelType(grib_handle *gh, int gcinit, const char *keyname, long leveltype)
{ {
bool lset = false; 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; if ( gribGetLong(gh, "indicatorOfTypeOfLevel") != leveltype ) lset = true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment