mirror of https://github.com/ecmwf/eccodes.git
Fix comments
This commit is contained in:
parent
70a616ba08
commit
8fe5635d9d
|
@ -291,8 +291,8 @@ int grib_nearest_find_generic(
|
||||||
return ret;
|
return ret;
|
||||||
nearest->values_count = nvalues;
|
nearest->values_count = nvalues;
|
||||||
|
|
||||||
// We need the radius to calculate the nearest distance. For an oblate earth
|
/* We need the radius to calculate the nearest distance. For an oblate earth
|
||||||
// approximate this using the average of the semimajor and semiminor axes
|
approximate this using the average of the semimajor and semiminor axes */
|
||||||
if ((ret = grib_get_double(h, radius_keyname, &radiusInMetres)) == GRIB_SUCCESS &&
|
if ((ret = grib_get_double(h, radius_keyname, &radiusInMetres)) == GRIB_SUCCESS &&
|
||||||
!grib_is_missing(h, radius_keyname, &ret)) {
|
!grib_is_missing(h, radius_keyname, &ret)) {
|
||||||
radiusInKm = radiusInMetres/1000.0;
|
radiusInKm = radiusInMetres/1000.0;
|
||||||
|
|
Loading…
Reference in New Issue