From b2168380a93451b5fd9cb8865e9aaf67461ed70b Mon Sep 17 00:00:00 2001 From: shahramn Date: Thu, 19 Sep 2024 13:37:57 +0100 Subject: [PATCH] Data quality checks comments --- src/grib_context.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/grib_context.cc b/src/grib_context.cc index 25d23586d..d7dc37f24 100644 --- a/src/grib_context.cc +++ b/src/grib_context.cc @@ -244,6 +244,7 @@ void grib_context_set_print_proc(grib_context* c, grib_print_proc p) void grib_context_set_data_quality_checks(grib_context* c, int val) { c = c ? c : grib_context_get_default(); + // If val == 0, disable data quality checks // If val == 1, failure results in an error // If val == 2, failure results in a warning Assert(val == 0 || val == 1 || val == 2);