-
Notifications
You must be signed in to change notification settings - Fork 1
spice_wget_files
This routine mirrors SPICE FITS files either from Oslo or Paris. Files are written to either a "level1" or "level2" subdirectory of the $SPICE_DATA directory. Below each directory, the files are organized by date, e.g. "level2/2021/10/20". Files no longer on the server are removed from the local copy.
If the environment variable SPICE_PWD is set, then the files are mirrored from Oslo. All SPICE FITS files are avaible from this server. The spice_catalog.txt and spice_catalog.csv files are also mirrored.
If the environment variable SPICE_PWD is not set, then the routine mirrors SPICE FITS files from the University Paris-Saclay, where the publicly available files reside. Note that not all SPICE FITS files are publicly available. The catalog.csv is also mirrored.
spice_wget_files [, subpath] [, level=level]
Subdirectory path to mirror. If not passed, the entire directory tree is mirrored. Possible formats are:
- Day : '2021/10/20'
- Month: '2021/10'
- Year : '2021'
Data level, either 1, 2 or 3. Default=2.
Location of top of SPICE data tree. Below this are the "level*" directories.
Password for the SPICE website.
The environment variable SPICE_DATA is required.
The environment variable SPICE_PWD is required to mirror the files
from Oslo and thus get access to the complete set of SPICE FITS files.