IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34716


Ignore:
Timestamp:
Nov 27, 2012, 11:52:42 AM (14 years ago)
Author:
bills
Message:

better handling of the fact that we currently do not update RINGS.V0 warps

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm

    r34593 r34716  
    896896        } else {
    897897            # skip these obsolete tesselations unless they were explicitly asked for
    898             # should I do this?
    899898            next if $tess_id eq "FIXNS";
    900899            next if $tess_id eq "ALLSKY";
     900            next if $tess_id eq "RINGS.V0";
    901901        }
    902902        next if $requested_skycell and ($skycell_id ne $requested_skycell);
     
    12891289
    12901290    my $id_name = $stage . "_id";
     1291    $id_name = 'exp_id' if $stage eq 'raw';
    12911292
    12921293    # input list is "order by exp_id, run_id DESC"   run_id is one of (chip_id, warp_id, diff_id)
     
    13091310        my $magicked = $input->{magicked};  # this will be either stageRun.magicked or stage%file.magicked
    13101311        my $state = $input->{state};
     1312        $state = $input->{data_state} if !defined $state;
    13111313
    13121314        # can't process run in these states
  • trunk/pstamp/scripts/pstamp_checkdependent.pl

    r34595 r34716  
    343343    }
    344344}
     345
     346    my $tess_id = $metadata->{tess_id};
     347    if ($tess_id eq 'RINGS.V0') {
     348        # we have stopped updating data from RINGS.V0
     349        return $PSTAMP_GONE
     350    }
    345351    if (($state =~ /error/) or ($state =~ /purged/) or ($state =~ /scrubbed/) or ($state eq 'drop') or
    346352         ($data_state =~ /error/) or ($data_state =~ /purged/) or ($data_state =~ /scrubbed/) or ($data_state eq 'drop')) {
Note: See TracChangeset for help on using the changeset viewer.