nanograv / PINT

PINT is not TEMPO3 -- Software for high-precision pulsar timing
Other
120 stars 101 forks source link

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

Open QYQSDTC opened 2 months ago

QYQSDTC commented 2 months ago

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 commented 2 months ago

@dlakaplan does #1831 fix this issue?

dlakaplan commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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.