rename radius to earth_radius

catch generic error corresponding to bindings