comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: FITS IO Problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: FITS IO Problem [message #70658 is a reply to message #70656] Sat, 24 April 2010 06:18 Go to previous messageGo to previous message
John B is currently offline  John B
Messages: 5
Registered: April 2010
Junior Member
On Apr 24, 8:09 am, wlandsman <wlands...@gmail.com> wrote:
>> Readfits.pro is choking since this isn't a standard fits file (NAXIS
>> isn't defined).  Is there another one I can use?
>
> There is a nice (non-IDL) program FITSVerify ( http://heasarc.gsfc.nasa.gov/docs/software/ftools/fitsverify /) to
> check the validity of a FITS file.   You can also upload your FITS
> file to the online verifier.

Cool. I submitted it and got this error:

File name: test.fits
Run Number 8232

fitsverify 4.15 (CFITSIO V3.181)
--------------------------------


2 Header-Data Units in this file.

=================== HDU 1: Primary Array ===================

1 | SIMPLE = T /Dummy Created by MWRFITS v1.4a
2 | BITPIX = 8 /Dummy primary header created by
MWRFITS
3 | NAXIS = 0 /No data is associated with this
header
4 | EXTEND = T /Extensions may (will!) be
present
5 | END

5 header keywords

Null data array; NAXIS = 0

=================== HDU 2: BINARY Table ====================

*** Error: checking data fill: tried to move past end of file
*** Error: String in row #3, column #3 contains non-ASCII text.
(Other rows may have errors).

I don't know entirely how to interpret this.


>
> Does MWRFITS work with the simple examples provided in the
> documentation?

Yes, MWRFITS is working for other applications on my system.
>
> You wouldn't be using GDL (the free IDL clone) rather than IDL, would
> you?      I recently discovered that GDL has a slightly different
> treatment of nested loops than IDL, that led to disastrous
> consequences for a different set of FITS I/O routines.  

Nope... I am using IDL.

 --Wayne
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Convert 3D to 1D, apply fuction then convert back to 3D
Next Topic: contour plot query

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:21:21 PDT 2025

Total time taken to generate the page: 0.00187 seconds