- Timestamp:
- May 3, 2010, 8:45:22 AM (16 years ago)
- Location:
- branches/simmosaic_branches
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippTools/share/flatcorr_pendingprocess.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/simmosaic_branches
- Property svn:mergeinfo changed
-
branches/simmosaic_branches/ippTools/share/flatcorr_pendingprocess.sql
r20397 r27839 6 6 filter, 7 7 state, 8 make_corr, 8 9 workdir, 9 10 label, 10 11 reduction, 11 12 region, 12 c hip_count,13 cam_count13 cam_count, 14 add_count 14 15 FROM 15 16 (SELECT 16 17 flatcorrRun.*, 17 flatcorrC hipLink.corr_id as chip_corr_id,18 count(flatcorrC hipLink.chip_id) as chip_count18 flatcorrCamLink.corr_id as cam_corr_id, 19 count(flatcorrCamLink.cam_id) as cam_count 19 20 FROM flatcorrRun 20 JOIN flatcorrC hipLink21 ON flatcorrChipLink.corr_id = flatcorrRun.corr_id22 WHERE flatcorrC hipLink.include = 121 JOIN flatcorrCamLink 22 USING (corr_id) 23 WHERE flatcorrCamLink.include = 1 23 24 GROUP BY 24 flatcorrC hipLink.corr_id) AS t125 flatcorrCamLink.corr_id) AS t1 25 26 LEFT JOIN 26 27 (SELECT 27 flatcorr CamLink.corr_id as cam_corr_id,28 count(flatcorr CamLink.cam_id) as cam_count29 FROM flatcorr CamLink30 JOIN camRun31 ON flatcorrCamLink.cam_id = camRun.cam_id32 WHERE camRun.state = 'full'33 AND flatcorr CamLink.include = 128 flatcorrAddstarLink.corr_id as add_corr_id, 29 count(flatcorrAddstarLink.add_id) as add_count 30 FROM flatcorrAddstarLink 31 JOIN addRun 32 USING (add_id) 33 WHERE addRun.state = 'full' 34 AND flatcorrAddstarLink.include = 1 34 35 GROUP BY 35 flatcorr CamLink.corr_id) AS t236 ON t1.c hip_corr_id = t2.cam_corr_id37 WHERE c hip_count = cam_count36 flatcorrAddstarLink.corr_id) AS t2 37 ON t1.cam_corr_id = t2.add_corr_id 38 WHERE cam_count = add_count 38 39 AND state = 'new'
Note:
See TracChangeset
for help on using the changeset viewer.
