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

Home » Public Forums » archive » Structure Creation with Execute
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Structure Creation with Execute [message #3992] Tue, 11 April 1995 00:00 Go to previous message
msreeve is currently offline  msreeve
Messages: 3
Registered: June 1994
Junior Member
I am reading in an HDF file containing 30-40 Scientific Data Sets of
varying size and rank. The sizes are not known ahead of time.
I would like to read each data set into an element of an anonymous
structure and output that from the function. Currently I construct
a structure definition string by going through the HDF file and
collecting the dimensions of each SDS. I then execute it, to define
the structure (with tag names HDF0, HDF1, ...), and then make another
pass through the file to read the data into the structure.

This works well if there are only a few data sets in the file, but
if the structure definition string exceeds 131 characters (IDL's
ridiculously-low maximum for an EXECUTE), the EXECUTE fails.
Is there a way around this somehow? Is it possible to append one
structure to another (I thought not)? Any suggestions?

Mark Reeve, Ph.D.
msreeve@netcom.com OR mreeve@xti.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Always Something to Worry About
Next Topic: Re: Always Something to Worry About

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

Current Time: Wed Oct 08 17:57:58 PDT 2025

Total time taken to generate the page: 0.00395 seconds