Cache#

Functions for downloading/clearing jorbit-related files from the Astropy cache.

jorbit.utils.cache.clear_jorbit_cache()[source]#

Clear the Astropy cache of jorbit-related files.

Return type:

None

jorbit.utils.cache.download_file_wrapper(url)[source]#

Check if a file is in the cache and not expired: if not, download it.

Parameters:

url (str) – The URL of the file to download.

Returns:

The path to the downloaded file.

Return type:

str

jorbit.utils.cache.view_jorbit_cache()[source]#

View the jorbit-related files in the Astropy cache.

Return type:

list