NAME:
  occinfogen
 PURPOSE:   (one line only)
  Generate information about an occultation dataset
 DESCRIPTION:
 CATEGORY:
  Occultations
 CALLING SEQUENCE:
  occinfogen,team
 INPUTS:
 OPTIONAL INPUT PARAMETERS:
  team - string for the team name (must match directories)
 KEYWORD INPUT PARAMETERS:
  FWHMGUESS - Initial guess for the FWHM, default=10, this only used if
                 the guess is not provided inthe configuration file.
  TEST      - Flag, set to run but not save anything.  Do this until you find
                a reasonable value for FWHMGUESS
  NODISPLAY - Flag, if set suppresses the graphical output
 OUTPUTS:
  Nothing is saved, only plots are generated
 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
     maxphotsig - maximum photometric signal (DN)
     snrlimit   - lower bound of SNR of detected sources to be kept
     minfwhm    - Minimum valid FWHM for a source to keep
     fwhmguess  - Starting guess value for FWHM (pixels)
   [TEAM]   - name of the team (input variable)
     dirtime - HH_MM_SS both starting time and directory name part of path
     maxphotsig - override of value in [global]
     snrlimit   - override of value in [global]
     minfwhm    - override of value in [global]
     fwhmguess  - override of value in [global]
     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/27, MWB, added support for stemdir in team stanza in config.ini
  2022/02/11, MWB, added NODISPLAY keyword
  2023/04/04, MWB, adjustment to scheme for finding data.