Skip to content

Commit

Permalink
Update iod_functions.py
Browse files Browse the repository at this point in the history
Fix variable typo in pl_horizons_sun_position function
  • Loading branch information
joebro1907 authored Sep 4, 2024
1 parent 7c8190a commit c3edb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iod_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def jpl_horizons_sun_position(epochs):
the corresponding n epochs.
"""

query_epochs = "\n".join([str(epochs.jd) for epoch in epochs])
query_epochs = "\n".join([str(epoch.jd) for epoch in epochs])
# Request parameters
request_dict = {'format' : 'text',
'EPHEM_TYPE' : 'VECTOR',
Expand Down

0 comments on commit c3edb6e

Please sign in to comment.