IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 71


Ignore:
Timestamp:
May 12, 2003, 10:08:42 AM (23 years ago)
Author:
eugene
Message:

added check for imstats to bias & dark

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/perl/src/dt.select

    r58 r71  
    3636    if ("\U$detype\E" ne "FLAT") { die "ERROR: flat extras are missing\n"; }
    3737}
     38
     39$CCDWORD      = `gconfig CCDNUM-KEYWORD`; chop $CCDWORD;
    3840
    3941# relevant camera parameters
     
    8082FRAME:
    8183foreach $frame (@list) {
    82     @words = split (" ",$frame);
     84    @words = split (" ", $frame);
    8385
    8486    # skip domeflat images
     
    140142        }
    141143    }
     144    # test bias levels for BIAS / DARK
     145    if (($type eq "BIAS") || ($type eq "DARK")) {
     146       CHIP:  # check for values in bias column
     147        foreach $chip (@list2) {
     148            @words2 = split (" ", $chip);
     149            if ($words2[10] == 0.0) { print STDERR "$words[5] rejected: no imstats\n"; next FRAME; }
     150        }
     151    }
    142152
    143153    # add good images to the output lists (use CCD N for output filenames, CCD ID for [extname] in mef files)
Note: See TracChangeset for help on using the changeset viewer.