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

Home » Public Forums » archive » saving pointers in structures to FITS files?
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: saving pointers in structures to FITS files? [message #65360 is a reply to message #65097] Thu, 26 February 2009 05:15 Go to previous message
David Gell is currently offline  David Gell
Messages: 29
Registered: January 2009
Junior Member
On Feb 10, 5:30 pm, Christopher Thom <ct...@oddjob.uchicago.edu>
wrote:
> Hi all,
>
> I have some code that uses to a structure to store a bunch of information.
> In the structure, I need to hold an array whose size will be defined (and
> modified) at run-time. I figured the easiest way was just to hold a
> pointer in the structure, and populate the heap variable at runtime.
>
> However...I'd like for the structure to be persistent between idl
> sessions, and I'd like the on-disk file to be fairly portable between
> collaborators/idl versions. I've tried all manifestations of FITS routines
> for dumping this, but mwrfits seems to just convert the data to a regular
> array, and I lose the ability to modify the length of the array when i
> read it back in.
>
> Does anyone have suggestions for drop-in replacements for the FITS binary
> tables? I've had problems with save files across idl versions before. Are
> there better alternatives? Or is there a magic keyword to mwrfits/mrdfits
> that I should be specifying? Or do I just have to suck it up and use a
> save file?
>
> cheers
> chris

Have you checked the GSFC IDL Astronomy User's Library. It contains a
large selection of routines to handle FITS files.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Why did IDL just start crashing
Next Topic: IDL on openSUSE

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

Current Time: Fri Oct 10 04:51:25 PDT 2025

Total time taken to generate the page: 1.36013 seconds