We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1da84e3 commit f399435Copy full SHA for f399435
astroquery/jplhorizons/core.py
@@ -1218,13 +1218,10 @@ def _location_to_params(loc_dict):
1218
}
1219
loc_dict["SITE_COORD"] = f"'{loc_dict['SITE_COORD']}'"
1220
return loc_dict
1221
-
+
1222
@staticmethod
1223
def _format_site_coords(coords):
1224
# formats lon/lat/elevation/body (e.g., id and location dictionaries) for the Horizons API
1225
- ",".join(
1226
- str(coords[k].to_value()) for k in ['lon', 'lat', 'elevation']
1227
- )
1228
return (f"{coords['lon'].to_value('deg')},{coords['lat'].to_value('deg')},"
1229
f"{coords['elevation'].to_value('km')}@{coords['body']}")
1230
0 commit comments