IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 12, 2013, 4:24:02 PM (13 years ago)
Author:
bills
Message:

Further changes to background spur in the pipeline.

  1. Add chipBackgroundRun.cam_id
  2. Use camera stage mask instead of chip stage mask
  3. Drop warpBackgroundRun.alt_cam_label use chipBackgroundRun.cam_id to find the astrometry
  4. Fix broken processing of chipBackground stats output
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/bgtool_definechip.sql

    r35119 r35154  
    11SELECT
    2     chipRun.*
     2    chipRun.*,
     3    camRun.cam_id,
     4    chip_bg_id,
     5    CURRENT_TIMESTAMP AS registered
    36FROM chipRun
    47JOIN rawExp USING(exp_id)
    5 LEFT JOIN chipBackgroundRun USING(chip_id)
    6 WHERE chipRun.state = 'full'
     8JOIN chipRun as altChipRun USING(exp_id)
     9JOIN camRun ON altChipRun.chip_id = camRun.chip_id
     10JOIN camProcessedExp USING(cam_id)
     11LEFT JOIN chipBackgroundRun ON chipBackgroundRun.chip_id = chipRun.chip_id -- labelHook %s
     12WHERE chipRun.state = 'full' AND camRun.state ='full' AND camProcessedExp.quality = 0
Note: See TracChangeset for help on using the changeset viewer.