Article View: sci.astro.fits
Article #7Re: FITS error test files
From: William Pence
Date: Wed, 22 Jul 1992 17:36
Date: Wed, 22 Jul 1992 17:36
74 lines
2557 bytes
2557 bytes
I tried reading the test defective FITS files generated by Barry
Schlesinger (see previous post to this newsgroup) to see if the FITSIO
subroutine package detected the errors. I tried reading each pseudo
FITS file with a simple program that just lists the header of a FITS
file. The following list shows the error message that was returned by
FITSIO for each file. FITSIO did very well and found all the errors,
except one: it didn't complain if the first keyword was 'SIMPLE =
W'; it just assumed that if SIMPLE was not true, then it must be false.
I'll add this check to the next version of FITSIO.
-Bill Pence
--------------------------------------------------------------------------
List of error responses generated by FITSIO when trying to read test defective
FITS files generated by Barry Schlesinger
FILENAME FITSIO RESPONSE
-------- ---------------
good.tst
No errors detected; OK since this is a legal FITS file
different.tst:
Error Status Returned : 210
Missing "= " in cols 9-10
nosimple.tst
Error Status Returned : 221
SIMPLE keyword not found
simplew.tst
No errors detected; didn't detect SIMPLE = W; FITSIO should
have complained about this.
simplef.tst
No errors detected; didn't complain about SIMPLE = F; OK
bitpixq2
Error Status Returned : 211
Illegal BITPIX keyword value
bitpix13
Error Status Returned : 211
Illegal BITPIX keyword value
noequal.tst
Error Status Returned : 210
Missing "= " in cols 9-10
qin10.tst
Error Status Returned : 210
Missing "= " in cols 9-10
extraxis.tst
No errors detected; OK since this is a legal FITS file
missaxis.tst
Error Status Returned : 224
NAXISnnn keywords not found
simple2nd.tst
Error Status Returned : 210
Missing "= " in cols 9-10
shuffle.tst
Error Status Returned : 222
BITPIX keyword not found
latenaxis.tst
Error Status Returned : 223
NAXIS keyword not found
endequal.tst
No errors detected; OK since this is a legal FITS file (?).
Technical Details
Message-ID:
<pence.711826605@heawk1>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!nsisrv!heawk1!penceReferences:
<20JUL199216405756@nssdca.gsfc.nasa.gov>Show Full Headers
Complete Article Headers
Newsgroups: sci.astro.fits Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!nsisrv!heawk1!pence From: pence@heawk1.gsfc.nasa.gov ( William Pence) Subject: Re: FITS error test files Message-ID: <pence.711826605@heawk1> Keywords: FITS, software, readers Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet) Nntp-Posting-Host: heawk1.gsfc.nasa.gov Organization: Goddard Space Flight Center References: <20JUL199216405756@nssdca.gsfc.nasa.gov> Date: Wed, 22 Jul 1992 17:36:45 GMT Lines: 74