IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 20, 2008, 5:10:10 PM (18 years ago)
Author:
Paul Price
Message:

Removing duplicate line.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/warp_skycell.pl

    r19138 r19147  
    3333    'dbname|d=s'        => \$dbname, # Database name
    3434    'outroot=s'         => \$outroot, # Output root name
    35     'threads=s'         => \$threads,   # Number of threads to use for ppImage
     35    'threads=s'         => \$threads,   # Number of threads to use for ppImage
    3636    'verbose'           => \$verbose,   # Print to stdout
    3737    'no-update'         => \$no_update, # Don't update the database?
     
    148148    # XXX allow an option to use the image header astrometry?
    149149    my $astrom = $ipprc->filename($astromSource, $imfile->{cam_path_base});
    150     my $astrom = $ipprc->filename($astromSource, $imfile->{cam_path_base});
    151150
    152151    &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);
     
    158157    if (!$wrote_astrom) {
    159158        print $astromFile "$astrom\n";
    160         $wrote_astrom = 1;
     159        $wrote_astrom = 1;
    161160    }
    162161}
     
    208207    # $accept is set above based on the fraction of lit pixels
    209208    # 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;
    212211    }
    213212
     
    259258        # XXX change -tess_id to -tess_dir when db is updated
    260259        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";
    265264        $command .= " -path_base $outroot";
    266265        $command .= " -hostname $host" if defined $host;
Note: See TracChangeset for help on using the changeset viewer.