This page was created by the IDL library routine mk_html_help2.

Last modified: Fri Feb 10 22:18:00 2012.


Directory Listing of Routines


Routine Descriptions

TEST_LEAP_YR

[Next Routine] [List of Routines]
 NAME:
       test_leap_yr
 CALLING SEQUENCE:
       lyr=test_leap_yr(iyr,modays=modays)
 PURPOSE:
       Determines whether a given year is a leap year, and
       returns the number of days in every month
 INPUT:
       iyr = The year, as an integer
 OUTPUT:
       lyr= 1 if iyr is a leap year and 0 if not
 KEYWORDS:
       modays= the number of days in each month
       modays= [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] for
       a leap yr, [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] otherwise
 HISTORY:
       Written 19-OCt-93 by JM
       Rewritten, 9-jul-2007, jmm

(See iugonet/gui/thm_ui_timefix.pro)


THM_UI_CALL_SEQUENCE__DEFINE

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

PURPOSE:
  Stores the sequence of procedure calls that was used to load data.


CALLING SEQUENCE:
 obj = obj_new('thm_ui_call_sequence',loadeddata)
 
Methods:
  addloadcall: This method should be called in load themis data, every time 
               'thm_ui_new_load_data2obj' is called
  getCalls:  This method returns the list of stored function calls as an
             array of pointers to structs
  setCalls: This method stores an array of pointers to structs that represent
             function/procedure calls
  reCall: This method will re-execute the sequence of stored function calls
  
  merge: This method will combine two call sequence objects.  It attempts to guarantee that
          the correct data quantities are generated, while preventing duplication of effort. 

  getDomElement: serializes this class into an XML Dom object
  BuildFromDomElement:  deserializes this class from an XML Dom Object

NOTE:  1.  This object is designed in such a way that it should be straightforward
       to ingest calls from other types of routines. For example: calls to delete data
       or calls to load data from non-themis sources.  The public interface
       is set up in such a way that it should ease these types of extensions 
       in the future.
       
       2.  Right now, it cannot guarantee that *all* the data that was saved will
       be present when reCalled, because it does not keep track of custom tplot variables,
       or data processing calls. 
 
HISTORY:
$LastChangedBy: pcruce $
$LastChangedDate: 2011-02-10 13:01:17 -0800 (Thu, 10 Feb 2011) $
$LastChangedRevision: 8138 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_6_00/idl/themis/thm_ui_new/objects/thm_ui_call_sequence__define.pro $

(See iugonet/gui/thm_ui_call_sequence__define.pro)


THM_UI_INIT_LOAD_WINDOW

[Previous Routine] [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 iugonet/gui/thm_ui_init_load_window.pro)


THM_UI_LOAD_IUGONET_DATA

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

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

HISTORY:
$LastChangedBy: Y.Tanaka $
$LastChangedDate: 2010-04-20 $

Modifications:
A. Shinbori, 02/05/2011




(See iugonet/gui/thm_ui_load_iugonet_data.pro)


THM_UI_LOAD_IUGONET_DATA_LOAD_PRO

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

PURPOSE:
  Modularized gui iugonet data loader

HISTORY:
$LastChangedBy: Y.Tanaka $
$LastChangedDate: 2010-04-20 $
 
Modifications:
A. Shinbori, 12/05/2010
A. Shinbori, 10/07/2010
A. Shinbori, 25/11/2010
A. Shinbori, 11/01/2011
A. Shinbori, 01/02/2011

(See iugonet/gui/thm_ui_load_iugonet_data_load_pro.pro)


THM_UI_TIMEFIX

[Previous Routine] [List of Routines]
NAME:
 thm_ui_timefix
PURPOSE:
 Will fix an input time string of yyyy-mm-dd hh:mm:ss.xxxx if there
 is only 1 digit in the day or hour or second, etc.
 Will also return an error message, if the months, days, hours,
 seconds are not valid
$LastChangedBy: aaflores $
$LastChangedDate: 2010-01-28 15:17:35 -0800 (Thu, 28 Jan 2010) $
$LastChangedRevision: 7174 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_6_00/idl/themis/thm_ui/thm_ui_timefix.pro $
unction thm_ui_timefix, time_in, progobj = progobj, _extra = _extra

(See iugonet/gui/thm_ui_timefix.pro)