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

Last modified: Wed Oct 15 03:17:40 2025.

# Directory Listing of Routines

# projects/maven/ngi

- MVN_NGI_LOAD
  Loads NGIMS L2 (or L1b) data
- MVN_NGI_MSPEC
  combine mass-separated tplot variables into one spectrogram
- MVN_NGI_REMOTE_LIST
  returns lists of NGIMS L2 files in the server without downloading them

# Routine Descriptions

## MVN_NGI_LOAD

[Next Routine] [List of Routines]

     PROCEDURE:
           mvn_ngi_load
     PURPOSE:
           Loads NGIMS L2 (or L1b) data
           Each column in csv files will be stored in tplot variables:
              'mvn_ngi_(filetype)_(focusmode)_(tagname)'
           Time-series densities for each mass will be storead in
              'mvn_ngi_(filetype)_(focusmode)_abundance_mass???'
     CALLING SEQUENCE:
           mvn_ngi_load
     INPUTS:
           None
     OPTIONAL KEYWORDS:
           level: 'l2', 'l1b', or 'l3' (Def. 'l2')
           trange: time range (if not present then timerange() is called)
           filetype: (Def. ['csn','cso','ion'] for l2, ['osion','osnb'] for l1b, ['res-sht'] for l3)
           files: paths to local files to read in
                  if set, does not retreive files from server
                  if multiple versions are found, the latest version file will be loaded
           version: specifies string of two digit version number (e.g., '04')
           revision: specifies string of two digit revision number (e.g., '03')
           mass: masses of mass-separated tplot variables (Def. all unique masses)
           quant_mass: quantities of mass-separated tplot variables
                       (Def. 'abundance' for l2, 'counts' for 'l1b')
           mspec: if set, generates mass spectrograms
           nolatest: skip latest version check (not recommended)
           cps_dt: (obsolete, but still works)
           other keywords are passed to 'mvn_pfp_file_retrieve'
     CREATED BY:
           Yuki Harada on 2015-01-29
     NOTES:
           Requires IDL 7.1 or later to read in .csv files
           Use 'mvn_ngi_read_csv' to load ql data

     $LastChangedBy: haraday $
     $LastChangedDate: 2024-01-03 16:19:22 -0800 (Wed, 03 Jan 2024) $
     $LastChangedRevision: 32331 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/maven/ngi/mvn_ngi_load.pro $

(See projects/maven/ngi/mvn_ngi_load.pro)

## MVN_NGI_MSPEC

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

     PROCEDURE:
           mvn_ngi_mspec
     PURPOSE:
           combine mass-separated tplot variables into one spectrogram
     CALLING SEQUENCE:
           mvn_ngi_mspec
     INPUTS:
           None
     KEYWORDS:
           delete_source: if set, deletes original tplot variables
     CREATED BY:
           Yuki Harada on 2015-07-13

     $LastChangedBy: haraday $
     $LastChangedDate: 2016-05-12 13:09:34 -0700 (Thu, 12 May 2016) $
     $LastChangedRevision: 21065 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/maven/ngi/mvn_ngi_mspec.pro $

(See projects/maven/ngi/mvn_ngi_mspec.pro)

## MVN_NGI_REMOTE_LIST

[Previous Routine] [List of Routines]

     FUNCTION:
           mvn_ngi_remote_list
     PURPOSE:
           returns lists of NGIMS L2 files in the server without downloading them
     CALLING SEQUENCE:
           f = mvn_ngi_remote_list(filetype='csn',latestv=v,latestr=r)
     INPUTS:
           None
     KEYWORDS:
           trange: time range (if not present then timerange() is called)
           filetype: 'csn', 'cso', 'ion', etc. (Def: '*')
           latestversion: returns the latest version number in string
           latestrevision: returns the latest revision number in string
           level: 'l2' or 'l1b' (Def: 'l2')
     CREATED BY:
           Yuki Harada on 2015-07-13

     $LastChangedBy: haraday $
     $LastChangedDate: 2020-01-15 17:13:48 -0800 (Wed, 15 Jan 2020) $
     $LastChangedRevision: 28192 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/maven/ngi/mvn_ngi_remote_list.pro $

(See projects/maven/ngi/mvn_ngi_remote_list.pro)