IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14254


Ignore:
Timestamp:
Jul 16, 2007, 5:33:09 PM (19 years ago)
Author:
jhoblitt
Message:

fix dettool -inputskyfile

File:
1 edited

Legend:

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

    r14031 r14254  
    1 SELECT DISTINCT
    2     warpSkyfile.*,
     1SELECT
     2    diffRun.diff_id,
     3    diffRun.skycell_id,
     4    diffRun.tess_id,
     5    NULL as stack_id,
     6    warpSkyfile.warp_id,
     7    warpSkyfile.uri,
     8    warpSkyfile.path_base,
    39    diffInputSkyfile.template,
    410    rawExp.camera
     
    2228WHERE
    2329    diffRun.state = 'run'
     30UNION
     31SELECT
     32    diffRun.diff_id,
     33    diffRun.skycell_id,
     34    diffRun.tess_id,
     35    stackSumSkyfile.stack_id,
     36    NULL as warp_id,
     37    stackSumSkyfile.uri,
     38    stackSumSkyfile.path_base,
     39    diffInputSkyfile.template,
     40    rawExp.camera
     41FROM diffRun
     42JOIN diffInputSkyfile
     43    USING(diff_id)
     44JOIN stackSumSkyfile
     45    ON  diffInputSkyfile.stack_id = stackSumSkyfile.stack_id
     46JOIN stackInputSkyfile
     47    ON diffInputSkyfile.stack_id = stackInputSkyfile.stack_id
     48JOIN warpInputExp
     49    ON stackInputSkyfile.warp_id = warpInputExp.warp_id
     50JOIN camProcessedExp
     51    ON warpInputExp.cam_id = camProcessedExp.cam_id
     52JOIN chipRun
     53    ON camProcessedExp.chip_id = chipRun.chip_id
     54JOIN chipProcessedImfile
     55    ON chipRun.chip_id = chipProcessedImfile.chip_id
     56JOIN rawExp
     57    ON chipProcessedImfile.exp_id = rawExp.exp_id
     58WHERE
     59    diffRun.state = 'run'
    2460
Note: See TracChangeset for help on using the changeset viewer.