This page was created by the IDL library routine mk_html_help2.

Last modified: Wed Apr 14 11:49:06 2010.


Directory Listing of Routines


Routine Descriptions

THM_UI_INIT_LOAD_WINDOW

[Next Routine] [List of Routines]
NAME:
  thm_ui_init_load_window

PURPOSE:
  Sets up the window and tab widgets for loading data into the THEMIS GUI.

CALLING SEQUENCE:
  thm_ui_init_load_window, gui_id, windowStorage, loadedData, historyWin, $
                           dataFlag, dataButtons, timerange, treeCopyPtr

INPUT:
  gui_id:  The id of the main GUI window.
  windowStorage:  The windowStorage object.
  loadedData:  The loadedData object.
  historyWin:  The history window object.
  dataFlag: 
  dataButtons: 
  timerange:  The GUI timerange object.
  treeCopyPtr:  Pointer variable to a copy of the load widget tree.
  
KEYWORDS:
  none

OUTPUT:
  none

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_init_load_window.pro)


THM_UI_LOAD_ACE_DATA

[Previous Routine] [Next Routine] [List of Routines]
NAME:
  thm_ui_load_ace_data

PURPOSE:
  Generates the tab that loads ace data for the gui.


HISTORY:
$LastChangedBy: aaflores $
$LastChangedDate: 2010-02-03 11:54:08 -0800 (Wed, 03 Feb 2010) $
$LastChangedRevision: 7198 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_21/idl/themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_ace_data.pro $

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_ace_data.pro)


THM_UI_LOAD_ACE_DATA_LOAD_PRO

[Previous Routine] [Next Routine] [List of Routines]
NAME:
  thm_ui_load_ace_data_load_pro

PURPOSE:
  Modularized gui ace data loader


HISTORY:
$LastChangedBy: pcruce $
$LastChangedDate: 2009-06-11 12:04:38 -0700 (Thu, 11 Jun 2009) $
$LastChangedRevision: 6135 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_21/idl/themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_ace_data_load_pro.pro $

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_ace_data_load_pro.pro)


THM_UI_LOAD_CLOB_PROMPT

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

WARNING:
  THIS ROUTINE IS DEPRECATED.  PLEASE USE THM_UI_PROMPT_WIDGET, INSTEAD


NAME:  
  thm_ui_load_clob_prompt
  
PURPOSE:
  Widget for prompting user to decide whether existing GUI variables should be
  clobbered.  Returns a string ('yes', 'yesall', 'no', 'noall') depending on
  which button the user has clicked.
  
CALLING SEQUENCE:
  answer = thm_ui_load_clob_prompt(gui_id, historyWin, varname)
  
INPUT:
  gui_id: Id of top level base widget from calling program.
  historyWin: The variable storing the history window object reference.
  varname: The name of the variable for which we're prompting the user to 
           overwrite. 
            
KEYWORDS:
  none
        
OUTPUT:
  A string that represents which button was clicked by the user.

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_clob_prompt.pro)


THM_UI_LOAD_DATA_FILE

[Previous Routine] [Next Routine] [List of Routines]
NAME:
  thm_ui_load_data_file

PURPOSE:
  A widget interface for loading THEMIS data into the GUI

CALLING SEQUENCE:
  thm_ui_load_data_file, tab_id, gui_id, windowStorage, loadedData, historyWin, $
                        dataFlag, dataButtons, trObj, statusText, loadTree=loadList,$
                        treeCopyPtr, timeWidget=timeid

INPUT:
  tab_id:  The widget id of the tab.
  gui_id:  The widget id of the main GUI window.
  windowStorage:  The windowStorage object.
  loadedData:  The loadedData object.
  historyWin:  The history window object.
  dataFlag:  
  dataButtons:  
  trObj:  The GUI timerange object.
  statusText:  The status bar object for the main Load window.
  treeCopyPtr:  Pointer variable to a copy of the load widget tree.
  
KEYWORDS:
  loadTree = The Load widget tree.
  timeWidget = The time widget object.

OUTPUT:
  none

HISTORY:
$LastChangedBy: pcruce $
$LastChangedDate: 2010-02-04 13:31:27 -0800 (Thu, 04 Feb 2010) $
$LastChangedRevision: 7209 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_21/idl/themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_data_file.pro $

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_data_file.pro)


THM_UI_LOAD_DATA_FILE_COORD_SEL.PRO

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_load_data_file_coord_sel.pro

PURPOSE:
 Controls actions that occur when Output Coordinates menu is selected.  Called
 by thm_ui_load_data_file event handler.

CALLING SEQUENCE:
 thm_ui_load_data_file_coord_sel, state

INPUT:
 state     State structure

OUTPUT:
 None

HISTORY:

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_data_file_coord_sel.pro)


THM_UI_LOAD_DATA_FILE_DEL.PRO

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_load_data_file_del.pro

PURPOSE:
 Controls deleting of loaded data from "Loaded Data" list.  Called by
 thm_ui_load_data_file event handler.

CALLING SEQUENCE:
 thm_ui_load_data_file_del, state

INPUT:
 state     State structure

OUTPUT:
 None

HISTORY:

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_data_file_del.pro)


THM_UI_LOAD_DATA_FILE_ITYPE_SEL.PRO

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_load_data_file_itype_sel.pro

PURPOSE:
 Controls actions that occur when Instrument Type menu is selected.  Called by
 thm_ui_load_data_file event handler.

CALLING SEQUENCE:
 thm_ui_load_data_file_itype_sel, state

INPUT:
 state     State structure

OUTPUT:
 None

HISTORY:

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_data_file_itype_sel.pro)


THM_UI_LOAD_DATA_FILE_L1_SEL.PRO

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_load_data_file_l1_sel.pro

PURPOSE:
 Controls actions that occur when selecting items in Level 1 box.  Called by
 thm_ui_load_data_file event handler.

CALLING SEQUENCE:
 thm_ui_load_data_file_l1_sel, state

INPUT:
 state     State structure

OUTPUT:
 None

HISTORY:

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_data_file_l1_sel.pro)


THM_UI_LOAD_DATA_FILE_L2_SEL.PRO

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_load_data_file_l2_sel.pro

PURPOSE:
 Controls actions that occur when selecting items in Level 2 box.  Called by
 thm_ui_load_data_file event handler.

CALLING SEQUENCE:
 thm_ui_load_data_file_l2_sel, state

INPUT:
 state     State structure

OUTPUT:
 None

HISTORY:

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_data_file_l2_sel.pro)


THM_UI_LOAD_DATA_FILE_LOAD.PRO

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_load_data_file_load.pro

PURPOSE:
 Loads Themis data by calling thm_ui_new_load_data_fn.  Called by
 thm_ui_load_data_file event handler.

CALLING SEQUENCE:
 thm_ui_load_data_file_load, state, event

INPUT:
 state     State structure
 event     Event structure

OUTPUT:
 None

HISTORY:

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_data_file_load.pro)


THM_UI_LOAD_DATA_FILE_LOADLIST.PRO

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_load_data_file_loadlist.pro

PURPOSE:
 ROUTINE IS DEPRECATED.  WAS MAINTAINING COPIES OF SELECTION THAT WERE ALREADY MAINTAINED ELSEWHERE.

 Controls selection of loaded data from "Loaded Data" list.  Called by
 thm_ui_load_data_file event handler.

CALLING SEQUENCE:
 thm_ui_load_data_file_loadlist, state

INPUT:
 state     State structure

OUTPUT:
 None

HISTORY:

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_data_file_loadlist.pro)


THM_UI_LOAD_DATA_FILE_OBS_SEL.PRO

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_load_data_file_obs_sel.pro

PURPOSE:
 Controls actions that occur when selecting items in probe/station box.  Called
 by thm_ui_load_data_file event handler.

CALLING SEQUENCE:
 thm_ui_load_data_file_obs_sel, state

INPUT:
 state     State structure

OUTPUT:
 None

HISTORY:

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_data_file_obs_sel.pro)


THM_UI_LOAD_GOES_DATA

[Previous Routine] [Next Routine] [List of Routines]
NAME:
  thm_ui_load_goes_data

PURPOSE:
  Generates the tab that loads goes data for the gui.


HISTORY:
$LastChangedBy: aaflores $
$LastChangedDate: 2010-02-03 11:54:08 -0800 (Wed, 03 Feb 2010) $
$LastChangedRevision: 7198 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_21/idl/themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_goes_data.pro $

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_goes_data.pro)


THM_UI_LOAD_GOES_DATA_LOAD_PRO

[Previous Routine] [Next Routine] [List of Routines]
NAME:
  thm_ui_load_goes_data_load_pro

PURPOSE:
  Modularized gui goes data loader


HISTORY:
$LastChangedBy: pcruce $
$LastChangedDate: 2010-01-11 10:09:36 -0800 (Mon, 11 Jan 2010) $
$LastChangedRevision: 7084 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_21/idl/themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_goes_data_load_pro.pro $

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_goes_data_load_pro.pro)


THM_UI_LOAD_WIND_DATA

[Previous Routine] [Next Routine] [List of Routines]
NAME:
  thm_ui_load_wind_data

PURPOSE:
  Generates the tab that loads wind data for the gui.


HISTORY:
$LastChangedBy: aaflores $
$LastChangedDate: 2010-02-03 11:54:08 -0800 (Wed, 03 Feb 2010) $
$LastChangedRevision: 7198 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_21/idl/themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_wind_data.pro $

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_wind_data.pro)


THM_UI_LOAD_WIND_DATA_LOAD_PRO

[Previous Routine] [Next Routine] [List of Routines]
NAME:
  thm_ui_load_wind_data_load_pro

PURPOSE:
  Modularized gui wind data loader


HISTORY:
$LastChangedBy: pcruce $
$LastChangedDate: 2009-06-11 12:04:38 -0700 (Thu, 11 Jun 2009) $
$LastChangedRevision: 6135 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_21/idl/themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_wind_data_load_pro.pro $

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_load_wind_data_load_pro.pro)


THM_UI_NEW_LOAD_DATA2OBJ

[Previous Routine] [Next Routine] [List of Routines]
NAME:
  thm_ui_new_load_data2obj

PURPOSE:
  A widget interface to load CDF data for whatever instrument

CALLING SEQUENCE:
  thm_ui_new_load_data2obj, st_time, en_time, $
                              dtype = dtype, $
                              observ = observ, $
                              scm_cal = scm_cal, $
                              outcoord = outcoord, $
                              loadedData = loadedData, $
                              historyWin=historyWin, $
                              statusText=statusText, $
                              state_gui_id=state_gui_id
INPUT:
  st_time, en_time = start and end times in seconds from
                   1-jan-1970 0:00
KEYWORDS:
  dtype =  the type of data, a string, of form 'instrument/datatype/datalevel', 
           the default is 'gmag/mag/l2'
  observ = the probe or ground station requested (string array) (this replaces
           the station, astation, and probe keywords).
  scm_cal = a structure containing calibration parameters
  outcoord = requested output coordinates as set in thm_ui_new Themis: Load Data
             panel
  loadedData = loaded data object
  historyWin = history window object
  statusText = status bar object
  state_gui_id = gui_id of main gui window
  

OUTPUT:
  none


HISTORY:
  07-sep-2008, bck  begin modification for use in thm_gui_new from thm_ui_load_data_fn
 
$LastChangedBy: pcruce $
$LastChangedDate: 2010-03-01 16:24:31 -0800 (Mon, 01 Mar 2010) $
$LastChangedRevision: 7391 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_21/idl/themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_new_load_data2obj.pro $

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_new_load_data2obj.pro)


THM_UI_NEW_SET_DATA_ID

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_new_set_data_id
PURPOSE:
 This program sets the data_id values of the pointer in the thm_gui state
 structure, given the tplot common block:
INPUT:
 state_or_id = thm_gui state structure, or gui_id
HISTORY:
 26-feb-2007, jmm, jimm@ssl.berkeley.edu
 10-may-2007, jmm, allow for input of the gui_id instead of the state

$LastChangedBy: bckerr $
$LastChangedDate: 2008-10-03 09:14:58 -0700 (Fri, 03 Oct 2008) $
$LastChangedRevision: 3611 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_21/idl/themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_new_set_data_id.pro $

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_new_set_data_id.pro)


THM_UI_NEW_VALID_DATATYPE

[Previous Routine] [List of Routines]
NAME:
 thm_ui_new_valid_datatype
PURPOSE:
 get valid datatype names from thm_load_* routines, using the
 valid_names keyword and returns a list of data types that can be
 loaded for each instrument.
CALLING SEQUENCE:
 datalist = thm_ui_new_valid_datatype(instrument, ilist, llist)
INPUT:
 instr_in = three letter symbol of datatype.
OUTPUT:
 datalist = a list of the datatypes that can be loaded
 instrument = the instrument responsible for this datatype
 ilist = a list of the input instrument replicated for each datalist
         element
 llist = the level of the data, some have 'l1', some have 'l2' some
         have one for each
HISTORY:
 16-jan-2007, jmm, jimm@ssl.berkeley.edu
 29-jan-2007, jmm, various changes, now station isn't returned, gmag
 and asi output are hard-wired, other changes will ensue when load
 routines are standardized.
 4-feb-2007, jmm, Rewritten back to the old hard-wired version....
 5-jul-2007, jmm, Added level information
 11-apr-2008, jmm, now calls thm_data2load.pro, for 1 instrument
 16-sep-2008, bck, modified from thm_ui_valid_dtype
$LastChangedBy: bckerr $
$LastChangedDate: 2008-10-03 09:14:58 -0700 (Fri, 03 Oct 2008) $
$LastChangedRevision: 3611 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_21/idl/themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_new_valid_datatype.pro $

(See themis/thm_ui_new/panels/thm_ui_load_data_file/thm_ui_new_valid_datatype.pro)