missions

Mission archive download and discovery utilities.

This module exposes mission-specific helpers for retrieving SPICE kernels, radio-science tracking files, and related ancillary data from supported mission archives.

This submodule contains mission-archive download and discovery utilities. The LoadPDS class is the main mission-data retrieval interface; mission specific support is implemented in the per-mission submodules listed above.

Classes

LoadPDS()

Mission data downloader for PDS and SPICE resources.

class LoadPDS[source]

Bases: _DownloadEngineMixin, _ParsingMixin, _MetaKernelMixin, MexMixin, JuiceMixin, MroMixin, CassiniMixin, GrailMixin, RosettaMixin

Mission data downloader for PDS and SPICE resources.

get_mission_files(input_mission, start_date=None, end_date=None, flyby_IDs=None, custom_output=None, all_meta_kernel_files=None, load_kernels=None, radio_observation_type=None, radio_science_file_type='odf')[source]

Description: This function downloads and organizes mission-specific data files (kernels, radio science files, and ancillary files) for a specified space mission. It supports downloading data for multiple missions such as Cassini, MEX, JUICE, MRO and ROSETTA. The function also allows for downloading files within a specific date range or for specific flybys (in the case of Cassini). It automatically creates the necessary folder structure for storing the downloaded data and loads the files into the SPICE kernel system.

Inputs:
  • input_mission (str): The name of the space mission for which to download the data. Valid values include:
    • ‘cassini’

    • ‘mex’

    • ‘juice’

    • ‘mro’

    • ‘ro’

  • start_date (datetime, optional): The start date for downloading data. If not provided, data is not filtered by date.

  • end_date (datetime, optional): The end date for downloading data (data from the end_date will be downloaded as well, meaning data from start_date <= date <= end_date).

    If not provided, data is not filtered by date.

  • flyby_IDs (list or str, optional): A list of flyby IDs (e.g., [‘T101’, ‘E303’]) for Cassini missions.

    It can also include special values like ‘ALL_TITAN’ or ‘ALL_ENCELADUS’ to download all flybys for Titan or Enceladus.

  • custom_output (str, optional): A custom path where the downloaded files will be stored. If not provided,

    the default folder structure is used based on the mission name.

  • radio_observation_type: (‘str’, optional): type of (mex) radio_observation_type (e.g. phobos gravity, commissioning, occultation, etc …)

  • radio_science_file_type (‘str’, optional): tnf or odf

Outputs:
  • (dict, dict, dict): A tuple containing:
    • all_kernel_files (dict): A dictionary where keys are kernel types (e.g., ‘ck’, ‘spk’) and values are lists of paths to the successfully loaded kernel files.

    • all_radio_science_files (dict): A dictionary where keys are radio science data types and values are lists of paths to the successfully loaded radio science files.

    • all_ancillary_files (dict): A dictionary where keys are ancillary data types and values are lists of paths to the successfully loaded ancillary files.