Commit 41cf816b authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

ecCodes: deleteLocalDefinition for GRIB1.tmpl.

parent b1d27d3f
......@@ -4,6 +4,10 @@
* using EXSE library version 1.4.1
* Version 1.9.6 released
2019-01-26 Uwe Schulzweida
* ecCodes: deleteLocalDefinition for GRIB1.tmpl
2018-11-21 Uwe Schulzweida
* scanning of attribute associate* failed (bug fix)
......
......@@ -97,7 +97,8 @@ static inline void *gribHandleNew(int editionNumber)
grib_handle *gh = grib_handle_new_from_samples(NULL, (editionNumber == 1) ? "GRIB1" : "GRIB2");
if ( gh == NULL ) Error("grib_handle_new_from_samples failed!");
if ( editionNumber > 1 ) GRIB_CHECK(my_grib_set_long(gh, "numberOfValues", 0L), 0);
if ( editionNumber == 1 ) GRIB_CHECK(my_grib_set_long(gh, "deleteLocalDefinition", 1L), 0);
if ( editionNumber == 2 ) GRIB_CHECK(my_grib_set_long(gh, "numberOfValues", 0L), 0);
return gh;
}
......
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