Commit 90dc2222 authored by Uwe Schulzweida's avatar Uwe Schulzweida

grib_set_long: switch of status check for indicatorOfUnitForTimeRange.

parent 0e48859b
......@@ -1707,7 +1707,7 @@ void gribapiDefStepUnits(int editionNumber, grib_handle *gh, int timeunit, int p
}
else if ( grib2ProDefTempHasStatisticalDef(proDefTempNum) )
{
GRIB_CHECK(my_grib_set_long(gh, "indicatorOfUnitForTimeRange", unitsOfTime), 0);
grib_set_long(gh, "indicatorOfUnitForTimeRange", unitsOfTime);
GRIB_CHECK(my_grib_set_long(gh, "indicatorOfUnitOfTimeRange", unitsOfTime), 0);
}
else
......
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