- Timestamp:
- Feb 17, 2011, 3:20:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/ippScripts/scripts/register_imfile.pl
r30283 r30676 199 199 $command .= " -data_state full"; 200 200 } 201 elsif (is_ccim($tmp_exp_name,$exp_type)) { 202 printf STDERR "This is a camera commanded detrend exposure that should not cause a burn.\n"; 203 $command .= " -data_state full"; 204 } 201 205 else { 202 206 printf STDERR "Need to check burntool.\n"; … … 380 384 } 381 385 386 sub is_ccim 387 { 388 my $exp_name = shift; 389 my $exp_type = shift; 390 391 # needs to match regtool.c checks for "is_ccim". 392 if ($exp_name =~ /c/) { 393 if (($exp_type eq 'DOMEFLAT')|| 394 ($exp_type eq 'DARK')|| 395 ($exp_type eq 'BIAS')) { 396 return(1); 397 } 398 } 399 return(0); 400 } 401 382 402 sub is_daytime 383 403 {
Note:
See TracChangeset
for help on using the changeset viewer.
