Enable data quality checks
@@ -381,6 +381,10 @@ static int pack_double(grib_accessor* a, const double* val, size_t* len)
else if (val[i] < min) min = val[i];
}
+ if ((err = grib_check_data_values_range(hand, min, max)) != GRIB_SUCCESS) {
+ return err;
+ }
+
if (min == max) {
is_constant_field = 1;
} else {
