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

Home » Public Forums » archive » Re: hdf5 write sample code
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: hdf5 write sample code [message #42213 is a reply to message #42212] Tue, 18 January 2005 08:52 Go to previous message
R.G.Stockwell is currently offline  R.G.Stockwell
Messages: 163
Registered: October 2004
Senior Member
"vinesh gautam" <vineshgautam@gmail.com> wrote in message
news:f243c15.0501180028.41b959df@posting.google.com...
> Hi to all
> I am new to IDL. I want to extract data from a file and want to put
> these data to HDF5 file so that data can be showen in like
> spreadsheet. Can anybody suggest me or give me any example code
> regarding this.
>
> Regards
> Vineshgautam@gmail.com

Hello,
from IDL you can run the following commands to see what hdf library you
have.

HDF_LIB_INFO, MAJOR=MAJOR, MINOR=MINOR, VERSION=VER, RELEASE=REL
PRINT, 'IDL ', !version.release, ' uses HDF Library ', $
MAJOR, MINOR, REL, FORMAT='(A,A,A,I1,".",I1,"r",I1,A)'
PRINT, VER
end

Here is the result I get

IDL 6.1.1 uses HDF Library 4.1r5
NCSA HDF Version 4.1 Release 5, November 5, 2001


I don't use HDF, but it appears that version 5 (of hdf) is not available
in the regular install of IDL v6.1.1. If you go to http://rsinc.com/ you
can find that you
can download the hdf 5 DLM.

Anyways, there is some example code at
c:\RSI\IDL61\examples\data_access\sdf\hdf_info.pro
also look at
c:\RSI\IDL61\examples\data_access\sdf\hdf_rdwr.pro

(these paths are a likely one for a ms windows machine, if you have a
different platform, the full path will be slightly different)

Cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: WINDOW procedure and SET_X_BID keyword
Next Topic: Writing output files with ION/Script

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

Current Time: Wed Oct 08 13:07:04 PDT 2025

Total time taken to generate the page: 0.00479 seconds