NAME: occwcsgen PURPOSE: (one line only) WCS solutions for occultation datasets DESCRIPTION: CATEGORY: Occultations CALLING SEQUENCE: INPUTS: OPTIONAL INPUT PARAMETERS: KEYWORD INPUT PARAMETERS: DISPLAY - flag, if set will generate graphics for each image processed TEAM - String, if set selects data from just one team to process BINFAC - Only process data with this binning factor REDO - Ignore prior astrometric solution for image and process anyway INDEX - Pick just one image to work on without saving NOASK - When batch processing, automatically flag images bad as needed TEST - Flag, if set means to process just one frame and quit without saving. This is only useful when setting either TEAM or INDEX FORCESAVE - Flag, force updating WCS save to image header for cases where there is already a solution. MANUAL - Flag, if set permits a manual intervention in the astrometry. However, this option is applied only when everything else fails. If triggered, you see a widget pop up (wastrom.pro) that lets you take over the plate solving process. OUTPUTS: KEYWORD OUTPUT PARAMETERS: CONFIGURATION: File: config.ini [global] event - string with short ID name of event (ex: OR20200914) maglim - limiting magnitude of reference catalog (default=0.) matchthresh - Percent of matching sources to trust (default=80) [TEAM] - name of team hwfov - half-width of the field of view maglim - limiting magnitude of reference catalog (default=0.) matchthresh - Percent of matching sources to trust (default=80) [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/31, MWB, changed logic for the name of the star catalog file 2021/02/01, MWB, fixed logic for batch processing 2021/11/23, MWB, changed logic on dummy wcsinit line if data not found and added new output line of wcsinit info when solution is successful, added matchthresh config option, added MANUAL keyword 2021/11/29, MWB, integrated wastrom into this tool, enabled with /MANUAL