IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 3, 2007, 4:27:35 PM (19 years ago)
Author:
eugene
Message:

added sat_pixel_frac

Location:
trunk/ippScripts/scripts
Files:
2 edited

Legend:

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

    r13019 r13606  
    7272                           "ccd_temp", # CCD temperature
    7373                           "exp_time", # Exposure time
     74                           "sat_pixel_frac", # Fraction of saturated pixels
    7475                           "airmass", # Airmass
    7576                           "ra", # Right ascension
     
    160161if (0) {
    161162# XXX for a test, randomly declare a failure and return to pantasks
    162 my $rnd = rand(1);
    163 if ($rnd > 0.5) {
    164     warn ("random failure");
    165     &my_die ($exp_tag, $PS_EXIT_DATA_ERROR);
    166 }
     163    my $rnd = rand(1);
     164    if ($rnd > 0.5) {
     165        warn ("random failure");
     166        &my_die ($exp_tag, $PS_EXIT_DATA_ERROR);
     167    }
    167168}
    168169
  • trunk/ippScripts/scripts/register_imfile.pl

    r13275 r13606  
    5858    and defined $uri;
    5959
    60 my $RECIPE = "PPSTATS_PHASE0"; # Recipe to use for ppStats
     60my $RECIPE = "PPSTATS_REGISTER"; # Recipe to use for ppStats
    6161
    6262# These values should be constant for all components
     
    7979# The key is the name in the ppStats output; the value is the switch for "phase0 -updateexp"
    8080use constant VARIABLES => {
    81     "CHIP.TEMP"    => "-ccd_temp", # CCD temperature
    82     "CELL.EXPOSURE" => "-exp_time" # Exposure time
     81    "CHIP.TEMP"      => "-ccd_temp", # CCD temperature
     82    "CELL.EXPOSURE"  => "-exp_time", # Exposure time
     83    "SAT_PIXEL_FRAC" => "-sat_pixel_frac" # fraction of saturated pixels
    8384    };
    8485
Note: See TracChangeset for help on using the changeset viewer.