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
saving pointers in structures to FITS files? [message #65097] Tue, 10 February 2009 15:30 Go to previous message
Christopher Thom is currently offline  Christopher Thom
Messages: 66
Registered: October 2006
Member
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
[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 02:37:13 PDT 2025

Total time taken to generate the page: 0.48096 seconds