IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28819


Ignore:
Timestamp:
Jul 30, 2010, 4:49:17 PM (16 years ago)
Author:
watersc1
Message:

Backport of corrected version.

Location:
tags/ipp-20100701/pstamp/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20100701/pstamp/scripts/detectability_respond.pl

    r28807 r28819  
    569569        $columns = [
    570570            # matching rownum from detectability original request
    571             { name => 'ROWNUM',   type => 'V', writetype => TULONG },
     571            { name => 'ROWNUM',   type => '20A', writetype => TSTRING },
    572572            # any errors that occurred during processing
    573573            { name => 'ERROR_CODE',   type => 'V', writetype => TULONG },
     
    715715#       print STDERR "$writeType $i $numRows $colName $status @{ $colData{$colName} }\n";
    716716        $outFits->write_col( $writeType, $i + 1, 1, 1, $numRows, $colData{$colName}, $status );
     717#       print "$writeType $i $numRows $colName $status\n";
    717718        check_fitsio( $status );
    718        
    719719    }
    720720    $outFits->close_file( $status );
     
    730730        my $msg;                # Message to output
    731731        Astro::FITS::CFITSIO::fits_get_errstatus( $status , $msg );
     732        carp("CFITSIO error: $status => $msg");
    732733        die "CFITSIO error: $msg\n";
    733734    }
  • tags/ipp-20100701/pstamp/scripts/dqueryparse.pl

    r28807 r28819  
    158158    }
    159159}
    160 else {
     160elsif ($fault == $PSTAMP_NOT_AVAILABLE) {
    161161    # Failed to run correctly, which means that we need to queue a job and flag data for updating.
    162162    # Get the dependency id for the data we're requesting be updated.
     
    191191    close(UPDATE_REQUEST);
    192192}
     193else {
     194    my_die ("Parse fault!!", $PS_EXIT_UNKNOWN_ERROR);
     195}
    193196
    194197# This does not set the request state to stop.  That will happen with the request_finish.pl script,
Note: See TracChangeset for help on using the changeset viewer.