This page was created by the IDL library routine mk_html_help2.

Last modified: Tue Feb 13 09:58:54 2007.


Directory Listing of Routines


Routine Descriptions

THM_CHECK_VALID_NAME

[Next Routine] [List of Routines]
NAME:
thm_check_valid_name
PURPOSE:
checks a string or array input against another array and 'all' to
find matches.
CALLING SEQUENCE:
 ok_names = thm_check_valid_name(names, valid_names)
INPUT:
 names = a string array of possible names for data types, stations,
 etc...
 valid_names = those names that will be valid
OUTPUT:
 ok_names = the valid data names, if there are none, then the null
 string is returned
KEYWORDS:
 include_all = if set, include 'all' in the possible datanames
HISTORY:
 22-jan-2007, jmm, jimm@ssl.berkeley.edu

 $LastChangedBy: kenb-mac $
 $LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
 $LastChangedRevision: 241 $
 $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_check_valid_name.pro $

(See themis/common/thm_check_valid_name.pro)


THM_CONFIG

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

  This procedure serves as the themis configuration file.  It sets global (system)
  variables and initializes devices

  This procedure will define the location of data files and the data server.
  This procedure is intended to be called from within the "THM_INIT" procedure.

  This should be the only THEMIS file that requires modification for use in different
  locations.

  There is no need to modify this file if:
     - Your computer is an SSL UNIX machine that mounts "/disks/data/"   (i.e. ALL Linux and Solaris machines at SSL)
     - You use a portable computer that will be caching files on a local hard drive.


  Settings  in this file will be overridden by settings in the environment.
  (see setup_themis or setup_themis_bash for examples of setting environment
  variables on UNIX-like systems.  The environment can also be set on Windows
  systems.)

  KEYWORDS
     no_color_setup   added to prevent cronjob to crash, hfrey, 2007-02-10

(See themis/common/thm_config.pro)


THM_DATA_CALIBRATED

[Previous Routine] [Next Routine] [List of Routines]
	Function: THM_DATA_CALIBRATED

	Purpose:  Determine whether the data stored in a particular TPLOT variable has already been calibrated by examining the contents of it's DLIMIT structure.

	Calling Sequence:
		tplot_var = 'tha_eff'
		get_data, tplot_var, data=d, limit=l, dlimit=dl
		if thm_data_calibrated( dl) then return

	Arguements:
		DL, Anonymous STRUCT.

	Notes:
		None.

 $LastChangedBy: kenb-mac $
 $LastChangedDate: 2007-02-08 10:02:45 -0800 (Thu, 08 Feb 2007) $
 $LastChangedRevision: 329 $
 $URL $

(See themis/common/thm_data_calibrated.pro)


THM_FILE_DOWNLOAD

[Previous Routine] [Next Routine] [List of Routines]
PROCEDURE:  thm_file_download
PURPOSE:  This is a general purpose routine will download all THEMIS data files within
 a given time range.
  It looks for all procedures that match: "thm_load_*.pro" and executes them with the /DOWNLOADONLY keyword set.

 Warning -  This is a BETA  routine and may be deleted in a future release.

(See themis/common/thm_file_download.pro)


THM_GUI

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_gui
PURPOSE:
 Widget program for THEMIS data Analysis, to get the infomation in
 the widget
 use widget_control, widget_id, uval = state
  state = {wmaster:master, $    ;master widget id
           sttime_display:sttime_display, $ ;start_time display id
           entime_display:entime_display, $ ;end_time display id
           datalist:datalist, $ ;datalist id
           plottypelist:plottypelist, $ ;plot type list id
           dtyplist:dtyplist, $ ;data type list id
           stationlist:stationlist, $ ;station list id
           lvllist:lvllist, $   ;data level list id
           sclist:sclist, $     ;probe list id
           plot_type:'X', $     ;plot_type
           st_time:tt0, $       ;start_time, double
           en_time:tt1, $       ;end_time
           data:ptr_new(), $    ;a pointer to the data_quants array in the tplot common
           tplot_vars:ptr_new(), $ ;points to the tplot_vars structure
           plot_configs:ptr_new(), $ ;points to the plot_configs structure
           current_config:ptr_new(), $;points to the current_config
           data_id:ptr_new(), $ ;a pointer to an array of strings, 1 for each loaded dataset
           history:ptr_new(init_history), $ ;a string array with the analysis history
           dtypstring:'mag', $  ;the most recently loaded datatype
           lvl:'l2', $          ;level 0, 1 or 2
           sc:'thg', $          ;probe_id, 'thg' is ground magnetometer
           station:'all'}
CALLING SEQUENCE:
 thm_gui
HISTORY:
 sep-2006, jmm, jimm@ssl.berkeley.edu
 13-dec-2006, jmm, changed format of times in history strings, added
 clear_history button
 14-dec-2006, jmm, added delete_data button
 8 - 16-jan 2007, all sorts of changes, to describe the different
     data types. Input is now restricted to thm_load pograms
 8-feb-2007, jmm,, changed the name
$LastChangedBy$
$LastChangedDate$
$LastChangedRevision$
$URL$

(See themis/common/thm_gui.pro)


THM_INIT

[Previous Routine] [Next Routine] [List of Routines]
PROCEDURE:  thm_init
PURPOSE:    Initializes system variables for themis.  Can be called from idl_startup to set
            custom locations.

 The system variable !THEMIS is defined here.  The elements of this structure are explained below:

 !THEMIS.LOCAL_DATA_DIR    This is the root location for all THEMIS data files.
                  The THEMIS software expects all data files to reside in specific subdirectories relative
                  to this root directory.;

 !THEMIS.REMOTE_DATA_DIR   This is the URL of the server that can provide the data files.
                  (default is: "http://sprg.ssl.berkeley.edu/data/themis/")
                  if the software does not find a needed file in LOCAL_DATA_DIR,
                  then it will attempt to download the data from the URL and REMOTE_DATA_DIR is defined,
                  the software will attempt to download the file from REMOTE_DATA_DIR, place it in LOCAL_DATA_DIR
                  with the same relative pathname, and then continue processing.


KEYWORDS:
   RESET:           Reset !themis to values in environment (or values in keywords).
   LOCAL_DATA_DIR:  use given value for local_data_dir, rather than environment. Only works on
                    initial call or reset.
   REMOTE_DATA_DIR: Use given value for remote_data_dir, rather than env.  Only works on inital
                    call or reset.
   NO_COLOR_SETUP   do not set colors if already taken care of

 Typical examples:

          Desktop UNIX/LINUX computer located at SSL
   LOCAL_DATA_DIR  = '/disks/data/themis/'               ; This master directory is read only.
   REMOTE_DATA_DIR = ''                                  ; Should be empty sting. (/disks/data/themis and server are the same)

          Desktop WINDOWS computer located at SSL
   LOCAL_DATA_DIR  = '\\justice\data\themis\'            ; Justice is a samba server (physically the same as /disk/data/themis)
   REMOTE_DATA_DIR = ''

          laptop WINDOWS computer located far from a data server, but with internet connection.
   LOCAL_DATA_DIR  = 'C;\data\themis\'                              ; Local (portable) directory on laptop
   REMOTE_DATA_DIR = 'http://sprg.ssl.berkeley.edu/data/themis/'    ;  URL used to download data to LOCAL_DATA_DIR

          MacOS computer located away from SSL without a nearby data server
   LOCAL_DATA_DIR  = '/data/themis/'                              ; Local (portable) directory on laptop
   REMOTE_DATA_DIR = 'http://sprg.ssl.berkeley.edu/data/themis/'    ;  URL used to download data to LOCAL_DATA_DIR

   Note: If automatic downloads are used. (i.e. REMOTE_DATA_DIR is not an empty string) the user must ensure that
   LOCAL_DATA_DIR is writeable.

   Note to WINDOWS users: the WINDOWS version of IDL accepts both the '\' and '/' character as the directory
   separation character. The converse is not true.


HISTORY
 Written by Davin Larson
 2006-12-16 KRB Can now be called from idl_startup to set paths using optional keywords.

$LastChangedBy: hfrey $
$LastChangedDate: 2007-02-10 13:04:40 -0800 (Sat, 10 Feb 2007) $
$LastChangedRevision: 369 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_init.pro $

(See themis/common/thm_init.pro)


THM_LOAD_XXX

[Previous Routine] [Next Routine] [List of Routines]
Procedure: THM_LOAD_XXX

Purpose:  Generic THEMIS Data File Loading routine, meant to be called by
   type specific thm_load procedures.

keywords:
  post_process_proc: name of procedure to call after cdf2tplot is called
                     will be called w/ keywords sname, dt (datatype), lvl,
                     and _extra.
  relpath_funct: name of routine to call in place of file_dailynames
                 may simply be a wrapper.
                 will be called w/ keywords sname, dt (datatype), lvl,
                 and _extra.
  cdf_to_tplot: user-supplied procedure to override cdf2tplot
  sname  = site or probe name. The default is 'all',
  type_sname = string, set to 'probe' or 'site'
  vsnames = space-separated list of valid probes/sites
  datatype = The type of data to be loaded, for this case, there is only
          one option, the default value of 'fgm', so this is a
          placeholder should there be more that one data type. 'all'
          can be passed in also, to get all variables.
  vdatatypes = space-separated list of valid data types
  TRANGE= (Optional) Time range of interest  (2 element array), if
          this is not set, the default is to prompt the user. Note
          that if the input time range is not a full day, a full
          day's data is loaded
  level = the level of the data, the default is 'l1', or level-1
          data. A string (e.g., 'l2') or an integer can be used. 'all'
          can be passed in also, to get all levels.
  vlevels
  CDF_DATA: named variable in which to return cdf data structure: only works
          for a single spacecraft and datafile name.
  VARNAMES: names of variables to load from cdf: default is all.
  /GET_SUPPORT_DATA: load support_data variables as well as data variables
                      into tplot variables.
  /DOWNLOADONLY: download file but don't read it.
  /valid_names, if set, then this routine will return the valid probe, datatype
          and/or level options in named variables supplied as
          arguments to the corresponding keywords.
  files   named varible for output of pathnames of local files.
  /VERBOSE  set to output some useful info

Notes:
  This routine is (should be) platform independent.

 $LastChangedBy: kenb-mac $
 $LastChangedDate: 2007-02-08 09:48:04 -0800 (Thu, 08 Feb 2007) $
 $LastChangedRevision: 328 $
 $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_load_xxx.pro $

(See themis/common/thm_load_xxx.pro)


THM_TPLOT_VAR

[Previous Routine] [Next Routine] [List of Routines]
Function: THM_TPLOT_VAR

Purpose:  Creates TPLOT variable name from SC id and data qty strings.
keywords:
   /VERBOSE or VERBOSE=n ; set to enable diagnostic message output.
		higher values of n produce more and lower-level diagnostic messages.
   /ALL

Example:
	sc = 'a'
	name = 'eff'
   tplot_var = thm_tplot_var( sc, name)
Notes:

 $LastChangedBy: kenb-mac $
 $LastChangedDate: 2007-02-08 10:02:45 -0800 (Thu, 08 Feb 2007) $
 $LastChangedRevision: 329 $
 $URL $

(See themis/common/thm_tplot_var.pro)


THM_UI_CALL_TPLOT

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_call_tplot
PURPOSE:
 A widget interface for calling tplot from the themis_w widget,
 currently of limited usefulness, but expandable
CALLING SEQUENCE:
 thm_ui_call_tplot, master_widget_id
INPUT:
 master_widget_id = the id number of the widget that calls this
OUTPUT:
 none, there are buttons to push for plotting, setting limits, not
 sure what else yet...
HISTORY:
 14-dec-2006, jmm, jimm@ssl.berkeley.edu

$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_ui_call_tplot.pro $

(See themis/common/thm_ui_call_tplot.pro)


THM_UI_CAL_DATA

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_cal_data
PURPOSE:
 Calls thm_cal_*** routines on input tplot variable names
CALLING SEQUENCE:
 thm_ui_cal_data, state, datatype
INPUT:
 state = the state structure of the calling widget
 datatype = the type of data to calibrate, 'EFI','FBK','FIT', 'FGM', 'MOM'
OUTPUT:
 None explicit, the state structure is updated
HISTORY:
 4-feb-2007, jmm, jimm@ssl.berkeley.edu
 7-feb-2007, jmm, rewritten
$LastChangedBy$
$LastChangedDate$
$LastChangedRevision$
$URL$

(See themis/common/thm_ui_cal_data.pro)


THM_UI_HELP

[Previous Routine] [Next Routine] [List of Routines]
NAME:
thm_ui_help
PURPOSE:
 A widget to display the file 'thm_gui.txt' help

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

(See themis/common/thm_ui_help.pro)


THM_UI_HISTORY

[Previous Routine] [Next Routine] [List of Routines]
NAME:
thm_ui_history
PURPOSE:
 A widget to display the string array for the history of programs
 called, given the thm_gui state structure
INPUT:
state structure, with a tag that is a pointer to a string array
OUTPUT:
The history array can be written to a file called
'thm_gui_history.pro', which in principle, should be callable
from IDL
HISTORY:
5-oct-2006, jmm, jimm@ssl.berkeley.edu

$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_ui_history.pro $

(See themis/common/thm_ui_history.pro)


THM_UI_LOAD_DATA_FN

[Previous Routine] [Next Routine] [List of Routines]
NAME:
thm_ui_load_data_fn
PURPOSE:
A widget interface to load CDF data for whatever instrument
CALLING SEQUENCE:
varnames = thm_ui_load_data_fn(st_time, En_time, dtype, station, $
                           id_string,data_ss)
INPUT:
st_time, en_time = start and end times in seconds from
                   1-jan-1970 0:00
dtype, the type of data, a string, of form 'thg_gmag', for example
station, the ground station of the gmag data
probe = the probe_is string, or 'thg' for ground data
data_level = 'L0','L1', or 'l2'
OUTPUT:
varnames = an array of tplot variable names, to pass into tplot
data_ss = the subscripts of the new data in the tplot data_quants structure
 The tplot common is loaded, or appended
HISTORY:
 22-sep-2006, jmm, jimm@ssl.berkeley.edu
 23-oct-2006, jmm, changed to call cdf2tplot
 30-oct-2006, jmm, changed again, to call load_thg_mag, also added 
                   dtype and station as inputs
 13-nov-2006, jmm, changed the argument list, now the output is a
                   data id string, added a check for start time > end
                   time
 08-dec-2006, krb, changed load_thg_mag to thm_load_gmag
 13-dec-2006, jmm, Added call to cdf2tplot for data for which there
                   is no load program...
 14-dec-2006, jmm, returns an array of variable names and
                   subscripts, which should be easier to read..
 15-dec-2006, jmm, Added calls to thm_load_fgm, fit, sst, efi,
                   ask,probe can be an array
 16-jan-2007, jmm, Add all of the thm_load routines
 5-feb-2007, jmm, update calls to load routines

$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_ui_load_data_fn.pro $

(See themis/common/thm_ui_load_data_fn.pro)


THM_UI_MULTICHOICE_HISTORY

[Previous Routine] [Next Routine] [List of Routines]
 This program creates a string for the history array when multiple
 datatypes, spacecraft or stations are chosen, for use in the
 themis_w_event routine
$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_ui_multichoice_history.pro $

(See themis/common/thm_ui_multichoice_history.pro)


THM_UI_NPAR

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_npar
PURPOSE:
 Simple widget that asks for n parameter
CALLING SEQUENCE:
 new_value = thm_ui_npar(name, init_value)
INPUT:
 name = the name of the parameter, can be an array
 init_value = the initial value of the parameter, e.g., '1.0', must
              be a string array of the smae size as name
OUTPUT:
 new_value = the output value of the parameter, a string, e.g., '4.67'
HISTORY:
 5-feb-2007, jmm, jimm@ssl.berkeley.edu

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

(See themis/common/thm_ui_npar.pro)


THM_UI_ONLY_TRANGE

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_only_trange
PURPOSE:
 This program oprerates on the tplot data_quants to strip out data
 the is not in the input time range: start time, end time, and the
 subscripts of the appropriate data_quants structures are used, this
 is designed to be used in thm_ui_load_data_fn only... jmm,
 13-nov-2006
INPUT:
 st_time, en_time = time in seconds from 1-jan-1970 0:00
 data_ss = the subscripts of the data array to on which to operate
OUTPUT:
 None explicit, the tplot variables are changed
HISTORY:
 jmm, 13-nov-2006, jimm@ssl.berkeley.edu
 jmm, 13-dec-2006, made to work for non thg_mag data

$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_ui_only_trange.pro $

(See themis/common/thm_ui_only_trange.pro)


THM_UI_PAR

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_par
PURPOSE:
 Simple widget that asks for a parameter
CALLING SEQUENCE:
 new_value = thm_ui_par(name, init_value)
INPUT:
 name = the name of the parameter, e.g., 'time_resolution'
 init_value = the initial value of the parameter, e.g., '1.0', must
              be a string.
OUTPUT:
 new_value = the output value of the parameter, a string, e.g., '4.67'
HISTORY:
 22-jan-2007, jmm, jimm@ssl.berkeley.edu

$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_ui_par.pro $

(See themis/common/thm_ui_par.pro)


THM_UI_PLOT_DATA

[Previous Routine] [Next Routine] [List of Routines]
NAME:
thm_ui_plot_data
PURPOSE:
This will call instrument-level summary plot routines, such as
thm_gmag_stackplot from the themis_w routine
CALLING SEQUENCE:
thm_ui_plot_data, state, history_ext
INPUT:
state = the state structure from the themis_w GUI program
OUTPUT:
history_ext = a string array that returns the history
HISTORY:
13-Nov-2006, jmm, jimm@ssl.berkeley.edu, currently only calls the
             stackmagplot routine, and needs a different mastercdf
             path, 
5-feb-2006, jmm, rewritten, but still only calls the stackmagplot routine

$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_ui_plot_data.pro $

(See themis/common/thm_ui_plot_data.pro)


THM_UI_RESET_COMMON_BLOCK

[Previous Routine] [Next Routine] [List of Routines]
 This puts the input data structure into the tplot common block as
 the data_quants structure, and undefines all of the other variables
 in the common block, using temporary, the original common block is
 saved in a different common block. This is needed to call the
 stackmagplot routine on a subset of stations
 13-nov-2006, jmm, jimm@ssl.berkeley.edu

$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_ui_reset_common_block.pro $

(See themis/common/thm_ui_reset_common_block.pro)


THM_UI_SCLIST

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_sclist
PURPOSE:
 creates an array for the different themis spacecraft, to be used in
 a list widget
CALLING SEQUENCE:
 sclist = thm_ui_sclist()
INPUT:
 none
OUTPUT:
 sclist = ['THA', 'THB', 'THC', 'THD', 'THE']

$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_ui_sclist.pro $

(See themis/common/thm_ui_sclist.pro)


THM_UI_SET_ACTIVE_DSET

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_set_active_dset
PURPOSE:
 sets active datasets in themis GUI to given tplot varnames, used in
 the call_tplot widget.
CALLING SEQUENCE:
 ss = thm_ui_set_active_dset(active_names, state)
INPUT:
 active_names = the tplot variable names
 state = the widget state structure for the master widget
HISTORY:
 22-jan-2007, jmm, jimm@ssl.berkeley.edu

$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_ui_set_active_dset.pro $

(See themis/common/thm_ui_set_active_dset.pro)


THM_UI_SET_STATE_PTRS

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_set_state_ptrs
PURPOSE:
 This program sets the values of the pointers in the themis_w state
 structure to their counterparts in the tplot common block:
INPUT:
 state = themis_w state structure: See the doc_header for
 themis_w.pro
HISTORY:
 13-nov-2006, jmm, jimm@ssl.berkeley.edu
 14-dec-2006, jmm, deals with no data

$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_ui_set_state_ptrs.pro $

(See themis/common/thm_ui_set_state_ptrs.pro)


THM_UI_TEMP_ARR2STR

[Previous Routine] [Next Routine] [List of Routines]
 Changes an array of strings to 1 string with spaces in between, to
 pass arrays of strings into tplot.
 This must exist somewhere else, but i cant find it....
$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_ui_temp_arr2str.pro $

(See themis/common/thm_ui_temp_arr2str.pro)


THM_UI_TSELECT

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_tselect
PURPOSE:
 A list widget for time selection, this is a blocking widget, it must
 be exited for anything to happen
CALLING SEQUENCE:
 thm_ui_teslect
INPUT:
 none
OUTPUT:
 the selected time is held in the common block saved_time_sel
HISTORY:
 sep-2006,  jmm,  jimm@ssl.berkeley.edu

$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_ui_tselect.pro $

(See themis/common/thm_ui_tselect.pro)


THM_UI_TSELECT_FN

[Previous Routine] [Next Routine] [List of Routines]
 Calls the thm_tselect widget, returns the value..

$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_ui_tselect_fn.pro $

(See themis/common/thm_ui_tselect_fn.pro)


THM_UI_UPDATE_DATA_DISPLAY

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_update_data_display
PURPOSE:
 update the loaded-data display for the themis_w widget
CALLIMG SEQUENCE:
 thm_ui_update_data_display, widget_id
INPUT:
 widget_id = the id number of the widget

$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_ui_update_data_display.pro $

(See themis/common/thm_ui_update_data_display.pro)


THM_UI_UPDATE_HISTORY

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_update_history
PURPOSE:
 Adds the string input to the state structure history array
INPUT:
 string = a string to add to the history array
 state = the themis_w state structure, 
OUTPUT:
 state.history is updated
HISTORY:
 sep-2006, jmm, jimm@ssl.berkeley.edu

$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_ui_update_history.pro $

(See themis/common/thm_ui_update_history.pro)


THM_UI_VALID_DTYPE

[Previous Routine] [Next Routine] [List of Routines]
NAME:
 thm_ui_valid_dtype
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_valid_dtype(instrument)
INPUT:
 none
OUTPUT:
 datalist = a list of the datatypes that can be loaded
 instrument = the instrument responsible for this datatype, note that
    if there is no way to get at the valid_names from the thm_load
    procedure for a given instrument, then the instrument = the
    datatype. 
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....
$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/thm_ui_valid_dtype.pro $

(See themis/common/thm_ui_valid_dtype.pro)


YESNO_WIDGET_FN

[Previous Routine] [List of Routines]
NAME:
 yesno_widget_fn
PURPOSE:
 Simple widget that asks for a yes or no
CALLING SEQUENCE:
 yn=yesno_widget_fn(title, list = list, _extra = _extra)
INPUT:
 title = a title, or a question
OUTPUT:
 yn = 0 for no, 1 for yes
KEYWORDS:
 list, a string array to put in the widget, as an aid
HISTORY:
 27-nov-2006, jmm, jimm@ssl.berkeley.edu

$LastChangedBy: kenb-mac $
$LastChangedDate: 2007-01-26 15:52:34 -0800 (Fri, 26 Jan 2007) $
$LastChangedRevision: 241 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/common/yesno_widget_fn.pro $

(See themis/common/yesno_widget_fn.pro)