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

Last modified: Wed Oct 1 18:17:54 2025.

# Directory Listing of Routines

# projects/mex/spice

- MEX_ORBIT_NUM
- MEX_SPICE_KERNELS
  Provides MEX spice kernel filenames of specified types.
- MEX_SPICE_LOAD
  Loads MEX SPICE kernels and creates a few tplot variables.

# Routine Descriptions

## MEX_ORBIT_NUM

[Next Routine] [List of Routines]

    PROCEDURE:       MEX_ORBIT_NUM

    PURPOSE:         Loads the data structure that contains orbit info.
                     w.r.t. each MEX orbit from SPICE/kernels.

    INPUTS:          None.

    KEYWORDS:

          DATA:      Returns the data structure.

          TIME:      Rerurns the data structure whose format is identical
                     to the IDL save file which I made manually.

    PREDICTIVE:      If set, loading the long-term predictive orbit info file.

    CREATED BY:      Takuya Hara on 2017-04-12.

    LAST MODIFICATION:
     $LastChangedBy: hara $
     $LastChangedDate: 2023-11-09 16:57:40 -0800 (Thu, 09 Nov 2023) $
     $LastChangedRevision: 32227 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/spice/mex_orbit_num.pro $

(See projects/mex/spice/mex_orbit_num.pro)

## MEX_SPICE_KERNELS

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

    FUNCTION:        MEX_SPICE_KERNELS

    PURPOSE:
                     Provides MEX spice kernel filenames of specified types.

    INPUTS:          String array of kernel names to load.

    OUTPUTS:         Qualified kernel file name(s).

    KEYWORDS:

         LOAD:       Sets keyword to also load kernel files.

       TRANGE:       Sets keyword to UT time range to provide range
                     of needed files.

    NOTE:            This routine imitates 'mvn_spice_kernels'.

    CREATED BY:      Takuya Hara on 2015-04-04.

    LAST MODIFICATION:
     $LastChangedBy: hara $
     $LastChangedDate: 2022-10-24 17:17:19 -0700 (Mon, 24 Oct 2022) $
     $LastChangedRevision: 31187 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/spice/mex_spice_kernels.pro $

(See projects/mex/spice/mex_spice_kernels.pro)

## MEX_SPICE_LOAD

[Previous Routine] [List of Routines]

    PROCEDURE:       MEX_SPICE_LOAD

    PURPOSE:
                     Loads MEX SPICE kernels and creates a few tplot variables.

    INPUTS:

    KEYWORDS:

         STORE:      If set, the computed MEX ephemeris is stored into the common blocks.

           DEG:      If set, the unit of ephemeris angles (LAT, LON, SZA) is converted to be degree.

    NOTE:            This routine was initially based on 'mvn_spice_load'.

    CREATED BY:      Takuya Hara on 2015-04-04.

    LAST MODIFICATION:
     $LastChangedBy: hara $
     $LastChangedDate: 2023-11-09 16:59:57 -0800 (Thu, 09 Nov 2023) $
     $LastChangedRevision: 32228 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/mex/spice/mex_spice_load.pro $

(See projects/mex/spice/mex_spice_load.pro)