IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33


Ignore:
Timestamp:
Feb 14, 2003, 1:51:00 AM (23 years ago)
Author:
eugene
Message:

added abstract ccd names for megacam

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/perl/src/imstatqso

    r17 r33  
    1616if (@ARGV != 3) { die "USAGE: imstatqso (name) (stats) (sdat)\n"; }
    1717
    18 $line = `echo $ARGV[0] | fields IMAGEID`;
     18$ccdkeyword = `gconfig CCDNUM-KEYWORD`; chop ($ccdkeyword);
     19if ($?) { die "ERROR: missing CCDNUM-KEYWORD in config system\n"; }
     20
     21$refccd = `gconfig SEEING_REF_CCD`; chop ($refccd);
     22if ($?) { die "ERROR: missing SEEING_REF_CCD in config system\n"; }
     23
     24$pixscale = `gconfig ASEC_PIX`; chop ($pixscale);
     25if ($?) { die "ERROR: missing ASEC_PIX in config system\n"; }
     26
     27$line = `echo $ARGV[0] | fields $ccdkeyword`;
    1928($tmp, $ccd) = split (" ", $line);
    2029
    21 if ($ccd != 3) {
     30if ($ccd ne $refccd) {
    2231    print STDOUT "SUCCESS: skipping ccd $ccd\n";
    2332    exit 0;
     
    5059$fwhm = `seeingstats $ARGV[2]`;
    5160chop ($fwhm);
    52 $fwhm = $fwhm * 0.2;
     61$fwhm = $fwhm * $pixscale;
    5362
    5463# if this is a BIAS, send just the bias for skybg
Note: See TracChangeset for help on using the changeset viewer.