IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 6, 2015, 9:15:28 AM (11 years ago)
Author:
bills
Message:

when checking dependents for warps if camRun has been cleaned fault the
dependent with PSTAMP_GONE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstamp_checkdependent.pl

    r38062 r39054  
    416416    }
    417417
    418     # The update system currently requires that data that has been magicked be destreaked
    419     # at chip stage so it needs magic even if the customer doesn't.
    420 if (0) {
    421     if ($metadata->{magicked} != 0) {
    422         $need_magic = 1;
    423     }
    424 }
    425 
    426 if (0) {
    427     my $tess_id = $metadata->{tess_id};
    428     if ($tess_id eq 'RINGS.V0') {
    429         # we have stopped updating data from RINGS.V0
    430         return $PSTAMP_GONE
    431     }
    432 }
    433418    if (($state =~ /error/) or ($state =~ /purged/) or ($state =~ /scrubbed/) or ($state eq 'drop') or
    434419         ($data_state =~ /error/) or ($data_state =~ /purged/) or ($data_state =~ /scrubbed/) or ($data_state eq 'drop')) {
     
    495480        # XXX: change tools to include cam_state (camRun.state). If it is not full the warp updates will never run.
    496481        my $cam_fault = $chip->{cam_fault};
    497         if (defined $cam_fault and $cam_fault > 0) {
     482        if (($chip->{camState} eq 'cleaned') or defined $cam_fault and $cam_fault > 0) {
    498483            print STDERR "camRun for $warp_id skycell_id $skycell_id is faulted: $cam_fault\n";
    499484            return $PSTAMP_GONE;
Note: See TracChangeset for help on using the changeset viewer.