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

Home » Public Forums » archive » Re: SAVE/RESTORE problems
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: SAVE/RESTORE problems [message #11235 is a reply to message #11231] Thu, 19 March 1998 00:00 Go to previous message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
R Balthazor wrote:
> I have a pair of routines that worked fine in IDL4.0. The first
> essentially read in some large arrays from a number of datasets, and
> then performed a SAVE,/VARIABLES.
[description of problems deleted]

Richard,

I've always used the following syntax to SAVE variables:

SAVE, VAR1, VAR2, ..., VARN, /XDR, FILE = 'idl.sav'

and I've never had any problems under IDL 4.0 or 5.0. If you gather your
variables into a structure, then all you have to do is SAVE the
structure itself, e.g.

STRUCT = { Date:VAR1, Time:VAR2, Latitude:VAR3, Longitude:VAR4 }
SAVE, STRUCT, /XDR, FILE = 'idl.sav'

The XDR keyword doesn't seem to add much overhead, and it's tremendously
useful to be able to port the save files between platforms (between SGI
and Linux for example).

Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley/
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Window Contents Directly to Printer
Next Topic: Font size and printing with TrueType fonts

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

Current Time: Thu Oct 16 06:05:59 PDT 2025

Total time taken to generate the page: 0.01578 seconds