Add debug message for grib_set_missing

This commit is contained in:
Shahram Najm 2016-01-05 13:38:16 +00:00
parent 66f286322b
commit 7ee08ede27
1 changed files with 2 additions and 0 deletions

View File

@ -515,6 +515,8 @@ int grib_set_missing(grib_handle* h, const char* name)
return GRIB_READ_ONLY;
if(a->flags & GRIB_ACCESSOR_FLAG_CAN_BE_MISSING) {
if (h->context->debug) printf("ECCODES DEBUG grib_set_missing %s\n",name);
ret=grib_pack_missing(a);
if(ret == GRIB_SUCCESS)
return grib_dependency_notify_change(a);