IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 27, 2018, 3:41:23 PM (8 years ago)
Author:
eugene
Message:

add FLATTEST detrend type to generate a flat without breaking things

File:
1 edited

Legend:

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

    r40404 r40485  
    8080    'SKYFLATTEST_RAW'  => 1,
    8181    'FLAT'             => 1,
     82    'FLATTEST'         => 1,
    8283    'DOMEFLAT'         => 1,
    8384    'SKYFLAT'          => 1,
     
    199200        if ($normalisation == 0.0 or lc($normalisation) eq 'nan') {
    200201            warn("Class $className has bad normalisation: $normalisation");
    201             exit($PS_EXIT_SYS_ERROR);
     202            # exit($PS_EXIT_SYS_ERROR);
    202203        }
    203204
     
    212213        if (not run \@command, \$stdin, \$stdout, \$stderr) {
    213214            warn("Unable to perform dettool -addnormstat for $className: $?");
    214             exit($PS_EXIT_SYS_ERROR);
     215            # exit($PS_EXIT_SYS_ERROR);
    215216        }
    216217        print $stdout . "\n" if $verbose;
     
    225226        if ($normalisation == 0.0 or lc($normalisation) eq 'nan') {
    226227            warn("Class $className has bad normalisation: $normalisation");
    227             exit($PS_EXIT_SYS_ERROR);
     228            # exit($PS_EXIT_SYS_ERROR);
    228229        }
    229230        print "$className : $normalisation\n";
Note: See TracChangeset for help on using the changeset viewer.