IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12115


Ignore:
Timestamp:
Feb 27, 2007, 6:27:10 PM (19 years ago)
Author:
Paul Price
Message:

Additional error checking. -path_base not implemented for warp, diff, stack yet.

Location:
trunk/ippScripts/scripts
Files:
3 edited

Legend:

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

    r12111 r12115  
    107107&my_die("Unable to identify template", $diff_id, $PS_EXIT_SYS_ERROR) unless defined $template;
    108108&my_die("Unable to identify input", $diff_id, $PS_EXIT_SYS_ERROR) unless defined $input;
     109&my_die("Unable to identify camera", $diff_id, $PS_EXIT_SYS_ERROR) unless defined $camera;
    109110$ipprc->define_camera($camera);
    110111
  • trunk/ippScripts/scripts/stack_skycell.pl

    r12079 r12115  
    9999    }
    100100}
     101
     102&my_die("Can't find camera", $stack_id, $PS_EXIT_SYS_ERROR) unless $camera;
    101103$ipprc->define_camera($camera);
    102104
     
    158160    # Add the stack result
    159161    {
    160         my $command = "$stacktool -addsumskyfile -stack_id $stack_id -uri $outputName -path_base $outputRoot";
     162        my $command = "$stacktool -addsumskyfile -stack_id $stack_id -uri $outputName"; # -path_base $outputRoot";
    161163        $command .= " -bg $bg -bg_stdev $bg_stdev";
    162164        $command .= " -dbname $dbname" if defined $dbname;
  • trunk/ippScripts/scripts/warp_skycell.pl

    r12079 r12115  
    144144unless ($no_update) {
    145145    my $command = "$warptool -addwarped -warp_id $warp_id -skycell_id $skycell_id -tess_id $tess_id" .
    146         " -uri $outputImage -path_base $outputRoot"; # Command to run dettool
     146        " -uri $outputImage"; # -path_base $outputRoot"; # Command to run dettool
    147147    $command .= " -bg $bg -bg_stdev $bg_stdev";
    148148    $command .= " -dbname $dbname" if defined $dbname;
Note: See TracChangeset for help on using the changeset viewer.