IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 10, 2008, 10:32:59 AM (18 years ago)
Author:
eugene
Message:

updates from current HEAD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080719/ippTools/share/stacktool_sumskyfile.sql

    r18644 r19003  
    11SELECT
    2     stackSumSkyfile.*
     2    stackSumSkyfile.*,
     3    stackRun.state,
     4    rawExp.camera
    35FROM stackRun
    46JOIN stackSumSkyfile
    57    USING(stack_id)
     8JOIN warpRun
     9    -- just need 1 warp to find the camera
     10    ON warpRun.warp_id = (SELECT warp_id FROM stackInputSkyfile
     11                            WHERE stackInputSkyfile.stack_id = stackRun.stack_id limit 1)
     12JOIN fakeRun
     13    ON warpRun.fake_id = fakeRun.fake_id
     14JOIN camRun
     15    ON camRun.cam_id   = fakeRun.cam_id
     16JOIN chipRun
     17    ON camRun.chip_id  = chipRun.chip_id
     18JOIN rawExp
     19    ON chipRun.exp_id  = rawExp.exp_id
    620WHERE
    7     stackRun.state = 'new'
     21-- bogus test; just here so there there is a 'WHERE' stmt to append conditionals too
     22-- XXX EAM : this is not needed : fix the stacktool code.
     23    stackRun.stack_id is NOT NULL
Note: See TracChangeset for help on using the changeset viewer.