next up previous contents FITSIO Home
Next: Advanced Interface Subroutines Up: Basic Interface Routines Previous: Keyword I/O Routines

Data I/O Routines

The following routines read or write data values in the current HDU of the FITS file. Automatic datatype conversion will be attempted for numerical datatypes if the specified datatype is different from the actual datatype of the FITS array or table column.

1
Write elements into the primary data array or image extension.

        FTPPR[BIJED](unit,group,fpixel,nelements,values, > status)

2
Read elements from the primary data array or image extension. Undefined array elements will be returned with a value = nullval, unless nullval = 0 in which case no checks for undefined pixels will be performed. The anyf parameter is set to true (= .true.) if any of the returned elements were undefined.

        FTGPV[BIJED](unit,group,fpixel,nelements,nullval, > values,anyf,status)

3
Write elements into an ASCII or binary table column. The `felem' parameter applies only to vector columns in binary tables and is ignored when writing to ASCII tables.

        FTPCL[SLBIJEDCM](unit,colnum,frow,felem,nelements,values, > status)

4
Read elements from an ASCII or binary table column. Undefined array elements will be returned with a value = nullval, unless nullval = 0 (or = ' ' for ftgcvs) in which case no checking for undefined values will be performed. The ANYF parameter is set to true if any of the returned elements are undefined.

        FTGCV[SBIJEDCM](unit,colnum,frow,felem,nelements,nullval, >
                       values,anyf,status)

5
Get the table column number and full name of the column whose name matches the input template string. See the `Advanced Interface Routines' chapter for a full description of this routine.

        FTGCNN(unit,casesen,coltemplate, > colname,colnum,status)


next up previous contents FITSIO Home
Next: Advanced Interface Subroutines Up: Basic Interface Routines Previous: Keyword I/O Routines