Hi!
I am using Fortran to create and fill HDF5 files with data. Postprocessing of the created HDF5 files uses h5py, a Python library. I use the HDF5 Lite API to add a double precision variable as attribute: call h5ltset_attribute_double_f(outf_id,".",trim(attribute_name(i)),double_variable(i),1,hdferr) which works fine. But as soon as I read the attribute with h5py I see, that the attribute is added as an array with one single element (array([double_variable])). This complicates postprocessing, hence I am looking for a way to write a single double precision variable as an attribute. Is there a way of doing this with Fortran? Thanks in advance, Jürgen
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
