Re: Insight and HDF files [message #11631] |
Thu, 21 May 1998 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Charles Cavanaugh (cavanaug@nicole.eos.ucar.edu) writes:
> I've tried to use Insight to view an HDF file., but to no avail.
> I used the "HDF Browser" window to import 4 SDS' from my HDF file.
> In the main Insight widget, I clicked the "File" button and brought up
> the Data Manager widget, which showed the data from the imported
> SDS'. But when I selected the "Line Plot" option of the "Visualize"
> button, the following warning message was shown:
>
> Error occurred while creating a visualization.
> There is no data defined. You must first create or import
> data before you proceed.
>
> Anyone know what I've done wrong? I mean other than expecting
> Insight to work.
Now, now.
I just tried this. To make it work, I had to add another
step. I used the HDF_Browser to look at the HDF file.
This produced a "template" structure, which I had to pass
to HDF_READ. This returned another structure, but at least
this structure had a field with my SDS in it. I pulled that
out and it went into Insight slick as a whistle.
My guess is that you were trying to import one of those
intermediate structures and that Insight was looking at you
as if you hadn't any. :-)
Cheers,
David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|