Thank you Gerd. H5P_DEFAULT was exactly what I need. Oh I had some trouble writing strings, but I think writing them as char[] will be fine for my application at the moment. Much happiness.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Gerd Heber Sent: Monday, January 23, 2012 11:45 AM To: 'HDF Users Discussion List' Subject: Re: [Hdf-forum] Selections in Hdf5DotNet Karl, attached is an IronPython script that demonstrates what I believe you are trying achieve (for a 2d 32-bit integer array). The property list you're using is not quite what you want. The minor difference is: ... H5P_DEFAULT = H5PropertyListId(H5P.Template.DEFAULT) H5S_ALL = H5DataSpaceId(H5S.H5SType.ALL) status = H5D.write(dset, dtype, H5S_ALL, H5S_ALL, H5P_DEFAULT, H5Array[Int32](data)) ... Best, G. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Karl Petersen Sent: Sunday, January 22, 2012 3:40 PM To: '[email protected]' Subject: [Hdf-forum] Selections in Hdf5DotNet I'm trying to write using selections in Hdf5DotNet 1.8.8 x86-64. The two writes below should be equivalent, but the first one succeeds and the second one fails. Why? (If they are not equivalent, how can I write the equivalent statement with selections?) Dim allspace As H5DataSpaceId = New H5DataSpaceId(H5S.H5SType.ALL) Dim DA As H5PropertyListId = H5P.create(H5P.PropertyListClass.DATASET_ACCESS) H5D.write(d, double_t, data) H5D.write(d, double_t, allspace, allspace, DA, data) _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
