FITS IO Problem [message #70667] |
Fri, 23 April 2010 13:30  |
John B
Messages: 5 Registered: April 2010
|
Junior Member |
|
|
Hi All,
I am writing an anonymous structure (52 columns by 21 rows) out to a
FITS file, using mwrfits.pro from the astrolib library. When I take
that file and read it back in (from the same machine), I get garbage
values throughout the
structure. Nans, infs and just random longs... very confusing.
Neither program complains, and until now, both have worked
spectacularly.
I have noticed that the first row is preserved properly, and that I
can isolate a single row and write it out, then read it in, and it is
ok.
Any suggestions??
Thank you!
|
|
|
Re: FITS IO Problem [message #71430 is a reply to message #70667] |
Mon, 21 June 2010 06:50   |
wlandsman
Messages: 743 Registered: June 2000
|
Senior Member |
|
|
Marc,
In my April post, I was referring to the bug (ID: 2982679) that
you evidently fixed on 10-04-10
http://sourceforge.net/tracker/?func=detail&aid=2982679& amp;group_id=97659&atid=618683
Thanks for your work on GDL! --Wayne
On Jun 21, 4:59 am, "m_schell...@sf.net" <mschell...@gmail.com> wrote:
> On 24 Apr., 18:09, wlandsman <wlands...@gmail.com> wrote:
>
>> You wouldn't be usingGDL(the free IDL clone) rather than IDL, would
>> you? I recently discovered thatGDLhas a slightly different
>> treatment of nested loops than IDL, that led to disastrous
>> consequences for a different set of FITS I/O routines. --Wayne
>
> I just stumbled over this statement now.
> I am not aware of any different handling of nested loops.
> Could you post an example showing the different behaviour of GDL?
> The actual tarball is 0.9rc4
> ( http://sourceforge.net/projects/gnudatalanguage/files/gdl/0. 9rc4/
> gdl-0.9rc4.tar.gz/download)
> This version already contains a corrected handling of GOTO in and out
> of loops.
>
> Regards,
> Marc
|
|
|
Re: FITS IO Problem [message #71676 is a reply to message #71430] |
Tue, 13 July 2010 17:06  |
Brandon S.
Messages: 1 Registered: July 2010
|
Junior Member |
|
|
I'm late to the party here, but I was having the same problem as
John. Updating my goddard library fixed the problem (as far as I can
tell), but I'm still unsure of the root of the original problem.
Doesn't matter now, though, I suppose! Thanks!
|
|
|