IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39971 for trunk


Ignore:
Timestamp:
Feb 2, 2017, 5:27:30 PM (9 years ago)
Author:
watersc1
Message:

Update to skip cff if they do not exist for ff (which maybe they universally don't? Not clear). Update stack photometry product names after testing.

File:
1 edited

Legend:

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

    r39969 r39971  
    267267                  'stack'  => ['PPSTACK.UNCONV.COMP','PPSTACK.UNCONV.MASK.COMP','PPSTACK.UNCONV.VARIANCE.COMP',
    268268                               'PPSTACK.UNCONV.EXP','PPSTACK.UNCONV.EXPNUM','PPSTACK.UNCONV.EXPWT.COMP','PPSTACK.TARGET.PSF'],
    269                   'skycal' => ['PSASTRO.OUTPUT.CMF','PSPHOT.OUTPUT.CFF','PSPHOT.PSF.SKY.SAVE','PSPHOT.BACKMDL.MEF'],
     269                  'skycal' => ['PSASTRO.OUTPUT.CMF','PSPHOT.OUTPUT.CFF','PSPHOT.STACK.PSF.SAVE','PSPHOT.STACK.BACKMDL'],
    270270                  'ff'     => ['PSPHOT.OUT.CMF.MEF','PSPHOT.OUTPUT.CFF','PSPHOT.FULLFORCE.OUTPUT','PSPHOT.PSF.SKY.SAVE'],
    271271                  'diff'   => ['PPSUB.OUTPUT.SOURCES','PPSUB.INVERSE.SOURCES','PSPHOT.PSF.SKY.SAVE','PSPHOT.BACKMDL.MEF','PPSUB.OUTPUT.KERNELS'],
     
    361361                            &my_die("Unable to parse metadata from stagetool", $stage_id);
    362362                        foreach my $wt_entry (@$warp_files) {
    363                             my $wt_path_base = $wt_entry->{path_base};
    364                             push @keys, $ipprc->filename($product,$wt_path_base,$ff_skycell);
     363                            my $wt_quality   = $wt_entry->{quality};
     364                            if ($quality == 0) {
     365                                my $wt_path_base = $wt_entry->{path_base};
     366                                push @keys, $ipprc->filename($product,$wt_path_base,$ff_skycell);
     367                            }
    365368                        }
    366369                    }               
     
    382385        }
    383386        elsif ($stage eq 'skycal') {
    384             if (($product eq 'PSPHOT.PSF.SKY.SAVE')||($product eq 'PSPHOT.BACKMDL.MEF')) {
     387            if (($product eq 'PSPHOT.STACK.PSF.SAVE')||($product eq 'PSPHOT.STACK.BACKMDL')) {
    385388                my $sky_id = $entry->{sky_id};
    386389                my $stack_id = $entry->{stack_id};
     
    425428        unless ($stat) {
    426429            if (($stage eq 'camera')&&($key =~ /psf/)) {
     430                warn "nebulous key: $key not found";
     431            }
     432            elsif (($stage eq 'ff')&&($key =~ /cff/)) {
    427433                warn "nebulous key: $key not found";
    428434            }
Note: See TracChangeset for help on using the changeset viewer.