IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 8, 2010, 4:06:45 PM (16 years ago)
Author:
watersc1
Message:

Edits for detrend cleanup.

File:
1 edited

Legend:

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

    r25324 r26815  
    11-- need to restrict to a single detRunSummary (require all to say 'cleaned'?)
    2 SELECT
     2SELECT DISTINCT
    33    detProcessedExp.*,
    44    rawExp.camera
    5 FROM detRunSummary
    6 JOIN detProcessedExp
    7     USING(det_id)
     5FROM detProcessedExp
     6JOIN detInputExp
     7     USING(det_id,exp_id)
    88JOIN rawExp
    99     USING(exp_id)
    1010WHERE
    11     ((detRunSummary.data_state = 'goto_cleaned'
    12       AND detProcessedExp.data_state = 'full')
    13      OR (detRunSummary.data_state = 'goto_scrubbed'
    14          AND detProcessedExp.data_state = 'full')
    15      OR (detRunSummary.data_state = 'goto_purged'
    16          AND detProcessedExp.data_state = 'full')
    17      OR detProcessedExp.data_state = 'goto_cleaned'
     11    (detProcessedExp.data_state = 'goto_cleaned'
    1812     OR detProcessedExp.data_state = 'goto_scrubbed'
    1913     OR detProcessedExp.data_state = 'goto_purged')
Note: See TracChangeset for help on using the changeset viewer.