IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32982 for trunk


Ignore:
Timestamp:
Dec 20, 2011, 11:36:11 AM (15 years ago)
Author:
bills
Message:

pass PSPHOT recipe to psastro. don't pass -threads

File:
1 edited

Legend:

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

    r32972 r32982  
    117117}
    118118
     119# XXX: We are making the bad assumption here that the staticksky run used the same reduction class
     120# as this skycalRun
     121my $recipe_psphot = $ipprc->reduction($reduction, "STACKPHOT_PSPHOT");
     122unless ($recipe_psphot) {
     123    &my_die("Couldn't find selected reduction for STATCKPHOT_PSPHOT: $reduction\n", $skycal_id, $PS_EXIT_CONFIG_ERROR);
     124}
     125
    119126print "reduction:      $reduction\n";
    120127print "recipe_psastro: $recipe_psastro\n";
     128print "recipe_psphot:  $recipe_psphot\n";
    121129
    122130my $configuration = $ipprc->filename("PSASTRO.CONFIG", $outroot);
     
    188196    my $command = "$psastro $outroot";
    189197    $command .= " -file $file";
    190     $command .= " -threads $threads" if defined $threads;
     198#     $command .= " -threads $threads" if defined $threads;  # psastro doesn't currently accept -threads
    191199    $command .= " -recipe PSASTRO  $recipe_psastro";
     200    $command .= " -recipe PSPHOT   $recipe_psphot";
    192201    $command .= " -F PSASTRO.OUTPUT $output_sources_filerule";
    193202    $command .= " -stats $stats";
Note: See TracChangeset for help on using the changeset viewer.