Hi,I have a problem with reading datatypes in HDF5.
If i know that there is <int>
  H5D.read(datasetID, dataType, new H5Array<int>(dataint));
it's ok.
But in the dataset there is a table with mixed datatypes.
To grab data i used
  struct metadata
{
public string a;
public int b;
public float c;
public float d;
public string f; (and so  on)
}
 
 metadata[] s1 = new metadata[1];

 H5D.read(datasetID, dataType, new H5Array<metadata_song>(s1));
But strings are returned as null, float data is not correct as well as  int.
Can u show the point wich i have missed?




--
View this message in context: 
http://hdf-forum.184993.n3.nabble.com/c-read-different-datatypes-tp4026057.html
Sent from the hdf-forum mailing list archive at Nabble.com.

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

Reply via email to