Does the example h5ex_t_cmpd_F03.f90 at https://www.hdfgroup.org/HDF5/examples/api18-fortran.html
help? > On Jun 23, 2016, at 7:41 AM, Øyvind Sylta <[email protected]> wrote: > > Is there a simple Fortran90 instruction on reading a hdf5 dataset that uses > compound and where the dataset consists of 3 groups (x, y, z) in a 2D array > as shown in the figure. It should be easy to load this data into my array(s), > but I am stuck here. > > ! file, dset, space, dims3 and ndims3 are initialised as hdf5 variables > CALL h5dopen_f (file, “RESQML/xyz”, dset, ierr) > !call h5tget_nmembers_f(dset, members, ierr) !why does this call not work? > ! > ! Get dataspace. > ! > CALL h5dget_space_f(dset, space, ierr) > CALL h5sget_simple_extent_dims_f(space, dims3, ndims3, nrank) > > ! code to insert after here to load the data? > > > <image001.jpg> > _______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org > Twitter: https://twitter.com/hdf5 _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
