Changeset 30653 for trunk/ippTools/share/disttool_pending_raw.sql
- Timestamp:
- Feb 16, 2011, 2:31:22 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/share/disttool_pending_raw.sql (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/disttool_pending_raw.sql
r30387 r30653 12 12 TRIM(TRAILING '.fits' FROM rawImfile.uri) AS path_base, 13 13 CAST(NULL AS CHAR(255)) AS alt_path_base, 14 chipProcessedImfile.path_base as chip_path_base, 14 -- pass camera stage path base since we want the camera mask file. The script knows what to do 15 camProcessedExp.path_base as chip_path_base, 15 16 CAST(NULL AS CHAR(255)) AS state, 16 17 CAST(NULL AS CHAR(255)) AS data_state, … … 26 27 JOIN chipProcessedImfile 27 28 USING(chip_id, class_id) 29 JOIN camRun USING(chip_id) 30 JOIN camProcessedExp using(cam_id) 28 31 LEFT JOIN distComponent 29 32 ON distRun.dist_id = distComponent.dist_id … … 36 39 AND distComponent.dist_id IS NULL 37 40 AND (rawExp.magicked OR distRun.no_magic) 41 -- need to have magicked the chip image which makes the camera mask 42 AND chipProcessedImfile.magicked != 0 43 AND camRun.magicked > 0 38 44 AND (Label.active OR Label.active IS NULL) 39 45 UNION … … 52 58 TRIM(TRAILING '.fits' FROM rawImfile.uri) AS path_base, 53 59 magicDSFile.backup_path_base AS alt_path_base, 54 chipProcessedImfile.path_base AS chip_path_base, 60 -- pass camera stage path base since we want the camera mask file. The script knows what to do 61 camProcessedExp.path_base AS chip_path_base, 55 62 CAST('full' AS CHAR(255)) AS state, 56 63 CAST('full' AS CHAR(255)) AS data_state, … … 77 84 AND distRun.clean = 0 78 85 AND distComponent.dist_id IS NULL 79 AND chipProcessedImfile. data_state = 'full'80 AND c hipProcessedImfile.magicked > 086 AND chipProcessedImfile.magicked != 0 87 AND camRun.magicked > 0 81 88 AND (Label.active OR Label.active IS NULL) 82 89 UNION
Note:
See TracChangeset
for help on using the changeset viewer.
