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

Home » Public Forums » archive » Re: Insight and HDF files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Insight and HDF files [message #11631] Thu, 21 May 1998 00:00
davidf is currently offline  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/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Q: Calling .PRO from a program
Next Topic: Insight and HDF files

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

Current Time: Wed Oct 08 17:36:11 PDT 2025

Total time taken to generate the page: 0.00522 seconds