Changeset 20930 for trunk/ippScripts/scripts/warp_skycell.pl
- Timestamp:
- Dec 7, 2008, 2:33:12 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/warp_skycell.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/warp_skycell.pl
r20644 r20930 27 27 my $ipprc = PS::IPP::Config->new(); # IPP configuration 28 28 29 my ($warp_id, $skycell_id, $ tess_dir, $camera, $dbname, $outroot, $threads, $run_state, $verbose, $no_update, $no_op, $redirect, $save_temps);29 my ($warp_id, $skycell_id, $warp_skyfile_id, $tess_dir, $camera, $dbname, $outroot, $threads, $run_state, $verbose, $no_update, $no_op, $redirect, $save_temps); 30 30 GetOptions( 31 'warp_id|i=s' => \$warp_id, # Warp identifier 32 'skycell_id|s=s' => \$skycell_id, # Skycell identifier 33 'tess_dir|s=s' => \$tess_dir, # Tesselation identifier 34 'camera|c=s' => \$camera, # Camera name 35 'dbname|d=s' => \$dbname, # Database name 36 'outroot=s' => \$outroot, # Output root name 37 'threads=s' => \$threads, # Number of threads to use for pswarp 38 'run-state=s' => \$run_state, # 'new' or 'update' 39 'verbose' => \$verbose, # Print to stdout 40 'no-update' => \$no_update, # Don't update the database? 41 'no-op' => \$no_op, # Don't do any operations? 42 'redirect-output' => \$redirect, 43 'save-temps' => \$save_temps, # Save temporary files? 31 'warp_id|i=s' => \$warp_id, # Warp identifier 32 'skycell_id|s=s' => \$skycell_id, # Skycell identifier 33 'warp_skyfile_id|s=s' => \$warp_skyfile_id, # Unique file identifier 34 'tess_dir|s=s' => \$tess_dir, # Tesselation identifier 35 'camera|c=s' => \$camera, # Camera name 36 'dbname|d=s' => \$dbname, # Database name 37 'outroot=s' => \$outroot, # Output root name 38 'threads=s' => \$threads, # Number of threads to use for pswarp 39 'run-state=s' => \$run_state, # 'new' or 'update' 40 'verbose' => \$verbose, # Print to stdout 41 'no-update' => \$no_update, # Don't update the database? 42 'no-op' => \$no_op, # Don't do any operations? 43 'redirect-output' => \$redirect, 44 'save-temps' => \$save_temps, # Save temporary files? 44 45 ) or pod2usage( 2 ); 45 46 … … 50 51 ) unless defined $warp_id 51 52 and defined $skycell_id 53 ### and defined $warp_skyfile_id 52 54 and defined $tess_dir 53 55 and defined $camera … … 61 63 62 64 $ipprc->redirect_output($logDest) if $redirect; 65 66 my $image_id = $warp_skyfile_id; 67 my $source_id = $ipprc->source_id($dbname, $PS_TABLE_ID_WARP); 63 68 64 69 # Look for programs we need … … 188 193 $command .= " -threads $threads" if defined $threads; 189 194 $command .= " -dbname $dbname" if defined $dbname; 195 # $command .= " -image_id $image_id" if defined $image_id; 196 # $command .= " -source_id $source_id" if defined $source_id; 190 197 if ($run_state eq 'new') { 191 198 $command .= " -dumpconfig $configuration";
Note:
See TracChangeset
for help on using the changeset viewer.
