IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 30, 2009, 5:20:29 PM (17 years ago)
Author:
watersc1
Message:

Finished up my edits to the detrend cleanup, and some changes to my
copy of burntool and the pslib astrometry. Detrend cleanup has not
been tested yet. That's up next.

Location:
branches/czw_branch/cleanup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/cleanup

  • branches/czw_branch/cleanup/ippTools/share/disttool_pendingcomponent.sql

    r24682 r24951  
    1818    rawImfile.magicked
    1919FROM distRun
    20 JOIN rawExp ON exp_id = stage_id
    21 JOIN (                      -- find the last satisfactory chip run
    22                             -- note this requires that a chip run have been completed even when
    23                             -- magic is not required for the run
    24     SELECT
    25         exp_id,
    26         MAX(chip_id) AS chip_id
    27     FROM chipRun
    28     JOIN distRun ON stage_id = exp_id AND stage = 'raw'
    29     WHERE
    30         chipRun.state = 'full'
    31         AND chipRun.exp_id = exp_id
    32         AND (chipRun.magicked OR distRun.no_magic)
    33         GROUP BY exp_id
    34     ) AS bestChipRun
    35     USING(exp_id)
     20JOIN rawExp ON rawExp.exp_id = stage_id
    3621JOIN rawImfile USING(exp_id)
     22JOIN chipRun ON chipRun.exp_id = rawExp.exp_id and chipRun.magicked
    3723JOIN chipProcessedImfile
    38     USING(exp_id, chip_id, class_id)
     24    USING(chip_id, class_id)
    3925LEFT JOIN distComponent
    4026    ON distRun.dist_id = distComponent.dist_id
Note: See TracChangeset for help on using the changeset viewer.