Changeset 27945
- Timestamp:
- May 13, 2010, 10:55:26 AM (16 years ago)
- Location:
- trunk/ippTools/share
- Files:
-
- 10 edited
-
magicdstool_todestreak_camera.sql (modified) (1 diff)
-
magicdstool_todestreak_chip.sql (modified) (1 diff)
-
magicdstool_todestreak_diff.sql (modified) (3 diffs)
-
magicdstool_todestreak_raw.sql (modified) (2 diffs)
-
magicdstool_todestreak_warp.sql (modified) (1 diff)
-
magicdstool_torevert_camera.sql (modified) (1 diff)
-
magicdstool_torevert_chip.sql (modified) (1 diff)
-
magicdstool_torevert_diff.sql (modified) (1 diff)
-
magicdstool_torevert_raw.sql (modified) (1 diff)
-
magicdstool_torevert_warp.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/magicdstool_todestreak_camera.sql
r27301 r27945 3 3 magicDSRun.magic_id, 4 4 chipRun.exp_id, 5 camRun.magicked, 5 6 magicDSRun.label, 6 7 camera, -
trunk/ippTools/share/magicdstool_todestreak_chip.sql
r27747 r27945 3 3 magicDSRun.magic_id, 4 4 chipRun.exp_id, 5 chipRun.magicked, 5 6 magicDSRun.label, 6 7 camera, -
trunk/ippTools/share/magicdstool_todestreak_diff.sql
r27476 r27945 10 10 stage, 11 11 magicRun.diff_id AS stage_id, 12 diffRun.magicked, 12 13 diffSkyfile.skycell_id AS component, 13 14 CAST(NULL AS CHAR(255)) AS uri, … … 47 48 magicDSRun.label, 48 49 rawExp.camera, 49 magicMask.uri asstreaks_uri,50 magicMask.uri AS streaks_uri, 50 51 (SELECT uri from magicMask where magic_id = inv_magic_id) AS inv_streaks_uri, 51 52 stage, 52 magicRun.diff_id as stage_id, 53 diffSkyfile.skycell_id as component, 53 magicRun.diff_id AS stage_id, 54 diffRun.magicked, 55 diffSkyfile.skycell_id AS component, 54 56 CAST(NULL AS CHAR(255)) AS uri, 55 57 diffSkyfile.path_base, 56 58 magicRun.inverse, 57 CAST(NULL AS CHAR(255)) ascam_path_base,59 CAST(NULL AS CHAR(255)) AS cam_path_base, 58 60 CAST(NULL AS CHAR(255)) AS cam_reduction, 59 61 outroot, … … 80 82 AND diffSkyfile.quality = 0 81 83 AND magicDSFile.component IS NULL 82 ) asmagicDSRun84 ) AS magicDSRun 83 85 -- we need the following so this query is compatible with the other stages 84 86 WHERE magic_ds_id IS NOT NULL -
trunk/ippTools/share/magicdstool_todestreak_raw.sql
r27454 r27945 4 4 magicRun.exp_id, 5 5 magicDSRun.label, 6 camera,6 rawExp.camera, 7 7 magicMask.uri as streaks_uri, 8 8 CAST(NULL AS CHAR(255)) AS inv_streaks_uri, 9 9 stage, 10 10 stage_id, 11 rawExp.magicked, 11 12 class_id as component, 12 13 rawImfile.uri AS uri, … … 25 26 JOIN camRun USING(cam_id) 26 27 JOIN camProcessedExp USING(cam_id) 27 JOIN rawImfile ON magicRun.exp_id = rawImfile.exp_id 28 JOIN rawExp ON magicRun.exp_id = rawExp.exp_id 29 JOIN rawImfile ON rawExp.exp_id = rawImfile.exp_id 28 30 LEFT JOIN magicDSFile 29 31 ON magicDSRun.magic_ds_id = magicDSFile.magic_ds_id -
trunk/ippTools/share/magicdstool_todestreak_warp.sql
r27301 r27945 9 9 stage, 10 10 stage_id, 11 warpRun.magicked, 11 12 warpSkyfile.skycell_id as component, 12 13 warpSkyfile.uri, -
trunk/ippTools/share/magicdstool_torevert_camera.sql
r27015 r27945 13 13 0 AS bothways, 14 14 0 AS bytes, 15 0 AS md5sum 15 0 AS md5sum, 16 camRun.magicked 16 17 FROM magicDSRun 17 18 JOIN magicDSFile using(magic_ds_id) -
trunk/ippTools/share/magicdstool_torevert_chip.sql
r27015 r27945 13 13 0 AS bothways, 14 14 0 AS bytes, 15 0 AS md5sum 15 0 AS md5sum, 16 chipRun.magicked 16 17 FROM magicDSRun 17 18 JOIN magicDSFile using(magic_ds_id) 18 19 JOIN camProcessedExp using(cam_id) 19 JOIN chipProcessedImfile ON (stage_id = chipProcessedImfile.chip_id AND component = class_id) 20 JOIN chipRun ON (stage_id = chipRun.chip_id) 21 -- JOIN chipProcessedImfile ON (stage_id = chipProcessedImfile.chip_id AND component = class_id) 22 JOIN chipProcessedImfile USING(chip_id, exp_id) 20 23 JOIN rawExp using(exp_id) 21 24 WHERE magicDSRun.stage = 'chip' -
trunk/ippTools/share/magicdstool_torevert_diff.sql
r27015 r27945 13 13 CAST(diffRun.bothways AS SIGNED) AS bothways, 14 14 0 AS bytes, 15 0 AS md5sum 15 0 AS md5sum, 16 diffRun.magicked 16 17 FROM magicDSRun 17 18 JOIN magicRun using(magic_id) -
trunk/ippTools/share/magicdstool_torevert_raw.sql
r27015 r27945 10 10 outroot, 11 11 rawImfile.uri AS path_base, 12 NULL AS cam_path_base,12 CAST(NULL AS CHAR(255)) AS cam_path_base, 13 13 0 AS bothways, 14 14 bytes, 15 md5sum 15 md5sum, 16 0 AS magicked 16 17 FROM magicDSRun 17 18 JOIN magicDSFile using(magic_ds_id) -
trunk/ippTools/share/magicdstool_torevert_warp.sql
r27015 r27945 13 13 0 AS bothways, 14 14 0 AS bytes, 15 0 AS md5sum 15 0 AS md5sum, 16 warpRun.magicked 16 17 FROM magicDSRun 17 18 JOIN magicDSFile USING(magic_ds_id)
Note:
See TracChangeset
for help on using the changeset viewer.
