Fix comments

This commit is contained in:
Shahram Najm 2020-06-20 13:59:23 +01:00
parent 70a616ba08
commit 8fe5635d9d
1 changed files with 2 additions and 2 deletions

View File

@ -291,8 +291,8 @@ int grib_nearest_find_generic(
return ret;
nearest->values_count = nvalues;
// We need the radius to calculate the nearest distance. For an oblate earth
// approximate this using the average of the semimajor and semiminor axes
/* We need the radius to calculate the nearest distance. For an oblate earth
approximate this using the average of the semimajor and semiminor axes */
if ((ret = grib_get_double(h, radius_keyname, &radiusInMetres)) == GRIB_SUCCESS &&
!grib_is_missing(h, radius_keyname, &ret)) {
radiusInKm = radiusInMetres/1000.0;