Changeset 27015
- Timestamp:
- Feb 19, 2010, 2:29:48 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
-
ippScripts/scripts/magic_destreak_revert.pl (modified) (3 diffs)
-
ippTasks/destreak.pro (modified) (2 diffs)
-
ippTools/share/magicdstool_torevert_camera.sql (modified) (1 diff)
-
ippTools/share/magicdstool_torevert_chip.sql (modified) (1 diff)
-
ippTools/share/magicdstool_torevert_diff.sql (modified) (2 diffs)
-
ippTools/share/magicdstool_torevert_raw.sql (modified) (1 diff)
-
ippTools/share/magicdstool_torevert_warp.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/magic_destreak_revert.pl
r26976 r27015 36 36 37 37 # Parse the command-line arguments 38 my ($magic_ds_id, $camera, $streaks, $stage, $stage_id, $component, $uri, $path_base, $ inverse, $cam_path_base);38 my ($magic_ds_id, $camera, $streaks, $stage, $stage_id, $component, $uri, $path_base, $bothways, $cam_path_base); 39 39 my ($outroot, $recoveryroot, $replace, $release, $bytes, $md5sum); 40 40 my ($dbname, $save_temps, $verbose, $no_update, $no_op, $logfile); … … 51 51 'recoveryroot=s' => \$recoveryroot,# "directory" for saving the images of excised pixels 52 52 'replace=s' => \$replace, # replace the input images with the results. 53 'bothways=s' => \$bothways, # run has inverse files (bothways diff) 53 54 'save-temps' => \$save_temps, # Save temporary files? 54 55 'dbname=s' => \$dbname, # Database name … … 193 194 revert_files($replace, $image, $mask, $weight, $sources, $astrom, $bimage, $bmask, $bweight, $bsources, $bastrom); 194 195 195 if ($stage eq "diff" and $ inverse) {196 if ($stage eq "diff" and $bothways) { 196 197 my $name = "PPSUB.INVERSE"; 197 198 $image = $ipprc->filename($name, $path_base); -
trunk/ippTasks/destreak.pro
r27005 r27015 411 411 # book getword magicDSToRevert $pageName recoveryroot -var RECROOT 412 412 book getword magicDSToRevert $pageName re_place -var REPLACE 413 book getword magicDSToRevert $pageName bothways -var BOTHWAYS 413 414 book getword magicDSToRevert $pageName dbname -var DBNAME 414 415 … … 423 424 end 424 425 425 $run = magic_destreak_revert.pl --magic_ds_id $MAGIC_DS_ID --camera $CAMERA --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --path_base $PATH_BASE --cam_path_base $CAM_PATH_BASE --outroot $OUTROOT --logfile $logfile --replace $REPLACE 426 $run = magic_destreak_revert.pl --magic_ds_id $MAGIC_DS_ID --camera $CAMERA --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --path_base $PATH_BASE --cam_path_base $CAM_PATH_BASE --outroot $OUTROOT --logfile $logfile --replace $REPLACE --bothways $BOTHWAYS 426 427 427 428 add_standard_args run -
trunk/ippTools/share/magicdstool_torevert_camera.sql
r25423 r27015 11 11 camProcessedExp.path_base, 12 12 camProcessedExp.path_base AS cam_path_base, 13 0 AS bothways, 13 14 0 AS bytes, 14 15 0 AS md5sum -
trunk/ippTools/share/magicdstool_torevert_chip.sql
r25423 r27015 11 11 chipProcessedImfile.path_base, 12 12 camProcessedExp.path_base AS cam_path_base, 13 0 AS bothways, 13 14 0 AS bytes, 14 15 0 AS md5sum -
trunk/ippTools/share/magicdstool_torevert_diff.sql
r25423 r27015 11 11 diffSkyfile.path_base, 12 12 "NULL" AS cam_path_base, 13 CAST(diffRun.bothways AS SIGNED) AS bothways, 13 14 0 AS bytes, 14 15 0 AS md5sum … … 17 18 JOIN magicDSFile USING(magic_ds_id) 18 19 JOIN diffSkyfile ON (stage_id = diffSkyfile.diff_id AND component = skycell_id) 20 JOIN diffRun ON diffSkyfile.diff_id = diffRun.diff_id 19 21 JOIN rawExp USING(exp_id) 20 22 WHERE magicDSRun.stage = 'diff' -
trunk/ippTools/share/magicdstool_torevert_raw.sql
r25423 r27015 11 11 rawImfile.uri AS path_base, 12 12 NULL AS cam_path_base, 13 0 AS bothways, 13 14 bytes, 14 15 md5sum -
trunk/ippTools/share/magicdstool_torevert_warp.sql
r25423 r27015 11 11 warpSkyfile.path_base, 12 12 "NULL" AS cam_path_base, 13 0 AS bothways, 13 14 0 AS bytes, 14 15 0 AS md5sum
Note:
See TracChangeset
for help on using the changeset viewer.
