IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41994


Ignore:
Timestamp:
Jan 24, 2022, 10:42:15 AM (4 years ago)
Author:
eugene
Message:

fail is not an allowed state for a run (not in list of pxIsValidState in pxtools.c); changing fail to drop, which is allowed

Location:
trunk/ippScripts/scripts
Files:
2 edited

Legend:

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

    r41893 r41994  
    15181518            my $this_quality = ${ $this_warp }[5];
    15191519            my $this_state   = ${ $this_warp }[4];
    1520             if (($this_quality != 0) || ($this_state eq 'fail') ) {
     1520            if (($this_quality != 0) || ($this_state eq 'drop') ) {
    15211521                print STDERR "diff_queue: excluding $this_exp_id for $this_object due to non-zero cam.quality $this_quality or state $this_state\n";
    15221522            }
     
    17081708                my $this_quality = ${ $this_warp }[5];
    17091709                my $this_state   = ${ $this_warp }[4];
    1710                 if (($this_quality != 0) || ($this_state eq 'fail') ) {
     1710                if (($this_quality != 0) || ($this_state eq 'drop') ) {
    17111711                    print STDERR "desp_diff_singles: excluding $this_exp_id for $this_object due to non-zero cam.quality $this_quality or state $this_state\n";
    17121712                }
     
    19251925                my $this_quality = ${ $this_warp }[5];
    19261926                my $this_state   = ${ $this_warp }[4];
    1927                 if (($this_quality != 0) || ($this_state eq 'fail') ) {
     1927                if (($this_quality != 0) || ($this_state eq 'drop') ) {
    19281928                    print STDERR "desp_diff_queue: excluding $this_exp_id for $this_object due to non-zero cam.quality $this_quality or state $this_state\n";
    19291929                }
  • trunk/ippScripts/scripts/warp_overlap.pl

    r41893 r41994  
    154154# we set the warpRun state to 'fail' since no warpSkyCellMap can be generated.
    155155if (scalar @overlaps == 0) {
    156     warn("no overlaps found (bad astrometry); setting warpRun state to 'fail'\n");
     156    warn("no overlaps found (bad astrometry); setting warpRun state to 'drop'\n");
    157157
    158158    # Add the processed file to the database
Note: See TracChangeset for help on using the changeset viewer.