wcs_doall

A wrapper script that handles the wcs solution steps. It runs the wcs_getA script to manually find calibrating star sets and derive the WCS solution. If this has already been done (i.e. the file A.fits currently exists) then wcs_getA skips out. Next, a full catalog solution (using all available stars from the STARS.cdfp file) is established with the wcs_getB script. The catalog file (STARS.cdfp) can be constructed in two ways:

  1. OTHER = a star catalog of 2MASS+USNO+2MASS data
  2. USNO = any USNO sources (this option for LRS-like fields)

% % wcs_doall ./a.fits USNO 
% % wcs_doall ./namo.fits OTHER  
 

Useful features:
  1. If a "Verbose.On" is present, then some verbose output is provided.
  2. If a "Faint_Mag.Limit" limit file is present, then a faint limit is read and used in gathering the sources. This is helpful for cases where you are calibrating a wide-area image.
  3. If a "Default.DSS" file is present, then it is used to specify the value of the radius (in arcmin) of the DSS image.
  4. If a local file named "no_cat.plot" is present, then the overplotting of the collection stars (via STARS.cdfp.reg) is skipped. The catalog is made, but the actual overplotting is not performed. This facilitates the use of skygrab in other scripts (e.g. het_acam) that draw complicated region sets.
  5. If the DSS image (named dss.fits) is ALREADY present, then that occasionally lengthy step is skipped.



Back to SCO CODES page