IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 2, 2007, 3:33:19 PM (19 years ago)
Author:
Paul Price
Message:

Genericising dvo commands.

File:
1 edited

Legend:

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

    r13168 r13169  
    5656my $missing_tools;
    5757my $warptool = can_run('warptool') or (warn "Can't find warptool" and $missing_tools = 1);
    58 #my $overlap = can_run('overlap') or (warn "Can't find overlap" and $missing_tools = 1);
     58my $dvoImageOverlaps = can_run('dvoImageOverlaps') or (warp "Can't find dvoImageOverlaps" and $missing_tools = 1);
     59my $dvoImageExtract = can_run('dvoImageExtract') or (warp "Can't find dvoImageExtract" and $missing_tools = 1);
    5960if ($missing_tools) {
    6061    warn("Can't find required tools.");
     
    122123       
    123124        # run the dvoImageOverlaps program to get the overlaps with this image
    124         my $command = "dvoImageOverlaps -D CATDIR $tess_dir $psastroFile";
     125        my $command = "$dvoImageOverlaps -D CATDIR $tess_dir $psastroFile";
    125126        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    126127            run(command => $command, verbose => 1);
     
    178179            system "mkdir -p $skyDir" unless -d $skyDir;
    179180            my $skyFile = File::Spec->catfile( $skyDir , $skycell_id );
    180             my $command = "dvoImageExtract -D CATDIR $tess_dir $skycell_id -o $skyFile";
     181            my $command = "$dvoImageExtract -D CATDIR $tess_dir $skycell_id -o $skyFile";
    181182            my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    182183                run(command => $command, verbose => 1);
Note: See TracChangeset for help on using the changeset viewer.