mirror of https://github.com/ecmwf/eccodes.git
Formatting
This commit is contained in:
parent
8fe5635d9d
commit
c438c13c84
|
@ -296,7 +296,8 @@ int grib_nearest_find_generic(
|
||||||
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;
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
double minor = 0, major = 0;
|
double minor = 0, major = 0;
|
||||||
if ((ret = grib_get_double_internal(h, "earthMinorAxisInMetres", &minor)) != GRIB_SUCCESS) return ret;
|
if ((ret = grib_get_double_internal(h, "earthMinorAxisInMetres", &minor)) != GRIB_SUCCESS) return ret;
|
||||||
if ((ret = grib_get_double_internal(h, "earthMajorAxisInMetres", &major)) != GRIB_SUCCESS) return ret;
|
if ((ret = grib_get_double_internal(h, "earthMajorAxisInMetres", &major)) != GRIB_SUCCESS) return ret;
|
||||||
|
|
Loading…
Reference in New Issue