Function rename

This commit is contained in:
Shahram Najm 2024-01-29 18:57:43 +00:00
parent 73c79afd02
commit c7374ce82c
4 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;