Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HORIZONS api response in JSON format looks weird #203

Open
g0gan opened this issue Aug 3, 2023 · 2 comments
Open

HORIZONS api response in JSON format looks weird #203

g0gan opened this issue Aug 3, 2023 · 2 comments

Comments

@g0gan
Copy link

g0gan commented Aug 3, 2023

When i'm trying to use this GET request:

https://ssd.jpl.nasa.gov/api/horizons.api?format=json&COMMAND='499'&OBJ_DATA='YES'&MAKE_EPHEM='YES'&EPHEM_TYPE='OBSERVER'&CENTER='500@399'&START_TIME='2006-01-01'&STOP_TIME='2006-01-20'&STEP_SIZE='1%20d'&QUANTITIES='1,9,20,23,24,29'
resonse looks weird:
Postman_2IdRIfKF2x

Please, could you fix this issue?

@jumpjack
Copy link

it looks like JSON response is... fake: the JSON object actually just contains the plain text output...
It's not a bug, it's a missing feature: they should split the text output into "object data" and "ephemeris" and put them into separate objects, and possibly the lines of the output should be stored as an array of arrays rather than a plain list.

@TJKoury
Copy link

TJKoury commented Jan 18, 2024

Horizons has not created an updated schema / data model for this information, or a converter to take the old data and interpret it correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants