liger_iris_drp_resources.model_spectra

Functions

download_model_spectra([output_dir, ...])

Download Model spectra from a Google Drive folder.

get_model_spectra_dir()

download_model_spectra(output_dir: str | None = None, skip_if_exists: bool = True) str[source]

Download Model spectra from a Google Drive folder.

Parameters:
  • output_dir (str | None) – The directory to download the files to. If None, a default directory will be used.

  • skip_if_exists (bool) – If True, skip downloading if the output directory already exists and is not empty. Default is True.

Returns:

model_spectra_dir (str) – The path to the downloaded files.

get_model_spectra_dir() str[source]