Commit 524c74c0 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

stream_gribapi.c::gribapiScanTimestep: changed GRIBAPI_MISSVAL to cdiDefaultMissval

parent 1fe2b3dd
......@@ -3,6 +3,10 @@
* Version 1.5.8 released
* using CGRIBEX library version 1.5.5
2012-10-26 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* stream_gribapi.c::gribapiScanTimestep: changed GRIBAPI_MISSVAL to cdiDefaultMissval
2012-10-18 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* vlistCopyFlag: copy ensdata (bug fix) [report: Jaison Ambadan]
......
......@@ -29,7 +29,7 @@ typedef struct {
int level1;
int level2;
int ltype;
} compvar2_t;
} compvar2_t;
#if defined (HAVE_LIBGRIB_API)
......@@ -998,7 +998,7 @@ int gribapiScanTimestep1(int streamID)
}
gh = grib_handle_new_from_message(NULL, (void *) gribbuffer, recsize);
GRIB_CHECK(grib_set_double(gh, "missingValue", GRIBAPI_MISSVAL), 0);
GRIB_CHECK(grib_set_double(gh, "missingValue", cdiDefaultMissval), 0);
GRIB_CHECK(grib_get_long(gh, "editionNumber", &editionNumber), 0);
......@@ -1322,7 +1322,7 @@ int gribapiScanTimestep2(int streamID)
}
gh = grib_handle_new_from_message(NULL, (void *) gribbuffer, recsize);
GRIB_CHECK(grib_set_double(gh, "missingValue", GRIBAPI_MISSVAL), 0);
GRIB_CHECK(grib_set_double(gh, "missingValue", cdiDefaultMissval), 0);
GRIB_CHECK(grib_get_long(gh, "editionNumber", &editionNumber), 0);
......@@ -1630,7 +1630,7 @@ int gribapiScanTimestep(int streamID)
}
gh = grib_handle_new_from_message(NULL, (void *) gribbuffer, recsize);
GRIB_CHECK(grib_set_double(gh, "missingValue", GRIBAPI_MISSVAL), 0);
GRIB_CHECK(grib_set_double(gh, "missingValue", cdiDefaultMissval), 0);
GRIB_CHECK(grib_get_long(gh, "editionNumber", &editionNumber), 0);
......
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