Changeset 16308 for trunk/ippScripts/scripts/stack_skycell.pl
- Timestamp:
- Feb 5, 2008, 11:47:19 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/stack_skycell.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/stack_skycell.pl
r16247 r16308 34 34 use Pod::Usage qw( pod2usage ); 35 35 36 my ($stack_id, $dbname, $workdir, $ no_update, $no_op, $save_temps);36 my ($stack_id, $dbname, $workdir, $verbose, $no_update, $no_op, $save_temps); 37 37 GetOptions( 38 38 'stack_id|d=s' => \$stack_id, # Stack identifier 39 39 'dbname|d=s' => \$dbname, # Database name 40 40 'workdir|w=s' => \$workdir, # Working directory, for output files 41 'verbose' => \$verbose, # Print to stdout 41 42 'no-update' => \$no_update, # Don't update the database? 42 43 'no-op' => \$no_op, # Don't do any operations? … … 76 77 $command .= " -dbname $dbname" if defined $dbname; 77 78 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 78 run(command => $command, verbose => 1);79 run(command => $command, verbose => $verbose); 79 80 unless ($success) { 80 81 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 181 182 $command .= " -tracedest $traceDest -log $logDest"; 182 183 183 # print "\n\nWARNING: Convolving to 1 arcsec FWHM seeing!\n\n";184 print "\n\nWARNING: NOT Convolving!\n\n";185 186 184 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 187 run(command => $command, verbose => 1);185 run(command => $command, verbose => $verbose); 188 186 unless ($success) { 189 187 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 217 215 218 216 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 219 run(command => $command, verbose => 1);217 run(command => $command, verbose => $verbose); 220 218 unless ($success) { 221 219 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 230 228 231 229 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 232 run(command => $command, verbose => 1);230 run(command => $command, verbose => $verbose); 233 231 unless ($success) { 234 232 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
