Pretty sure that is possible though I haven't looked at doing this kind of thing in detail.
I think you wind up having to create a different datapsace for the memory buffer than the one you get from the dataset when you open it. https://www.hdfgroup.org/HDF5/doc/UG/HDF5_Users_Guide-Responsive%20HTML5/index.html#t=HDF5_Users_Guide%2FDataspaces%2FHDF5_Dataspaces_and_Partial_I_O.htm%23TOC_7_4_Dataspaces_and_Databc-6&rhtocid=7.2 Mark From: Hdf-forum <[email protected]<mailto:[email protected]>> on behalf of David <[email protected]<mailto:[email protected]>> Reply-To: HDF Users Discussion List <[email protected]<mailto:[email protected]>> Date: Thursday, January 7, 2016 12:00 PM To: HDF Users Discussion List <[email protected]<mailto:[email protected]>> Subject: [Hdf-forum] Write a multi-dim dataset as one-d Is there any way to make a selection from a multi-dim dataset but treat it as a one-d array with the same memory layout. I want to stream data linearly (in chunks) into a dataset without needing to figure out the multi-dim coords or having rectangular chunks. Thanks, David
_______________________________________________ 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
