This page was created by the IDL library routine `mk_html_help2`.

Last modified: Wed Aug 27 18:18:07 2025.

# Directory Listing of Routines

# projects/mex/aspera

- MEX_ASP_ELS_CALIB
  Reads MEX/ASPERA-3 (ELS) calibration table.
- MEX_ASP_ELS_CONVERT_UNITS
  Converts units for MEX/ASPERA-3 (ELS) data.
- MEX_ASP_ELS_GET
  Returns a MEX/ASPERA-3 (ELS) data structure.
- MEX_ASP_ELS_GF
  Computes MEX/ASPERA-3 (ELS) geometoric factor.
- MEX_ASP_ELS_LOAD
  Loads MEX/ASPERA-3 (ELS) data from ESA/PSA.
- MEX_ASP_ELS_REL_EFF
  Computes MEX/ASPERA-3 (ELS) relative efficiency per energy channel.
- MEX_ASP_IMA_BKG
  Computes MEX/ASPERA-3 (IMA) background counts, and inserts the results into common blocks.
- MEX_ASP_IMA_CALIB
  Reads MEX/ASPERA-3 (IMA) calibration table.
- MEX_ASP_IMA_ENE_THETA
  Reads MEX/ASPERA-3 (IMA) Energy-Polar angle table.
- MEX_ASP_IMA_GET
  Returns the MEX/ASPERA-3 (IMA) data structure.
- MEX_ASP_IMA_LOAD
  Loads MEX/ASPERA-3 (IMA) data from ESA/PSA.
- MEX_ASP_IMA_MASS
- MEX_ASP_IMA_SC_BINS
  Reads MEX/ASPERA-3 (IMA) FOV blockage matrix (1 = NO blocked / 0 = blocked).
- MEX_ASP_SWM_LOAD
  Loads MEX/ASPERA-3 (IMA) solar wind ion moment data from ESA/PSA.

# Routine Descriptions

## MEX_ASP_ELS_CALIB

[Next Routine] [List of Routines]

    PROCEDURE:       MEX_ASP_ELS_CALIB

    PURPOSE:
                     Reads MEX/ASPERA-3 (ELS) calibration table.

    INPUTS:

    KEYWORDS:

    CREATED BY:      Takuya Hara on 2018-01-29.

    LAST MODIFICATION:
     $LastChangedBy: hara $
     $LastChangedDate: 2018-04-04 13:51:13 -0700 (Wed, 04 Apr 2018) $
     $LastChangedRevision: 24995 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/aspera/mex_asp_els_calib.pro $

(See projects/mex/aspera/mex_asp_els_calib.pro)

## MEX_ASP_ELS_CONVERT_UNITS

[Previous Routine] [Next Routine] [List of Routines]

    PROCEDURE:       MEX_ASP_ELS_CONVERT_UNITS

    PURPOSE:
                     Converts units for MEX/ASPERA-3 (ELS) data.

    INPUTS:          A data structure for ELS and unit name to convert the structure to.

    KEYWORDS:

         UNITS:      Returns the array of conversion factors used.

    CREATED BY:      Takuya Hara on 2018-01-30.

    LAST MODIFICATION:
     $LastChangedBy: hara $
     $LastChangedDate: 2018-04-04 13:51:13 -0700 (Wed, 04 Apr 2018) $
     $LastChangedRevision: 24995 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/aspera/mex_asp_els_convert_units.pro $

(See projects/mex/aspera/mex_asp_els_convert_units.pro)

## MEX_ASP_ELS_GET

[Previous Routine] [Next Routine] [List of Routines]

    FUNCTION:        MVN_ASP_ELS_GET

    PURPOSE:
                     Returns a MEX/ASPERA-3 (ELS) data structure.

    INPUTS:          Time for extracting from common blocks.

    KEYWORDS:

         UNITS:      Converts data to the specified unit.

    CREATED BY:      Takuya Hara on 2018-01-30.

    LAST MODIFICATION:
     $LastChangedBy: hara $
     $LastChangedDate: 2018-04-04 13:51:13 -0700 (Wed, 04 Apr 2018) $
     $LastChangedRevision: 24995 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/aspera/mex_asp_els_get.pro $

(See projects/mex/aspera/mex_asp_els_get.pro)

## MEX_ASP_ELS_GF

[Previous Routine] [Next Routine] [List of Routines]

    PROCEDURE:       MEX_ASP_ELS_GF

    PURPOSE:
                     Computes MEX/ASPERA-3 (ELS) geometoric factor.

    INPUTS:

    KEYWORDS:

    CREATED BY:      Takuya Hara on 2018-01-29.

    LAST MODIFICATION:
     $LastChangedBy: hara $
     $LastChangedDate: 2018-04-04 13:51:13 -0700 (Wed, 04 Apr 2018) $
     $LastChangedRevision: 24995 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/aspera/mex_asp_els_gf.pro $

(See projects/mex/aspera/mex_asp_els_gf.pro)

## MEX_ASP_ELS_LOAD

[Previous Routine] [Next Routine] [List of Routines]

    PROCEDURE:       MEX_ASP_ELS_LOAD

    PURPOSE:
                     Loads MEX/ASPERA-3 (ELS) data from ESA/PSA.

    INPUTS:          Time range to be loaded.

    KEYWORDS:

          SAVE:      If set, makes the IDL save file.

            L2:      If set, L2 data is to be loaded.

          WGET:      If set, wget command is used to download rather than spd_download().

     NO_SERVER:      If set, prevents any contact with the remote server.

           PSA:      Downloads the ELS data from ESA/PSA. Default = 1.
                     If set psa = 0, downloads from wustl instead.

    CREATED BY:      Takuya Hara on 2018-01-18.

    LAST MODIFICATION:
     $LastChangedBy: hara $
     $LastChangedDate: 2020-12-01 20:24:47 -0800 (Tue, 01 Dec 2020) $
     $LastChangedRevision: 29419 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/aspera/mex_asp_els_load.pro $

(See projects/mex/aspera/mex_asp_els_load.pro)

## MEX_ASP_ELS_REL_EFF

[Previous Routine] [Next Routine] [List of Routines]

    PROCEDURE:       MEX_ASP_ELS_REL_EFF

    PURPOSE:
                     Computes MEX/ASPERA-3 (ELS) relative efficiency per energy channel.

    INPUTS:

    KEYWORDS:

    CREATED BY:      Takuya Hara on 2018-01-29.

    LAST MODIFICATION:
     $LastChangedBy: hara $
     $LastChangedDate: 2018-04-04 13:51:13 -0700 (Wed, 04 Apr 2018) $
     $LastChangedRevision: 24995 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/aspera/mex_asp_els_rel_eff.pro $

(See projects/mex/aspera/mex_asp_els_rel_eff.pro)

## MEX_ASP_IMA_BKG

[Previous Routine] [Next Routine] [List of Routines]

    PROCEDURE:       MEX_ASP_IMA_BKG

    PURPOSE:
                     Computes MEX/ASPERA-3 (IMA) background counts, and inserts the results into common blocks.

    INPUTS:

    KEYWORDS:

    NOTE:            See, ftp://psa.esac.esa.int/pub/mirror/MARS-EXPRESS/ASPERA-3/MEX-M-ASPERA3-2-EDR-IMA-EXT5-V1.0/CALIB/CALINFO.TXT

    CREATED BY:      Takuya Hara on 2018-01-31.

    LAST MODIFICATION:
     $LastChangedBy: hara $
     $LastChangedDate: 2021-02-20 14:53:03 -0800 (Sat, 20 Feb 2021) $
     $LastChangedRevision: 29688 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/aspera/mex_asp_ima_bkg.pro $

(See projects/mex/aspera/mex_asp_ima_bkg.pro)

## MEX_ASP_IMA_CALIB

[Previous Routine] [Next Routine] [List of Routines]

    PROCEDURE:       MEX_ASP_IMA_CALIB

    PURPOSE:
                     Reads MEX/ASPERA-3 (IMA) calibration table.

    INPUTS:

    KEYWORDS:

    CREATED BY:      Takuya Hara on 2018-01-31.

    LAST MODIFICATION:
     $LastChangedBy: hara $
     $LastChangedDate: 2021-02-18 21:27:03 -0800 (Thu, 18 Feb 2021) $
     $LastChangedRevision: 29684 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/aspera/mex_asp_ima_calib.pro $

(See projects/mex/aspera/mex_asp_ima_calib.pro)

## MEX_ASP_IMA_ENE_THETA

[Previous Routine] [Next Routine] [List of Routines]

    PROCEDURE:       MEX_ASP_IMA_ENE_THETA

    PURPOSE:
                     Reads MEX/ASPERA-3 (IMA) Energy-Polar angle table.

    INPUTS:          time and polar angle indices.

    KEYWORDS:

    CREATED BY:      Takuya Hara on 2018-01-23.

    LAST MODIFICATION:
     $LastChangedBy: hara $
     $LastChangedDate: 2023-08-12 05:24:54 -0700 (Sat, 12 Aug 2023) $
     $LastChangedRevision: 31988 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/aspera/mex_asp_ima_ene_theta.pro $

(See projects/mex/aspera/mex_asp_ima_ene_theta.pro)

## MEX_ASP_IMA_GET

[Previous Routine] [Next Routine] [List of Routines]

    FUNCTION:        MVN_ASP_IMA_GET

    PURPOSE:
                     Returns the MEX/ASPERA-3 (IMA) data structure.

    INPUTS:          Time for extracting from common blocks.

    KEYWORDS:

         UNITS:      Converts data to the specified unit.

           DDD:      If set, returns a data as one 3D scan.

    CREATED BY:      Takuya Hara on 2018-01-31.

    LAST MODIFICATION:
     $LastChangedBy: hara $
     $LastChangedDate: 2018-04-04 16:17:13 -0700 (Wed, 04 Apr 2018) $
     $LastChangedRevision: 24998 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/aspera/mex_asp_ima_get.pro $

(See projects/mex/aspera/mex_asp_ima_get.pro)

## MEX_ASP_IMA_LOAD

[Previous Routine] [Next Routine] [List of Routines]

    PROCEDURE:       MEX_ASP_IMA_LOAD

    PURPOSE:
                     Loads MEX/ASPERA-3 (IMA) data from ESA/PSA.

    INPUTS:          Time range to be loaded.

    KEYWORDS:

          SAVE:      If set, makes the IDL save file.

     NO_SERVER:      If set, prevents any contact with the remote server.

    CREATED BY:      Takuya Hara on 2018-01-23.

    LAST MODIFICATION:
     $LastChangedBy: hara $
     $LastChangedDate: 2023-08-12 05:24:54 -0700 (Sat, 12 Aug 2023) $
     $LastChangedRevision: 31988 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/aspera/mex_asp_ima_load.pro $

(See projects/mex/aspera/mex_asp_ima_load.pro)

## MEX_ASP_IMA_MASS

[Previous Routine] [Next Routine] [List of Routines]

    PROCEDURE:       MEX_ASP_IMA_MASS

    PURPOSE:         Calculates the MEX ASPERA-3/IMA Mass table.

    INPUTS:          IMA Energy Table and PACC index.

    KEYWORDS:

    NOTE:            This version is still highly under testing. The usage might change majorly.

    CREATED BY:      Takuya Hara on 2021-02-20.

    LAST MODIFICATION:
     $LastChangedBy: hara $
     $LastChangedDate: 2021-02-20 15:34:46 -0800 (Sat, 20 Feb 2021) $
     $LastChangedRevision: 29689 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/aspera/mex_asp_ima_mass.pro $

(See projects/mex/aspera/mex_asp_ima_mass.pro)

## MEX_ASP_IMA_SC_BINS

[Previous Routine] [Next Routine] [List of Routines]

    PROCEDURE:       MEX_ASP_IMA_SC_BINS

    PURPOSE:
                     Reads MEX/ASPERA-3 (IMA) FOV blockage matrix (1 = NO blocked / 0 = blocked).

    INPUTS:          None.

    KEYWORDS:        None.

    NOTE:            See this PDF file in pp. 74-84; however, the definition here is opposite.
                     ftp://psa.esac.esa.int/pub/mirror/MARS-EXPRESS/ASPERA-3/MEX-M-ASPERA3-2-EDR-IMA-EXT5-V1.0/DOCUMENT/IMA_CALIBRATION_REPORT.PDF

    CREATED BY:      Takuya Hara on 2018-02-01.

    LAST MODIFICATION:
     $LastChangedBy: hara $
     $LastChangedDate: 2018-04-04 16:17:13 -0700 (Wed, 04 Apr 2018) $
     $LastChangedRevision: 24998 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/aspera/mex_asp_ima_sc_bins.pro $

(See projects/mex/aspera/mex_asp_ima_sc_bins.pro)

## MEX_ASP_SWM_LOAD

[Previous Routine] [List of Routines]

    PROCEDURE:       MEX_ASP_SWM_LOAD

    PURPOSE:
                     Loads MEX/ASPERA-3 (IMA) solar wind ion moment data from ESA/PSA.
                     Results are stored as tplot variables.

    INPUTS:          Time range to be loaded (but it is optional).

    KEYWORDS:

     NO_SERVER:      If set, prevents any contact with the remote server.

     NO_DOWNLOAD:    Synonym for NO_SERVER.

     QFLAG:          If set, the high quality (= no any issues) data is only restored.

    CREATED BY:      Takuya Hara on 2019-06-26.

    LAST MODIFICATION:
     $LastChangedBy: hara $
     $LastChangedDate: 2019-06-26 15:21:56 -0700 (Wed, 26 Jun 2019) $
     $LastChangedRevision: 27383 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/aspera/mex_asp_swm_load.pro $

(See projects/mex/aspera/mex_asp_swm_load.pro)