IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 14, 2021, 10:00:13 AM (5 years ago)
Author:
eugene
Message:

fix minor bugs, update output names for consistency

File:
1 edited

Legend:

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

    r41717 r41719  
    22
    33$VERBOSE    = 1       
    4 $COPYMASKS  = 1
     4$COPYMASKS  = 0
    55$OUTDIR     = .
    66$OUTVERSION = XXX
     
    4646  if ($VERBOSE) echo "loaded Rref[] sources from reference $refsrcs"
    4747
     48  # delete any existing output vectors
     49  foreach field $REF_FIELDS_WRP $XTR_FIELDS_WRP
     50    delete -q $field\_out
     51  end
     52
    4853  # find matching entries in smf file
    4954  for i 0 $warpMask:n
    5055    get.warp.mask.stats $warpMask:$i
    5156
    52     foreach field REF_FIELDS_WRP $XTR_FIELDS_WRP
     57    foreach field $REF_FIELDS_WRP $XTR_FIELDS_WRP
    5358      concat $field\_onchp $field\_out
    5459      delete $field\_onchp
     
    6166  end
    6267
    63   sprintf output "%s/%s.%s.%s.warp.stf" $OUTDIR $expname $skycell:$i $OUTVERSION
     68  sprintf output "%s/%s.%s.wrp.stf" $OUTDIR $expname $OUTVERSION
    6469  write -fits DATA $output $OUT_FIELDS
    6570end
Note: See TracChangeset for help on using the changeset viewer.