Hi, Is there a way to write raw binary byte array data to an existing dataset of a different type? E.g., if I have a byte array that represents an array of doubles (the byte array thus has 8 times as many elements as the double array, where each set of 8 bytes represents a double), can I somehow write that data to a double dataset in an HDF5 file? Trying this the naïve way with HDF.write just returns a -1 status.
The reason why I don't just convert it to a double array before writing is that I have an instrument which returns all its data in byte arrays, no matter the type, and then I'd have to write a converter for each of the 10 different types it output in. Thank you, Johan Lindberg -- Dr. Johan E. Lindberg
_______________________________________________ Hdf-forum is for HDF software users discussion. Hdf-forum@lists.hdfgroup.org http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5