IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 30, 2010, 3:45:08 PM (16 years ago)
Author:
Paul Price
Message:

Branching to branches/pap_delete for development of deletion of convolved diffs.

  • ppSub will now only write the convolved images if explicitly requested on the command-line.
  • diff_skyfile.pl only requests convolved images for warps (because we don't need to run magic on stacks).
  • magic_process.pl deletes the convolved images when done.
  • If magic_process.pl can't find the convolved image to use (e.g., it's already been deleted because we're re-running magic), then it is created on the fly using ppSubConvolve and the previously calculated convolution kernel.
Location:
branches/pap_delete
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/pap_delete/ippScripts/scripts/diff_skycell.pl

    r27215 r27537  
    102102my $camera;                     # Camera
    103103my ($inputMagic, $templateMagic); # Are the inputs been magicked?
     104my ($saveInConv, $saveRefConv);   # Save the input or reference convolved images?
    104105# Prescan to decide if this is or is not a stack stack diff. The check above confirms we only have two entries.
    105106if ((${ $files }[0]->{warp_id} == 0)&&
     
    140141            $templateSources = "PSWARP.OUTPUT.SOURCES";
    141142            $templateMagic = $file->{magicked};
     143            $saveRefConv = 1;
    142144        }
    143145    } else {
     
    162164            $inputVariance = "PSWARP.OUTPUT.VARIANCE";
    163165            $inputSources = "PSWARP.OUTPUT.SOURCES";
     166            $saveInConv = 1;
    164167        }
    165168    }
     
    284287        $command .= " -ipprc $configurationReal";
    285288    }
     289    $command .= " -save-inconv" if defined $saveInConv;
     290    $command .= " -save-refconv" if defined $saveRefConv;
    286291    $command .= " -recipe PPSUB $recipe_ppSub";
    287292    $command .= " -recipe PSPHOT $recipe_psphot";
Note: See TracChangeset for help on using the changeset viewer.