hannorein / rebound

💫 An open-source multi-purpose N-body code.
https://rebound.readthedocs.io/
GNU General Public License v3.0
824 stars 218 forks source link

Question on NASA Horizons #623

Closed Shellyneko closed 1 year ago

Shellyneko commented 1 year ago

Hello, I am trying to import data about Sun and planets in the solar system by the NASA Horizons in the examples.But I failed to derive the data and there are some errors as below: a b c d e f g h What should I do to solve the problem? thanks.

hannorein commented 1 year ago

This works for me. I suspect this was either a temporary issue with the NASA servers, or a connection issue on your end. Can you access the API directly, e.g.: https://ssd.jpl.nasa.gov/api/horizons.api?format=text&COMMAND=%27499%27&OBJ_DATA=%27YES%27&MAKE_EPHEM=%27YES%27&EPHEM_TYPE=%27OBSERVER%27&CENTER=%27500@399%27&START_TIME=%272006-01-01%27&STOP_TIME=%272006-01-20%27&STEP_SIZE=%271%20d%27&QUANTITIES=%271,9,20,23,24,29

Shellyneko commented 1 year ago

I am not able to connect the website.So what should I do now?

danielk333 commented 1 year ago

I'm able to connect so this seems to be an internet connectivity issue on your side. Are you sure your local router/firewall is not blocking the traffic? (If you are at a Uni or similar, I would probably ask your local network admin)

hannorein commented 1 year ago

I agree with @danielk333. This is most likely an issue with the internet connection on your side.

hannorein commented 1 year ago

I'm closing this for now because I think this is not a rebound issue but rather something related to your network. Feel free to reopen if you think otherwise and the problem persists.