Hi all, I am looking for information on the real-world use of the H5S_NULL dataspace flavor. My question was sparked by this discussion on the h5py mailing list:
https://groups.google.com/forum/?fromgroups=#!topic/h5py/jbZmsUmDbdo We are trying to figure out what to do at a high level in Python when reading a string attribute created with H5S_NULL. Right now the two main choices are to return an empty string, or to fail with an error. Both have their merits but I thought I'd ask how other programs handle this, e.g. Java, C++, etc. In the HDF5 C interface, it's legal to perform a read from NULL -> SCALAR, but obviously nothing actually happens (the output buffer is untouched). I am particularly interested if H5S_NULL is being commonly used "in the wild" as shorthand for an empty string. Thanks! Andrew Collette _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
