IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 30, 2021, 11:25:08 AM (5 years ago)
Author:
eugene
Message:

catch empty reference files (e.g., no known asteroids in an exposure); select inv.cmf if .cmf is missing; some support for multiple host jobs; use mid-exposure date/time as reference

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/teleff/cammask.pro

    r41720 r41742  
    4646 # load the reference source table
    4747 # NOTE: Mref is chosen to match filter for this exposure
    48  data $refsrcs; read -fits DATA $REF_FIELDS_CAM
     48 data $refsrcs;
     49 read -fits DATA -sizes
     50 if ($table:Ny == 0)
     51  echo "ERROR: no reference sources found in $refsrcs"
     52  break
     53 end
     54 
     55 read -fits DATA $REF_FIELDS_CAM
    4956 set Nref = ramp(Rref)
    5057
Note: See TracChangeset for help on using the changeset viewer.