IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 3, 2015, 1:22:04 PM (11 years ago)
Author:
bills
Message:

When performing diff updates add argument -updatemode to the ppSub command line.
When supplied, ppSub will unconditionally save the output pixels, mask, and variance images
regardless of what the file rule says.
This is necessary to update PV3 diffs which were generated without the pixels being saved
but users will want to see them.

File:
1 edited

Legend:

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

    r38071 r38709  
    7878# XXX camera is not known here; cannot use filerules...
    7979my $logDest = "$outroot.log";
     80my $updateMode = 0;
    8081if ($run_state eq 'update') {
    8182    $logDest .= '.update';
     83    $updateMode = 1;
    8284}
    8385$ipprc->redirect_to_logfile($logDest) or my_die( "Unable to redirect output", $diff_id, $skycell_id, $PS_EXIT_SYS_ERROR ) if $redirect;
     
    322324    }
    323325
    324     # use WARPSTATS if we're updating, as we don't care about the new stuff from the STACK and DIFF STATS recipes
     326    # use WARPSTATS if we're updating, as we don't care about the new stuff from the STACK and DIFF STATS recipes.
     327    # The only value that we use is -quality
    325328    $recipe_ppstats = 'WARPSTATS';
    326329}
     
    351354{
    352355    my $command = "$ppSub $outroot";
     356    $command .= " -updatemode" if $updateMode;
    353357    $command .= " -inimage $input";
    354358    $command .= " -refimage $template";
Note: See TracChangeset for help on using the changeset viewer.