Can you show me how you declared your arguments in h5aread_f. Are you using any compile flags to promote any integers or reals?
Thanks, Scot > On Oct 18, 2015, at 7:51 PM, Richa Mathur <[email protected]> wrote: > > Hi > I am trying to read an attribute (N_Number_Of_Scans) that has the following > path in the hdf file > > /Data_Products/TAMS-SDR/TAMS-SDR_Gran_0/N_Number_Of_Scans > > I use the following commands > use h5df > CALL h5dopen_f(file_id, "/Data_Products/TAMS-SDR/TAMS-SDR_Gran_0", dset_id, > error) > print *,"DSET ID Gran`", dset_id > CALL h5aopen_name_f(dset_id,"N_Number_Of_Scans", attr_id, error) > CALL h5aread_f(attr_id, H5T_NATIVE_INTEGER, aread_data,ndata_dims , error) > > But I get the error > CALL h5aread_f(attr_id, H5T_NATIVE_INTEGER, aread_data,ndata_dims , error) > 1 > Error: There is no specific subroutine for the generic 'h5aread_f' at (1) > > Any help > Gompie > > _______________________________________________ > 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
