IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 17, 2011, 3:20:07 PM (15 years ago)
Author:
eugene
Message:

merge changes from the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/ippScripts/scripts/stack_skycell.pl

    r30598 r30676  
    172172my $photometry = metadataLookupBool($recipe, 'PHOTOMETRY'); # perform photometry?
    173173my $output_nocomp = metadataLookupBool($recipe, 'OUTPUT.NOCOMP'); # change filerules to produced uncompressed output images
    174 
     174my $output_logflux = metadataLookupBool($recipe, 'OUTPUT.LOGFLUX'); # change filerules to produce logflux compressed output images.
     175
     176if ($output_nocomp and $output_logflux) {
     177    &my_die("Unable to not compress and logflux compress simultaneously. Check config.",$stack_id, $PS_EXIT_CONFIG_ERROR);
     178}
    175179
    176180# Generate MDC file with the inputs
     
    252256        $command .= " -F PPSTACK.UNCONV.EXPWT PPSTACK.UNCONV.EXPWT.NOCOMP";
    253257    }
     258    if ($output_logflux) {
     259        $command .= " -R PPSTACK.OUTPUT FITS.TYPE COMP_STACK "; # Just this one output component?
     260        $command .= " -R PPSTACK.OUTPUT.VARIANCE FITS.TYPE COMP_STACK ";
     261        $command .= " -R PPSTACK.OUTPUT.EXPWT FITS.TYPE COMP_STACK ";
     262        $command .= " -R PPSTACK.UNCONV FITS.TYPE COMP_STACK ";
     263        $command .= " -R PPSTACK.UNCONV.VARIANCE FITS.TYPE COMP_STACK ";
     264        $command .= " -R PPSTACK.UNCONV.EXPWT FITS.TYPE COMP_STACK ";
     265    }
    254266    $command .= " -threads $threads" if defined $threads;
    255267    $command .= " -debug-stack" if defined $debug;
Note: See TracChangeset for help on using the changeset viewer.