Re: hdf files and dat files [message #11601] |
Tue, 28 April 1998 00:00 |
Liam Gumley
Messages: 473 Registered: November 1994
|
Senior Member |
|
|
Natalie Rooney wrote:
> The first has to do with reading in hdf files. When developing
> programs, we often have to read in the same hdf file several times when
> the program doesn't work. There is often a problem when we try to do
> this. For some reason, you have to read in a different one and then
> read the one you wnat. This resets the reader somehow. Is there any
> solution to this problem?
You need to be pretty careful about opening and closing HDF files in
IDL. For example, if you open a HDF file, and then your program crashes,
the most reliable way to make sure everything gets reset properly is to
exit and then restart IDL. You could probably use error trapping to get
around this, but exit/restart is quick and easy.
Cheers,
Liam.
|
|
|