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

Home » Public Forums » archive » FITS IO Problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
FITS IO Problem [message #70667] Fri, 23 April 2010 13:30 Go to next message
John B is currently offline  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 Go to previous messageGo to next message
wlandsman is currently offline  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 Go to previous message
Brandon S. is currently offline  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!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: RE trying to export pixel data from .dat files, based on coordinate loc
Next Topic: Calculation of Intersection on Map

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

Current Time: Wed Oct 08 09:22:54 PDT 2025

Total time taken to generate the page: 0.00532 seconds