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

Last modified: Fri Sep 26 18:17:39 2025.

# Directory Listing of Routines

# projects/mex/marsis

- MEX_MARSIS_COM
  defines common blocks for MEX/MARSIS data
- MEX_MARSIS_CROSSHAIRS
  Modified version of crosshairs.pro for extracting fpmax
- MEX_MARSIS_CROSSHAIRS2
  Modified version of crosshairs.pro for extracting Tce
- MEX_MARSIS_EX_MISSION
  returns "i"th extended missions from orbit numbers
- MEX_MARSIS_EXTRACT_FPMAX
  Extracts f_p(max) from ionospheric echoes and generates a csv file containing:
- MEX_MARSIS_EXTRACT_TCE
  Extracts Tce from electron cyclotron echoes and generates a csv file containing:
- MEX_MARSIS_HEADER_DECODE
  Decodes header info. of AIS RDR data
- MEX_MARSIS_LOAD
  Loads MEX/MARSIS data
- MEX_MARSIS_RADARGRAM
  generates tplot variables of MARSIS radargrams
- MEX_MARSIS_SNAP
  Plots ionograms for times selected with the cursor in a tplot window.
- MEX_MARSIS_SPECTROGRAM
  generates tplot variables of MARSIS spectrograms
- MEX_MARSIS_TPLOT
  generates tplot variables from data stored in common blocks

# Routine Descriptions

## MEX_MARSIS_COM

[Next Routine] [List of Routines]

     COMMON BLOCK:
           mex_marsis_com
     PURPOSE:
           defines common blocks for MEX/MARSIS data
     CREATED BY:
           Yuki Harada on 2017-05-03

     $LastChangedBy: haraday $
     $LastChangedDate: 2023-06-16 00:29:30 -0700 (Fri, 16 Jun 2023) $
     $LastChangedRevision: 31897 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/marsis/mex_marsis_com.pro $

(See projects/mex/marsis/mex_marsis_com.pro)

## MEX_MARSIS_CROSSHAIRS

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

     PROCEDURE:
           mex_marsis_crosshairs
     PURPOSE:
           Modified version of crosshairs.pro for extracting fpmax
     CREATED BY:
           Yuki Harada on 2024-01-25

     $LastChangedBy: $
     $LastChangedDate: $
     $LastChangedRevision: $
     $URL: $

(See projects/mex/marsis/mex_marsis_crosshairs.pro)

## MEX_MARSIS_CROSSHAIRS2

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

     PROCEDURE:
           mex_marsis_crosshairs2
     PURPOSE:
           Modified version of crosshairs.pro for extracting Tce
     CREATED BY:
           Yuki Harada on 2024-01-19

     $LastChangedBy: $
     $LastChangedDate: $
     $LastChangedRevision: $
     $URL: $

(See projects/mex/marsis/mex_marsis_crosshairs2.pro)

## MEX_MARSIS_EXTRACT_FPMAX

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

     PROCEDURE:
           mex_marsis_extract_fpmax
     PURPOSE:
           Extracts f_p(max) from ionospheric echoes and generates a csv file containing:
            YYYYMMDD, hhmmss.fff, unix_time, f_p(max) [MHz], TD_(max) [ms], H'_(max) [km]
     CALLING SEQUENCE:
           mex_marsis_extract_fpmax
     CREATED BY:
           Yuki Harada on 2024-01-25

     $LastChangedBy: $
     $LastChangedDate: $
     $LastChangedRevision: $
     $URL: $

(See projects/mex/marsis/mex_marsis_extract_fpmax.pro)

## MEX_MARSIS_EXTRACT_TCE

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

     PROCEDURE:
           mex_marsis_extract_tce
     PURPOSE:
           Extracts Tce from electron cyclotron echoes and generates a csv file containing:
            YYYYMMDD, hhmmss.fff, unix_time, Tce [ms]
     CALLING SEQUENCE:
           mex_marsis_extract_tce
     CREATED BY:
           Yuki Harada on 2024-01-19

     $LastChangedBy: $
     $LastChangedDate: $
     $LastChangedRevision: $
     $URL: $

(See projects/mex/marsis/mex_marsis_extract_tce.pro)

## MEX_MARSIS_EX_MISSION

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

     FUNCTION:
           mex_marsis_ex_mission
     PURPOSE:
           returns "i"th extended missions from orbit numbers
           used to specify the directory path to the data
           needs to be updated manually every time a new extended mission starts
     CALLING SEQUENCE:
           Nex = mex_marsis_ex_misssion(orbnum)
     INPUTS:
           orbnum: orbit number(s)
     CREATED BY:
           Yuki Harada on 2017-05-04

     $LastChangedBy: haraday $
     $LastChangedDate: 2020-12-01 19:31:14 -0800 (Tue, 01 Dec 2020) $
     $LastChangedRevision: 29418 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/marsis/mex_marsis_ex_mission.pro $

(See projects/mex/marsis/mex_marsis_ex_mission.pro)

## MEX_MARSIS_HEADER_DECODE

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

     PROCEDURE:
           mex_marsis_header_decode
     PURPOSE:
           Decodes header info. of AIS RDR data
           https://space.physics.uiowa.edu/pds/MEX-M-MARSIS-3-RDR-AIS-V1.0/LABEL/AIS_FORMAT.FMT
     CALLING SEQUENCE:
           h = mex_marsis_header_decode(byt80)
     INPUTS:
           bytarr(80) or bytarr(160,80) or bytarr(160,80,N)
     KEYWORDS:

     CREATED BY:
           Yuki Harada on 2022-06-30

     $LastChangedBy: $
     $LastChangedDate: $
     $LastChangedRevision: $
     $URL: $

(See projects/mex/marsis/mex_marsis_header_decode.pro)

## MEX_MARSIS_LOAD

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

     PROCEDURE:
           mex_marsis_load
     PURPOSE:
           Loads MEX/MARSIS data
     CALLING SEQUENCE:
           > timespan,'2015-01-01'
           > mex_marsis_load
     KEYWORDS:
           types: specifies data types from 'geometry','eledens_bmag','ionogram' (Def. all)
     CREATED BY:
           Yuki Harada on 2017-05-03

     $LastChangedBy: haraday $
     $LastChangedDate: 2023-10-17 23:46:56 -0700 (Tue, 17 Oct 2023) $
     $LastChangedRevision: 32201 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/marsis/mex_marsis_load.pro $

(See projects/mex/marsis/mex_marsis_load.pro)

## MEX_MARSIS_RADARGRAM

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

     PROCEDURE:
           mex_marsis_radargram
     PURPOSE:
           generates tplot variables of MARSIS radargrams
     CALLING SEQUENCE:
           mex_marsis_radargram, frange=[1,2.5]
     KEYWORDS:
           frange: [fmin,fmax]
                   if fmin = fmax or frange contains only one element,
                   uses one specific frequency step (Def. 1.5 MHz)
     CREATED BY:
           Yuki Harada on 2017-05-11

     $LastChangedBy: haraday $
     $LastChangedDate: 2018-04-06 01:38:33 -0700 (Fri, 06 Apr 2018) $
     $LastChangedRevision: 25009 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/marsis/mex_marsis_radargram.pro $

(See projects/mex/marsis/mex_marsis_radargram.pro)

## MEX_MARSIS_SNAP

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

     PROCEDURE:
           mex_marsis_snap
     PURPOSE:
           Plots ionograms for times selected with the cursor in a tplot window.
           Hold down the left mouse button and slide for a movie effect.
     CALLING SEQUENCE:
           mex_marsis_snap, /keepwin
     KEYWORDS:
           window: window number (Def. a new window will be generated)
           keepwin: do not delete the snap window
     CREATED BY:
           Yuki Harada on 2017-05-11

     $LastChangedBy: haraday $
     $LastChangedDate: 2024-01-24 23:36:07 -0800 (Wed, 24 Jan 2024) $
     $LastChangedRevision: 32408 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/marsis/mex_marsis_snap.pro $

(See projects/mex/marsis/mex_marsis_snap.pro)

## MEX_MARSIS_SPECTROGRAM

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

     PROCEDURE:
           mex_marsis_spectrogram
     PURPOSE:
           generates tplot variables of MARSIS spectrograms
     CALLING SEQUENCE:
           mex_marsis_spectrogram
     KEYWORDS:

     CREATED BY:
           Yuki Harada on 2017-05-11

     $LastChangedBy: haraday $
     $LastChangedDate: 2023-02-13 00:30:04 -0800 (Mon, 13 Feb 2023) $
     $LastChangedRevision: 31495 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/marsis/mex_marsis_spectrogram.pro $

(See projects/mex/marsis/mex_marsis_spectrogram.pro)

## MEX_MARSIS_TPLOT

[Previous Routine] [List of Routines]

     PROCEDURE:
           mex_marsis_tplot
     PURPOSE:
           generates tplot variables from data stored in common blocks
     CALLING SEQUENCE:
           mex_marsis_tplot
     KEYWORDS:

     CREATED BY:
           Yuki Harada on 2017-05-11

     $LastChangedBy: haraday $
     $LastChangedDate: 2023-06-20 01:30:32 -0700 (Tue, 20 Jun 2023) $
     $LastChangedRevision: 31900 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/marsis/mex_marsis_tplot.pro $

(See projects/mex/marsis/mex_marsis_tplot.pro)