Changeset 19147 for trunk/ippScripts/scripts/warp_skycell.pl
- Timestamp:
- Aug 20, 2008, 5:10:10 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/warp_skycell.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/warp_skycell.pl
r19138 r19147 33 33 'dbname|d=s' => \$dbname, # Database name 34 34 'outroot=s' => \$outroot, # Output root name 35 'threads=s' => \$threads, # Number of threads to use for ppImage35 'threads=s' => \$threads, # Number of threads to use for ppImage 36 36 'verbose' => \$verbose, # Print to stdout 37 37 'no-update' => \$no_update, # Don't update the database? … … 148 148 # XXX allow an option to use the image header astrometry? 149 149 my $astrom = $ipprc->filename($astromSource, $imfile->{cam_path_base}); 150 my $astrom = $ipprc->filename($astromSource, $imfile->{cam_path_base});151 150 152 151 &my_die("Couldn't find input file: $astrom", $warp_id, $skycell_id, $tess_dir, $PS_EXIT_SYS_ERROR) unless defined $astrom and $ipprc->file_exists($astrom); … … 158 157 if (!$wrote_astrom) { 159 158 print $astromFile "$astrom\n"; 160 $wrote_astrom = 1;159 $wrote_astrom = 1; 161 160 } 162 161 } … … 208 207 # $accept is set above based on the fraction of lit pixels 209 208 # XXX for some files, there may not be enough stars to find a good psf. these should be dropped as well 210 if ($accept && !$ipprc->file_exists($outputPSF)) { 211 $accept = 0;209 if ($accept && !$ipprc->file_exists($outputPSF)) { 210 $accept = 0; 212 211 } 213 212 … … 259 258 # XXX change -tess_id to -tess_dir when db is updated 260 259 my $command = "$warptool -addwarped"; 261 $command .= " -warp_id $warp_id";262 $command .= " -skycell_id $skycell_id";263 $command .= " -tess_id $tess_dir";264 $command .= " -code $exit_code";260 $command .= " -warp_id $warp_id"; 261 $command .= " -skycell_id $skycell_id"; 262 $command .= " -tess_id $tess_dir"; 263 $command .= " -code $exit_code"; 265 264 $command .= " -path_base $outroot"; 266 265 $command .= " -hostname $host" if defined $host;
Note:
See TracChangeset
for help on using the changeset viewer.
