IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16019


Ignore:
Timestamp:
Jan 6, 2008, 1:59:43 PM (18 years ago)
Author:
eugene
Message:

disabled requirement for input sources

File:
1 edited

Legend:

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

    r15387 r16019  
    121121                                      UNLINK => !$save_temps );
    122122my $num = 0;
    123 my $inputSources;               # Sources to use as stamps
     123# my $inputSources;             # Sources to use as stamps
    124124foreach my $file (@$files) {
    125125    print $listFile "INPUT$num\tMETADATA\n";
     
    144144    print $listFile "END\n\n";
    145145
    146     unless (defined $inputSources) {
    147         $inputSources = $ipprc->filename("PSWARP.OUTPUT.SOURCES", $file->{path_base});
    148         &my_die("Source file $inputSources does not exist", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists( $inputSources );
    149     }
     146    # XXX details about supplying sources, etc, need to be specified in the libraries
     147    #unless (defined $inputSources) {
     148    #$inputSources = $ipprc->filename("PSWARP.OUTPUT.SOURCES", $file->{path_base});
     149    #&my_die("Source file $inputSources does not exist", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists( $inputSources );
     150    #}
    150151       
    151152}
     
    157158my $outputMask = $ipprc->filename("PPSTACK.OUTPUT.MASK", $outputRoot);
    158159my $outputWeight = $ipprc->filename("PPSTACK.OUTPUT.WEIGHT", $outputRoot);
    159 my $outputSources = $ipprc->filename("PSPHOT.OUTPUT", $outputRoot);
     160#my $outputSources = $ipprc->filename("PSPHOT.OUTPUT", $outputRoot, "none");
    160161#my $bin1Name =  $ipprc->filename("PPSTACK.BIN1", $outputRoot);
    161162#my $bin2Name =  $ipprc->filename("PPSTACK.BIN2", $outputRoot);
     
    170171    $command .= " -stats $outputStats";
    171172    $command .= " -recipe PPSTATS WARPSTATS";
    172     $command .= " -sources $inputSources";
    173     $command .= " -target 5.0";
    174     $command .= " -photometry";
     173    # $command .= " -sources $inputSources"; XXX : see above re recipes
     174    # $command .= " -target 5.0";
     175    # $command .= " -photometry";
    175176    $command .= " -tracedest $traceDest -log $logDest";
    176177
    177     print "\n\nWARNING: Convolving to 1 arcsec FWHM seeing!\n\n";
     178    # print "\n\nWARNING: Convolving to 1 arcsec FWHM seeing!\n\n";
     179    print "\n\nWARNING: NOT Convolving!\n\n";
    178180
    179181    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     
    186188    &my_die("Couldn't find expected output file: $outputMask", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputMask);
    187189    &my_die("Couldn't find expected output file: $outputWeight", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputWeight);
    188     &my_die("Couldn't find expected output file: $outputSources", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputSources);
    189 #    &my_die("Couldn't find expected output file: $bin1Name",    $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($bin1Name);
    190 #    &my_die("Couldn't find expected output file: $bin2Name",    $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($bin2Name);
     190#   &my_die("Couldn't find expected output file: $outputSources", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputSources);
     191#   &my_die("Couldn't find expected output file: $bin1Name",    $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($bin1Name);
     192#   &my_die("Couldn't find expected output file: $bin2Name",    $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($bin2Name);
    191193    &my_die("Couldn't find expected output file: $outputStats", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputStats);
    192194
Note: See TracChangeset for help on using the changeset viewer.