IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 28, 2024, 2:24:07 PM (2 years ago)
Author:
eugene
Message:

fixes to get xcstack and related scripts working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20230313/ippScripts/scripts/xcsky.pl

    r42580 r42602  
    135135
    136136{
    137         my $recipe_psphot  = $ipprc->reduction($reduction, 'STACKPHOT_PSPHOT'); # Recipe to use for psphot
    138         my $recipe_ppsub   = $ipprc->reduction($reduction, 'STACKPHOT_PPSUB'); # Recipe to use for ppsub
    139         my $recipe_ppstack = $ipprc->reduction($reduction, 'STACKPHOT_PPSTACK'); # Recipe to use for ppstack
     137        my $recipe_psphot  = $ipprc->reduction($reduction, 'XCSTACK_PSPHOT'); # Recipe to use for psphot
     138        # my $recipe_ppsub   = $ipprc->reduction($reduction, 'XCSTACK_PPSUB'); # Recipe to use for ppsub
     139        # my $recipe_ppstack = $ipprc->reduction($reduction, 'XCSTACK_PPSTACK'); # Recipe to use for ppstack
    140140        unless ($recipe_psphot) {
    141             &my_die("Couldn't find selected reduction for STACKPHOT: $reduction\n", $xcsky_id, $PS_EXIT_CONFIG_ERROR);
     141            &my_die("Couldn't find selected reduction for XCSTACK_PSPHOT: $reduction\n", $xcsky_id, $PS_EXIT_CONFIG_ERROR);
    142142        }
    143143
    144144        print "reduction:      $reduction\n";
    145145        print "recipe_psphot:  $recipe_psphot\n";
    146         print "recipe_ppsub:   $recipe_ppsub\n";
    147         print "recipe_ppstack: $recipe_ppstack\n";
     146        # print "recipe_ppsub:   $recipe_ppsub\n";
     147        # print "recipe_ppstack: $recipe_ppstack\n";
    148148        my $configuration = $ipprc->filename("PSPHOT.STACK.CONFIG", $outroot);
    149149
     
    261261            $command .= " -threads $threads" if defined $threads;
    262262            $command .= " -recipe PSPHOT  $recipe_psphot";
    263             $command .= " -recipe PPSUB   $recipe_ppsub";
    264             $command .= " -recipe PPSTACK $recipe_ppstack";
     263            # $command .= " -recipe PPSUB   $recipe_ppsub";
     264            # $command .= " -recipe PPSTACK $recipe_ppstack";
    265265            $command .= " -dumpconfig $configuration" if !$updatemode;
    266266            $command .= " -tracedest $traceDest -log $logDest";
     
    274274                }
    275275
     276                # XXX need to enable the STATS output in psphotStack, then read the results here:
    276277                # my $outputStatsReal = $ipprc->file_resolve($outputStats);
    277278                # &my_die("Couldn't find expected output file: $outputStats", $xcsky_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputStatsReal);
Note: See TracChangeset for help on using the changeset viewer.