NAME:
  occsearch
 PURPOSE:   (one line only)
  Search one or more object for occultations
 DESCRIPTION:
 CATEGORY:
  Occultations
 CALLING SEQUENCE:
  occsearch,set
 INPUTS:
  set - Name of a set.  There will be a file set+'.set' that must contain
          a list of objects.  This can be the output of newlist.pro and
          must have the geteph prefix for the object.
        It is also required to have a configuration file, set+'.ini' with
          control information.  The following must be in the [global]
          section:
            fnlist - name of a file that must contain a lits of objects.
                     This can be the output of newlist.pro and must have
                     the geteph prefix for the object.
            date1  - Gregorian calendar date for the beginning of the
                       search window
            date2  - Gregorian calendar date for the end of the
                       search window
            geominsep - maximum geocentric minimum separation [arcsec]
            minsel  - minimum solar elongation allowed [degrees]
INPUT PARAMETERS:
 KEYWORD INPUT PARAMETERS:
 OUTPUTS:
  Lots and lots of files in a direc.
 KEYWORD OUTPUT PARAMETERS:
 CONFIGURATION:
 COMMON BLOCKS:
 SIDE EFFECTS:
 RESTRICTIONS:
 PROCEDURE:
 MODIFICATION HISTORY:
  Written by Marc W. Buie, Southwest Research Institute, 2023/03/25
  2023/04/04, MWB, added a hack to the spawn command to run convert to
                      bypass a problem with IDL.
  2024/11/13, MWB, changed convert command to "magick".  Dropped geominsep
                 from .ini file.  This is now dyanamically calculated
                 for each appulse.