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

Home » Public Forums » archive » Re: HDF_DFSD_ADDDATA: Invalid HDF file or filename (test.hdf).
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: HDF_DFSD_ADDDATA: Invalid HDF file or filename (test.hdf). [message #34327] Thu, 06 March 2003 07:51
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
"Pete Riley" <deja@peteriley.org> wrote in message
news:670f2ad1.0303051105.533afd9e@posting.google.com...
> I wanted to create an old-style HDF4 datafile (with the single dataset
> per file format). With the new HDF files, it appears to be impossible
> to force the dimensions (scales) to be in the right position (even
> though most new software has no problem reading it). So although the
> old-style routines are obsolete, they are still available, and
> necessary for an old graphics package I have to use. However, I cannot
> get even a simple file to be written. Here's the error I get for a
> simple test case:
>
> IDL|uk2-> HDF_DFSD_ADDDATA,'test.hdf',dist(200)
> % Compiled module: DIST.
> % Loaded DLM: HDF.
> % HDF_DFSD_ADDDATA: Invalid HDF file or filename (test.hdf).
> % Execution halted at: $MAIN$
> IDL|uk2->

Pete,

All my experience with HDF has taught me to avoid the old-style DFSD
interface like the plague. Does your graphics package read the new-style
HDF4 scientific datasets? If so, I'd try everything to make a file in that
format. Can you elaborate on the problem with dimensions in the new format?

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Input parameters in a DOS menu driven routine.
Next Topic: help, cannot create hdf-sd string array variable

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

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

Total time taken to generate the page: 0.00517 seconds