You need to initialize the Fortran interface:

CALL h5open_f(hdferr)

On 2012-03-26 06:22, Ekin Akoglu wrote:
Dear all,

 I cannot read compound data from HDF file. I created the data and
wrote it to a HDF file with a FORTRAN subroutine and now trying to
read it within another FORTRAN program. Attached are my script, HDF
file and its h5dump output. My script halts with an error like:

 HDF5-DIAG: Error detected in HDF5 (1.8.8) thread 0:
 #000: H5Tarray.c line 142 in H5Tarray_create2(): not an valid base
datatype
 major: Invalid arguments to routine
 minor: Inappropriate type
 ....
 ....
 HDF5-DIAG: Error detected in HDF5 (1.8.8) thread 0:
 #000: H5S.c line 365 in H5Sclose(): not a dataspace
 major: Invalid arguments to routine
 minor: Inappropriate type

 I would be glad if you can help me on the issue. Thank you all for
your concerns.

 Best regards,

--
 EKIN AKOGLU

 Research Assistant

 Institute of Marine Sciences
 Middle East Technical University
 P.O. Box 28, 33731
 Erdemli, Mersin
 Turkey

 Web: www.ims.metu.edu.tr [1]
 Email: [email protected] [2]
 Phone: +90 324 521 34 34
 GSM: +90 506 554 03 90
 Fax: +90 324 521 23 27

Links:
------
[1] http://webmail.hdfgroup.org/www.ims.metu.edu.tr
[2] mailto:[email protected]


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to