empyrean.download_data

download_data(*, data_dir=None)[source]

Download all required SPICE kernel files.

Downloads to the OS-appropriate XDG data directory by default (see default_data_dir()). Skips files that are already present and up-to-date.

Parameters:

data_dir (str | Path | None) – Target directory. Defaults to the value returned by default_data_dir() (honors EMPYREAN_DATA_DIR).

Return type:

str

Returns:

str – Path to the data directory.