Changeset 16746
- Timestamp:
- Feb 28, 2008, 4:35:57 PM (18 years ago)
- Location:
- trunk/ippScripts/scripts
- Files:
-
- 3 edited
-
ipp_serial_diff.pl (modified) (1 diff)
-
ipp_serial_stack.pl (modified) (3 diffs)
-
ipp_serial_warp.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/ipp_serial_diff.pl
r16745 r16746 78 78 die "No working directory specified.\n" unless defined $workdir; 79 79 80 my $outroot = caturi( $workdir, "tess_$tess_id", $skycell_id, "$tess_id.$skycell_id.dif f.$diff_id" );80 my $outroot = caturi( $workdir, "tess_$tess_id", $skycell_id, "$tess_id.$skycell_id.dif.$diff_id" ); 81 81 82 82 my $command = "$diff_skycell --diff_id $diff_id --dbname $dbname --outroot $outroot"; -
trunk/ippScripts/scripts/ipp_serial_stack.pl
r16336 r16746 27 27 my ($dbname, # Database name to use 28 28 $verbose, # Verbose operations? 29 $workdir_global, # Global working directory 29 30 $no_op, # No operations? 30 31 $no_update, # No updating? … … 34 35 'dbname=s' => \$dbname, 35 36 'verbose' => \$verbose, 37 'workdir' => \$workdir_global, 36 38 'no-op' => \$no_op, 37 39 'no-update' => \$no_update, … … 75 77 my $workdir = $item->{workdir}; 76 78 77 my $command = "$stack_skycell --stack_id $stack_id --dbname $dbname"; 79 $workdir = $workdir_global unless defined $workdir and $workdir ne "NULL"; 80 die "No working directory specified.\n" unless defined $workdir; 81 82 my $outroot = caturi( $workdir, "tess_$tess_id", $skycell_id, "$tess_id.$skycell_id.stk.$stack_id" ); 83 84 my $command = "$stack_skycell --stack_id $stack_id --dbname $dbname --outroot $outroot"; 78 85 $command .= " --verbose" if defined $verbose; 79 86 $command .= " --no-op" if defined $no_op; 80 87 $command .= " --no-update" if defined $no_update; 81 88 $command .= " --save-temps" if defined $save_temps; 82 $command .= " --workdir $workdir" if defined $workdir;83 89 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 84 90 run( command => $command, verbose => 1 ); -
trunk/ippScripts/scripts/ipp_serial_warp.pl
r16336 r16746 27 27 my ($dbname, # Database name to use 28 28 $verbose, # Verbose operations? 29 $workdir_global, # Global working directory 29 30 $no_op, # No operations? 30 31 $no_update, # No updating? … … 33 34 'dbname=s' => \$dbname, 34 35 'verbose' => \$verbose, 36 'workdir' => \$workdir_global, 35 37 'no-op' => \$no_op, 36 38 'no-update' => \$no_update, … … 82 84 $command .= " --no-op" if defined $no_op; 83 85 $command .= " --no-update" if defined $no_update; 84 $command .= " --workdir $workdir" if defined $workdir;85 86 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 86 87 run( command => $command, verbose => 1 ); … … 108 109 my $camera = $item->{camera}; 109 110 110 my $command = "$warp_skycell --warp_id $warp_id --skycell_id $skycell_id --tess_id $tess_id --camera $camera --dbname $dbname"; 111 $workdir = $workdir_global unless defined $workdir and $workdir ne "NULL"; 112 die "No working directory specified.\n" unless defined $workdir; 113 114 my $outroot = caturi( $workdir, "tess_$tess_id", $skycell_id, "$tess_id.$skycell_id.wrp.$warp_id" ); 115 116 my $command = "$warp_skycell --warp_id $warp_id --skycell_id $skycell_id --tess_id $tess_id --camera $camera --dbname $dbname --outroot $outroot"; 111 117 $command .= " --verbose" if defined $verbose; 112 118 $command .= " --no-op" if defined $no_op; 113 119 $command .= " --no-update" if defined $no_update; 114 $command .= " --workdir $workdir" if defined $workdir and $workdir ne "NULL";115 120 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 116 121 run( command => $command, verbose => 1 );
Note:
See TracChangeset
for help on using the changeset viewer.
