Commit 98e563d9 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Init iscan and jscan.

parent b9ace57e
......@@ -572,7 +572,7 @@ void gribapiGetGrid(grib_handle *gh, grid_t *grid)
if ( gridtype == GRID_LONLAT && nlat > 1 )
FAIL_ON_GRIB_ERROR(grib_get_double, gh, "jDirectionIncrementInDegrees", &grid->y.inc);
long iscan, jscan;
long iscan = 0, jscan = 0;
FAIL_ON_GRIB_ERROR(grib_get_long, gh, "iScansNegatively", &iscan);
FAIL_ON_GRIB_ERROR(grib_get_long, gh, "jScansPositively", &jscan);
if ( iscan ) grid->x.inc = - grid->x.inc;
......
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