From 7ee08ede2733171935eebd72b027a37061b96a42 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Tue, 5 Jan 2016 13:38:16 +0000 Subject: [PATCH] Add debug message for grib_set_missing --- src/grib_value.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/grib_value.c b/src/grib_value.c index 346409d5e..784e5dd68 100644 --- a/src/grib_value.c +++ b/src/grib_value.c @@ -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);