IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 6, 2007, 1:42:40 PM (19 years ago)
Author:
eugene
Message:

unifying, cleaning logfile output names

File:
1 edited

Legend:

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

    r13639 r13683  
    138138# Output products
    139139$workdir = caturi( $workdir, "$camera.$det_type.$det_id" ) if defined $workdir;
    140 my $outputRoot = $ipprc->file_prepare( "$exp_tag.detresid.$det_id.$iter", $workdir, ${$files}[0]->{path_base} );
    141 my $jpeg1Name = $ipprc->filename("PPIMAGE.JPEG1", $outputRoot); # Binned JPEG #1
    142 my $jpeg2Name = $ipprc->filename("PPIMAGE.JPEG2", $outputRoot); # Binned JPEG #2
     140my $outputRoot = $ipprc->file_prepare( "$exp_tag/$exp_tag.detresid.$det_id.$iter", $workdir, ${$files}[0]->{path_base} );
     141my $jpeg1Name  = $ipprc->filename("PPIMAGE.JPEG1", $outputRoot); # Binned JPEG #1
     142my $jpeg2Name  = $ipprc->filename("PPIMAGE.JPEG2", $outputRoot); # Binned JPEG #2
     143my $logName    = $ipprc->filename("LOG.EXP", $outputRoot); # Name for log
     144
     145my $logFile;
     146unless ($no_op) {
     147    # XXX this will fail if the file exists (because of Nebulous rules)
     148    $logFile = $ipprc->file_create_open( $logName );
     149}
    143150
    144151# Recipes to use in processing
     
    189196my $reject_exp_bin_sn       = rejection_limit( 'EXP.BIN.SN',       $det_type, $filter );
    190197
    191 my $logName = caturi( $workdir, "$exp_tag.detreject.$det_id.$iter.log" ); # Name for log
    192 my $logFile;
    193 unless ($no_op) {
    194     # XXX this will fail if the file exists (because of Nebulous rules)
    195     $logFile = $ipprc->file_create_open( $logName );
    196 }
    197 
    198198# Reject based on the stats of the imfiles
    199199# it is VALID to reject on more than one criterion
Note: See TracChangeset for help on using the changeset viewer.