IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18975 for trunk/ippTools/share


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

Location:
trunk/ippTools/share
Files:
3 edited

Legend:

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

    r18952 r18975  
    33    diffRun.tess_id,
    44    diffRun.state,
    5     diffSkyfile.*
     5    diffSkyfile.*,
     6    rawExp.exp_id,
     7    rawExp.camera
    68FROM diffRun
    79JOIN diffSkyfile
    810    USING(diff_id)
     11-- my new stuff begins here
     12JOIN diffInputSkyfile
     13    ON diffInputSkyfile.diff_id = diffRun.diff_id
     14    AND diffInputSkyfile.template = 0
     15JOIN warpRun
     16    ON diffInputSkyfile.warp_id = warpRun.warp_id
     17JOIN fakeRun
     18    ON warpRun.fake_id = fakeRun.fake_id
     19JOIN camRun
     20    ON camRun.cam_id = fakeRun.cam_id
     21JOIN chipRun
     22    ON camRun.chip_id = chipRun.chip_id
     23JOIN rawExp
     24    ON chipRun.exp_id = rawExp.exp_id
     25-- my new stuff ends here
    926    WHERE
    1027    -- bogus test to allow appending conditionals
  • 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
  • trunk/ippTools/share/warptool_warped.sql

    r18950 r18975  
    11SELECT
    22    warpSkyfile.*,
    3     warpRun.state
     3    warpRun.state,
     4    rawExp.exp_id,
     5    rawExp.camera
    46FROM warpRun
    57JOIN warpSkyfile
    68    USING(warp_id)
     9JOIN fakeRun
     10    ON warpRun.fake_id = fakeRun.fake_id
     11JOIN camRun
     12    ON camRun.cam_id   = fakeRun.cam_id
     13JOIN chipRun
     14    ON camRun.chip_id  = chipRun.chip_id
     15JOIN rawExp
     16    ON chipRun.exp_id  = rawExp.exp_id
    717WHERE
    818-- 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.