Previous: Parameter Definitions
Up: No Title
Next: About this document ...
Previous Page: Parameter Definitions
Next Page: About this document ...

FITSIO Error Status Codes

0  OK, no error
101  illegal logical unit number; must be between 1 - 199, inclusive
102  too many FITS files open at once; all internal buffers full
103  unable to find requested file to open; does it exist?
104  error opening existing file
105  error creating new FITS file; (does a file with this name already exist?)
106  error writing record to FITS file
107  end-of-file encountered while reading record from FITS file
108  error reading record from file
109  FITS record blocking factor out of range; must be between 1-28800
110  error closing FITS file
111  too many fields in table; internal array dimensions too small
112  Cannot modify file with readonly access

201 failed to write keyword record; not enough room in header 202 specified keyword name was not found in the header 203 specified header record number is out of bounds 204 keyword value field is blank 205 keyword value string is missing the closing quote character 206 error while appending sequence number to keyword root name 207 illegal character in keyword name or header record 208 keyword does not have expected name. Keyword out of sequence? 209 keyword does not have expected integer value 210 could not find the required END header keyword 211 illegal BITPIX keyword value 212 illegal NAXIS keyword value 213 illegal NAXISnnn keyword value: must be 0 or positive integer 214 illegal PCOUNT keyword value 215 illegal GCOUNT keyword value 216 illegal TFIELDS keyword value 217 illegal ASCII or binary table width value (NAXIS1) 218 illegal number of rows in ASCII or binary table (NAXIS2) 219 column name (TTYPE keyword) not found 220 illegal SIMPLE keyword value 221 could not find the required SIMPLE header keyword 222 could not find the required BITPIX header keyword 223 could not find the required NAXIS header keyword 224 could not find all the required NAXISnnn keywords in the header 225 could not find the required XTENSION header keyword 226 the CHDU is not an ASCII table extension 227 the CHDU is not a binary table extension 228 could not find the required PCOUNT header keyword 229 could not find the required GCOUNT header keyword 230 could not find the required TFIELDS header keyword 231 could not find all the required TBCOLnnn keywords in the header 232 could not find all the required TFORMnnn keywords in the header 233 the CHDU is not an IMAGE extension 241 binary table row width is not equal to the sum of the field widths 251 unrecognizable type of FITS extension 252 unrecognizable FITS record 261 unable to parse the TFORM keyword value string 262 unrecognizable TFORM datatype code 263 illegal TDIMnnn keyword value

301 illegal HDU number; less than 1 or greater than internal buffer size 302 column number out of range (1 - 999) 303 must define data unit structure before attempting this operation 304 attempt to move to negative file record number 305 cannot move directly to specified HDU: unknown starting location 306 attempted to read or write a negative number of bytes in the FITS file 307 illegal starting row number for table read or write operation 308 illegal starting element number for table read or write operation 309 attempted to read or write character string in non-character table column 310 attempted to read or write logical value in non-logical table column 311 illegal ASCII table TFORM format code for attempted operation 312 illegal binary table TFORM format code for attempted operation 313 error while converting value to formatted character string 314 value for undefined pixels has not been defined 315 error during internal read of character string into integer or real value 316 illegal value in logical value column of the binary table 317 attempted to read or write descriptor in a non-descriptor field 318 attempted to read data from a zero length variable length array 319 attempted to read or write past end of variable length array 320 number of array dimensions out of range (1 - 9) 321 first pixel number is greater than the last pixel number 322 attempt to set BSCALE or TSCALn scaling parameter = 0 323 illegal axis length less than 1

401 error attempting to convert an integer to a formatted character string 402 error attempting to convert a real value to a formatted character string 403 cannot convert a quoted string keyword to an integer 404 attempted to read a non-logical keyword value as a logical value 405 cannot convert a quoted string keyword to a real value 406 cannot convert a quoted string keyword to a double precision value 407 error attempting to read character string as an integer 408 error attempting to read character string as a real value 409 error attempting to read character string as a double precision value 411 illegal number of decimal places while formatting floating point value

asterix@space.starlink
Wed Feb 16 08:18:45 GMT 1994