IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 8, 2008, 12:37:49 PM (18 years ago)
Author:
bills
Message:

In the modes for difftool, stacktool, and warptool that print out results
of runs include the exp_id and camera and also allow (or fix bugs in)
selecting by exp_id

File:
1 edited

Legend:

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

    r18951 r18975  
    11SELECT
    22    stackSumSkyfile.*,
    3     stackRun.state
     3    stackRun.state,
     4    rawExp.camera
    45FROM stackRun
    56JOIN stackSumSkyfile
    67    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
    720WHERE
    821-- bogus test; just here so there there is a 'WHERE' stmt to append conditionals too
Note: See TracChangeset for help on using the changeset viewer.