NAME: occloadinfo PURPOSE: (one line only) Load image information from an occultation dataset into the database DESCRIPTION: CATEGORY: Occultations CALLING SEQUENCE: occloadinfo,team INPUTS: team - string for the team name (must match directories) OPTIONAL INPUT PARAMETERS: KEYWORD INPUT PARAMETERS: BINFAC - binning factor, default=1, you only get to load one option UPDATE - flag, set to load missing images from an earlier run this routine never deletes or modifies anything already in the database OUTPUTS: KEYWORD OUTPUT PARAMETERS: CONFIGURATION: File: config.ini [global] event - string with short ID name of event (ex: OR20200914) dir - relative directory for this data set added to the root dir date - YYYY-MM-DD both date and directory name part of path [TEAM] - name of the team (input variable) dirtime - HH_MM_SS both starting time and directory name part of path stemdir - override of internal stemdir logic, this provides the bit in between the root directory picked up in [ddir] and dirtime. [ddir] - section to list potential root directories to find data XXX -XXX is a unique string (eg., D01) is a directory path for additional details see getddir.pro COMMON BLOCKS: SIDE EFFECTS: RESTRICTIONS: PROCEDURE: MODIFICATION HISTORY: Written by Marc W. Buie, Southwest Research Institute, 2020/09/24 2021/01/18, MWB, added new handling of binned data 2021/01/27, MWB, added support for stemdir in team stanza in config.ini 2023/04/04, MWB, added new logic for stemdir