aidapy.data.mission.base_mission module

This module serves as base for all the mission data manager

Author : Romain Dupuis

class aidapy.data.mission.base_mission.BaseMission(t_start, t_end)[source]

Bases: object

Base format for the data downloaded from missions

Parameters
  • t_start (datetime object) – It gives the time at which we started to look at the data

  • t_end (datetime object) – It gives the time at which we finished looking at the data

static convert_time(time, format_out)[source]

Convert time to an accepted astropy time format

Parameters
  • time (datetime or astropy.time instance) – Time object we want to convert

  • format_out (str) – Indicates what is the format output. Must be a format accepted by astropy

download_data(data_types, probes, coords, mode, frame)[source]

Download data

get_mission_info()[source]

Provide information on the mission

Returns

info – Dictionary with information on the mission with the following keys - name: - allowed_probes: - product_catalog:

Return type

dict

static parse_units(xarray_obj)[source]

Convert unit at the dim level to unit at coord level

set_coords(coords)[source]

Set the coordinates

set_frame(frame)[source]

Set the frame only for spacecraft attitude

set_mode(mode)[source]

Set the instrument mode

abstract set_observation(obs_settings)[source]

Abstract method to set the different parameters of the mission

set_probe(probe)[source]

Set the current working probe

set_probes(probes)[source]

Set the probes

set_product_catalog()[source]

Docstring