Mars Atmosphere and Volatile Evolution (MAVEN)

The routines in this module can be used to load data from the Mars Atmosphere and Volatile Evolution (MAVEN) mission.

Magnetometer (MAG)

pyspedas.maven.mag(trange=['2016-01-01', '2016-01-02'], level='l2', datatype=None, varformat=None, get_support_data=False, auto_yes=True, downloadonly=False, varnames=[], spdf=False)[source]

Function to retrieve Magnetometer (MAG) data from the MAVEN mission.

Parameters:
  • trange (list, optional) – Time range of the data in the format [“start_date”, “end_date”]. Defaults to [“2016-01-01”, “2016-01-02”].

  • level (str, optional) – Data level to retrieve. Defaults to “l2”.

  • datatype (str, optional) – Data type to retrieve. Defaults to None.

  • varformat (str, optional) – Variable format. Defaults to None.

  • get_support_data (bool, optional) – Whether to retrieve support data. Defaults to False.

  • auto_yes (bool, optional) – Whether to automatically answer “yes” to prompts. Defaults to True.

  • downloadonly (bool, optional) – Whether to only download the data without loading it. Defaults to False.

  • varnames (list, optional) – List of variable names to load. Defaults to [].

  • spdf (bool, optional) – Flag indicating whether to use the SPDF library for loading data. Default is False.

Returns:

Dictionary of loaded data variables.

Return type:

dict

Example

import pyspedas
from pytplot import tplot
mag_vars = pyspedas.maven.mag(trange=['2014-10-18', '2014-10-19'])
tplot('OB_B')
_images/maven_mag.png

Solar Wind Electron Analyzer (SWEA)

pyspedas.maven.swea(trange=['2016-01-01', '2016-01-02'], level='l2', datatype='svyspec', varformat=None, get_support_data=False, auto_yes=True, downloadonly=False, varnames=[], spdf=False)[source]

Load MAVEN Solar Wind Electron Analyzer (SWEA) data.

Parameters:
  • trange (list, optional) – Time range of the data in the format [“start_date”, “end_date”]. Defaults to [“2016-01-01”, “2016-01-02”].

  • level (str, optional) – Data level. Defaults to “l2”.

  • datatype (str, optional) – Data type. Defaults to “svyspec”.

  • varformat (str, optional) – Variable format. Defaults to None.

  • get_support_data (bool, optional) – Whether to retrieve support data. Defaults to False.

  • auto_yes (bool, optional) – Whether to automatically answer “yes” to prompts. Defaults to True.

  • downloadonly (bool, optional) – Whether to only download the data without loading it. Defaults to False.

  • varnames (list, optional) – List of variable names to load. Defaults to [].

  • spdf (bool, optional) – Whether to use the SPDF library for data loading. Defaults to False.

Returns:

Dictionary of loaded data variables.

Return type:

dict

Example

import pyspedas
from pytplot import tplot
swe_vars = pyspedas.maven.swea(trange=['2014-10-18', '2014-10-19'])
tplot('diff_en_fluxes_svyspec')
_images/maven_swea.png

Solar Wind Ion Analyzer (SWIA)

pyspedas.maven.swia(trange=['2016-01-01', '2016-01-02'], level='l2', datatype='onboardsvyspec', varformat=None, get_support_data=False, auto_yes=True, downloadonly=False, varnames=[], spdf=False)[source]

Load MAVEN Solar Wind Ion Analyzer (SWIA) data.

Parameters:
  • trange (list, optional) – Time range of the data in the format [“start_date”, “end_date”]. Defaults to [“2016-01-01”, “2016-01-02”].

  • level (str, optional) – Data level to load. Default is “l2”.

  • datatype (str, optional) – Data type to load. Default is “onboardsvyspec”.

  • varformat (str, optional) – Variable format. Default is None.

  • get_support_data (bool, optional) – Whether to retrieve support data. Defaults to False.

  • auto_yes (bool, optional) – Whether to automatically answer “yes” to prompts. Default is True.

  • downloadonly (bool, optional) – Whether to only download the data without loading it. Defaults to False.

  • varnames (list, optional) – List of variable names to load. Defaults to [].

  • spdf (bool, optional) – Whether to use the SPDF library for loading the data. Default is False.

Returns:

Dictionary of loaded data variables.

Return type:

dict

Example

import pyspedas
from pytplot import tplot
swi_vars = pyspedas.maven.swia(trange=['2014-10-18', '2014-10-19'])
tplot('spectra_diff_en_fluxes_onboardsvyspec')
_images/maven_swia.png

SupraThermal And Thermal Ion Composition (STATIC)

pyspedas.maven.sta(trange=['2016-01-01', '2016-01-02'], level='l2', datatype=None, varformat=None, get_support_data=False, auto_yes=True, downloadonly=False, varnames=[], spdf=False)[source]

Function to load MAVEN STA data.

Parameters:
  • trange (list, optional) – Time range of the data in the format [“start_date”, “end_date”]. Defaults to [“2016-01-01”, “2016-01-02”].

  • level (str, optional) – Data level. Defaults to “l2”.

  • datatype (str, optional) – Data type. Defaults to None.

  • varformat (str, optional) – Variable format. Defaults to None.

  • get_support_data (bool, optional) – Whether to retrieve support data. Defaults to False.

  • auto_yes (bool, optional) – Whether to automatically answer “yes” to prompts. Defaults to True.

  • downloadonly (bool, optional) – Whether to only download the data without loading it. Defaults to False.

  • varnames (list, optional) – List of variable names to load. Defaults to [].

  • spdf (bool, optional) – Whether to use the SPDF library for loading data. Defaults to False.

Returns:

Dictionary of loaded data variables.

Return type:

dict

Example

import pyspedas
from pytplot import tplot
sta_vars = pyspedas.maven.sta(trange=['2014-10-18', '2014-10-19'])
tplot('hkp_2a-hkp')
_images/maven_sta.png

Solar Energetic Particle (SEP)

pyspedas.maven.sep(trange=['2016-01-01', '2016-01-02'], level='l2', datatype='s2-cal-svy-full', varformat=None, get_support_data=False, auto_yes=True, downloadonly=False, varnames=[], spdf=False)[source]

Loads MAVEN Solar Energetic Particle (SEP) data.

Parameters:
  • trange (list, optional) – Time range of the data in the format [“start_date”, “end_date”]. Defaults to [“2016-01-01”, “2016-01-02”].

  • level (str, optional) – Data level. Defaults to “l2”.

  • datatype (str, optional) – Data type. Defaults to “s2-cal-svy-full”.

  • varformat (str, optional) – Variable format. Defaults to None.

  • get_support_data (bool, optional) – Whether to download support data. Defaults to False.

  • auto_yes (bool, optional) – Whether to automatically answer ‘yes’ to all prompts. Defaults to True.

  • downloadonly (bool, optional) – Whether to only download the data without loading it. Defaults to False.

  • varnames (list, optional) – List of variable names to load. Defaults to [].

  • spdf (bool, optional) – Whether to use the SPDF library for loading the data. Defaults to False.

Returns:

Dictionary of loaded data variables.

Return type:

dict

Example

import pyspedas
from pytplot import tplot
sep_vars = pyspedas.maven.sep(trange=['2014-10-18', '2014-10-19'])
tplot('f_ion_flux_tot_s2-cal-svy-full')
_static/maven_sep.png

Langmuir Probe and Waves (LPW)

pyspedas.maven.lpw(trange=['2016-01-01', '2016-01-02'], level='l2', datatype='lpiv', varformat=None, get_support_data=False, auto_yes=True, downloadonly=False, varnames=[])[source]

Load LPW (Langmuir Probe and Waves) data from the MAVEN mission.

Parameters:
  • trange (list, optional) – Time range of the data in the format [“start_date”, “end_date”]. Defaults to [“2016-01-01”, “2016-01-02”].

  • level (str) – Data level to retrieve (e.g., “l1”, “l2”, “l3”).

  • datatype (str) – Type of data to retrieve (e.g., “lpiv”, “lpwt”).

  • varformat (str) – Format of the variable names.

  • get_support_data (bool, optional) – Whether to retrieve support data. Defaults to False.

  • auto_yes (bool, optional) – Whether to automatically answer “yes” to prompts. Defaults to True.

  • downloadonly (bool, optional) – Whether to only download the data without loading it. Defaults to False.

  • varnames (list, optional) – List of variable names to load. Defaults to [].

Returns:

Dictionary of loaded data variables.

Return type:

dict

Example

import pyspedas
from pytplot import tplot
lpw_vars = pyspedas.maven.lpw(trange=['2014-10-18', '2014-10-19'])
tplot('mvn_lpw_lp_iv_l2_lpiv')
_images/maven_lpw.png

Extreme Ultraviolet Monitor (EUV)

pyspedas.maven.euv(trange=['2016-01-01', '2016-01-02'], level='l2', datatype='bands', varformat=None, get_support_data=False, auto_yes=True, downloadonly=False, varnames=[])[source]

Load EUV data from the MAVEN mission.

Parameters:
  • trange (list, optional) – Time range of the data in the format [“start_date”, “end_date”]. Defaults to [“2016-01-01”, “2016-01-02”].

  • level (str, optional) – Data level. Defaults to “l2”.

  • datatype (str, optional) – Data type. Defaults to “bands”.

  • varformat (str, optional) – Variable format. Defaults to None.

  • get_support_data (bool, optional) – Whether to retrieve support data. Defaults to False.

  • auto_yes (bool, optional) – Whether to automatically answer yes to prompts. Defaults to True.

  • downloadonly (bool, optional) – Whether to only download the data without loading it. Defaults to False.

  • varnames (list, optional) – List of variable names to load. Defaults to [].

Returns:

Dictionary of loaded data variables.

Return type:

dict

Example

import pyspedas
from pytplot import tplot
euv_vars = pyspedas.maven.euv(trange=['2014-10-18', '2014-10-19'])
tplot('mvn_euv_calib_bands_bands')
_images/maven_euv.png