Dear brtnfld,

Thank you for your suggestions. The script now works perfectly. However, I have one more question with respect to the usage of H5OFFSETOF. How should I use it to determine the size of the compound type if the compound type "wdata" has more than two dims, i.e. wdata(7)?

Thank you.

Ekin

On 03/21/2012 12:36 AM, [email protected] wrote:
sz = H5OFFSETOF(C_LOC(wdata(1)%a(1)), C_LOC(wdata(2)%a(1)))


--
*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
Email: [email protected] <mailto:[email protected]>
Phone: +90 324 521 34 34
GSM: +90 506 554 03 90
Fax: +90 324 521 23 27
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to