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

PINT will crash if it can not download the ephems from internet #1829

Open
QYQSDTC opened this issue Aug 20, 2024 · 4 comments
Open

PINT will crash if it can not download the ephems from internet #1829

QYQSDTC opened this issue Aug 20, 2024 · 4 comments

Comments

@QYQSDTC
Copy link

QYQSDTC commented Aug 20, 2024

What's the PINT search path for ephems? It can not run if the required ephem is missing and it can not get it online. I have the ephem.bsp file, but I don't know where to put it.
image

@abhisrkckl
Copy link
Contributor

@dlakaplan does #1831 fix this issue?

@dlakaplan
Copy link
Contributor

Sorry for the delay, but I think this has now been addressed. See documentation at:
https://nanograv-pint.readthedocs.io/en/latest/explanation.html#id10

Please let us know if this solves your issue.

@QYQSDTC
Copy link
Author

QYQSDTC commented Aug 30, 2024

I tried to copy the download folder which is in the $HOME/.astropy/cache folder to the remote machine which can not access the mirrors to download the required ephems, but it still tries to download the ephems and gives the same error.

@dlakaplan
Copy link
Contributor

The astropy cache folder does not have interpretable versions of the needed files. Rather, find which ever ephemeris you want online (e.g., https://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/) and download the BSP file to some local path. Then load that with the command in the link above. Hopefully that will work.

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