IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 16, 2010, 6:28:29 PM (16 years ago)
Author:
watersc1
Message:

IPP->OTIS image quality statistic publishing tool, with all the recent updates to make it work correctly and produce useful tables.

File:
1 edited

Legend:

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

    r26378 r27304  
    11-- query to identify unique data to bundle
    22
    3 SELECT exp_id,chip_id,cam_id,warp_id,invalid from rawExp
     3SELECT DISTINCT exp_id,chip_id,cam_id,warp_id,invalid from rawExp
    44        JOIN chipRun USING(exp_id)
    55        JOIN camRun USING(chip_id)
     
    77        LEFT OUTER JOIN warpRun USING(fake_id)
    88        LEFT OUTER JOIN dqstatsContent USING (exp_id,chip_id,cam_id,warp_id)
    9 WHERE (invalid IS NULL OR invalid = 1)
     9WHERE camRun.state = 'full'
Note: See TracChangeset for help on using the changeset viewer.