IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

Fix odd type error

File:
1 edited

Legend:

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

    r28806 r28818  
    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    }
Note: See TracChangeset for help on using the changeset viewer.