From c7374ce82c5e445b99914ff8ca32ad7b2e16d2fd Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 29 Jan 2024 18:57:43 +0000 Subject: [PATCH] Function rename --- src/eccodes_prototypes.h | 2 +- src/grib_accessor_class_data_ccsds_packing.cc | 2 +- src/grib_accessor_class_data_simple_packing.cc | 2 +- src/grib_util.cc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/eccodes_prototypes.h b/src/eccodes_prototypes.h index c8a12553b..9041e2bc2 100644 --- a/src/eccodes_prototypes.h +++ b/src/eccodes_prototypes.h @@ -1351,7 +1351,7 @@ int grib2_is_PDTN_AerosolOptical(long productDefinitionTemplateNumber); int grib2_select_PDTN(int is_eps, int is_instant, int is_chemical, int is_chemical_srcsink, int is_chemical_distfn, int is_aerosol, int is_aerosol_optical); size_t sum_of_pl_array(const long* pl, size_t plsize); int grib_is_earth_oblate(grib_handle* h); -int grib_check_data_values_range(grib_handle* h, const double min_val, const double max_val); +int grib_check_data_values_minmax(grib_handle* h, const double min_val, const double max_val); int grib_producing_large_constant_fields(grib_handle* h, int edition); int grib_util_grib_data_quality_check(grib_handle* h, double min_val, double max_val); diff --git a/src/grib_accessor_class_data_ccsds_packing.cc b/src/grib_accessor_class_data_ccsds_packing.cc index 06f9317b7..f5c31d74f 100644 --- a/src/grib_accessor_class_data_ccsds_packing.cc +++ b/src/grib_accessor_class_data_ccsds_packing.cc @@ -274,7 +274,7 @@ 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) { + if ((err = grib_check_data_values_minmax(hand, min, max)) != GRIB_SUCCESS) { return err; } diff --git a/src/grib_accessor_class_data_simple_packing.cc b/src/grib_accessor_class_data_simple_packing.cc index 92d9394ce..0d44acd7f 100644 --- a/src/grib_accessor_class_data_simple_packing.cc +++ b/src/grib_accessor_class_data_simple_packing.cc @@ -632,7 +632,7 @@ 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(gh, min, max)) != GRIB_SUCCESS) { + if ((err = grib_check_data_values_minmax(gh, min, max)) != GRIB_SUCCESS) { return err; } diff --git a/src/grib_util.cc b/src/grib_util.cc index e5f507a73..e09bc7a27 100644 --- a/src/grib_util.cc +++ b/src/grib_util.cc @@ -2055,7 +2055,7 @@ int grib_is_earth_oblate(grib_handle* h) return 0; } -int grib_check_data_values_range(grib_handle* h, const double min_val, const double max_val) +int grib_check_data_values_minmax(grib_handle* h, const double min_val, const double max_val) { int result = GRIB_SUCCESS; grib_context* ctx = h->context;