Changeset 35306 for trunk/ippScripts
- Timestamp:
- Mar 12, 2013, 2:13:58 PM (13 years ago)
- Location:
- trunk/ippScripts/scripts
- Files:
-
- 2 edited
-
mergedvodb_merge.pl (modified) (1 diff)
-
minidvodb_premerge.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/mergedvodb_merge.pl
r33030 r35306 156 156 $merge_command = "rsync -rvat $minidvodb_path/* $mergedvodb_path"; 157 157 } else { 158 $merge_command = "$dvomerge $minidvodb_path into $mergedvodb_path";158 $merge_command = "$dvomerge -parallel $minidvodb_path into $mergedvodb_path"; 159 159 } 160 160 print "\n$merge_command\n"; -
trunk/ippScripts/scripts/minidvodb_premerge.pl
r33030 r35306 16 16 my $dtime_relphot; 17 17 my $dtime_script; 18 my $dtime_delstar; 18 19 19 20 use vars qw( $VERSION ); … … 33 34 my $dvomerge = can_run('dvomerge') or (warn "Can't find dvomerge" and $missing_tools = 1); 34 35 my $addtool = can_run('addtool') or (warn "Can't find addtool" and $missing_tools = 1); 36 my $delstar = can_run('delstar') or (warn "Can't find delstar" and $missing_tools = 1); 35 37 my $addstar = can_run('addstar') or (warn "Can't find addstar" and $missing_tools = 1); 36 38 my $relphot = can_run('relphot') or (warn "Can't find relphot" and $missing_tools = 1); 37 39 my $relastro = can_run('relastro') or (warn "Can't find relastro" and $missing_tools = 1); 40 38 41 my $dvoverify = can_run('dvoverify') or (warn "Can't find dvoverify" and $missing_tools = 1); 39 42 … … 80 83 unless ($no_op) { 81 84 82 #this is chopped into several parts: addstar, relphot 85 #this is chopped into several parts: delstar,addstar, relphot, relastro, dvoverify 86 #delstar - first step: are there duplicates, if so remove them 87 { 88 my $command = "$delstar -update -dup-images "; 89 #$command .= " -D CAMERA $camera"; 90 $command .= " -D CATDIR $minidvodb"; 91 my $mjd_delstar_start = DateTime->now->mjd; # MJD of starting script 92 print "\n$command\n"; 93 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 94 run(command => $command, verbose => $verbose); 95 unless ($success) { 96 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 97 &my_die("Unable to perform delstar: $error_code", $minidvodb_id, $error_code); 98 } 99 print $full_buf; 100 $dtime_delstar = 86400.0*(DateTime->now->mjd - $mjd_delstar_start); 101 # MJD of starting script 102 print "delstar time $dtime_delstar\n"; 103 } 104 105 106 83 107 #addstar 84 108 { … … 94 118 &my_die("Unable to perform addstar: $error_code", $minidvodb_id, $error_code); 95 119 } 96 $dtime_addstar = 86400.0*(DateTime->now->mjd - $mjd_addstar_start); $dtime_resort = $dtime_addstar;97 # MJD of starting script120 $dtime_addstar = 86400.0*(DateTime->now->mjd - $mjd_addstar_start); 121 # MJD of starting script 98 122 $dtime_resort = $dtime_addstar; 99 123 print "addstar -resort time $dtime_addstar\n";
Note:
See TracChangeset
for help on using the changeset viewer.
