bskLargeData

bskLargeData.download_file(url, destination_path)[source]

Download a file from a URL with a progress bar.

bskLargeData.main()[source]

Large BSK data files are downloaded directly from their web server and are then installed in the local Basilisk python package. For example, if using a python 3.11 virtual environment, the Spice *.bsp files will be stored in:

.../.venv/lib/python3.11/site-packages/Basilisk/supportData/EphemerisData

This function is useful if Basilisk is installed via a wheel which does not contain these large BSK data file to keep the wheel file size reasonable. Calling this python file allows these files to be installed in an automated manner.

If internet access is not available, these large BSK data files can be included in the above python package installation directly as well.