The "first non-fill-value" in which order? (chronological, C-order, ...)
Short answer: No chance.
Slightly longer: (Apart from H5DOwrite_chunk...) There is currently no API that
gives you direct control over/introspection into chunks. You can control certain
aspects of chunk allocation time and policy (via dataset creation properties),
but the rest is pretty opaque and a side-effect of H5D[read,write].
I think you have at least two options:
1. Create an auxiliary structure where you maintain that type of log
information.
(This is dangerous/illusionary because you'll be making assumptions about
how the
HDF5 library writes/updates chunks, and what happens in the underlying
storage.)
2. Create a proper sparse structure and don't use chunking to mimic one.
(You might still struggle with the definition of 'first.')
G.
From: Hdf-forum [mailto:[email protected]] On Behalf Of Efim
Dyadkin
Sent: Wednesday, April 19, 2017 5:04 PM
To: [email protected]
Subject: [Hdf-forum] first non-fill-value in the sparse chunked dataset
Hi,
I am using a sparse chunked dataset with a certain fill value. I'd like to find
a first non-fill-value element in the dataset. Can I narrow down my search to a
first available chunk? How can I do it?
Thank you,
Efim Dyadkin
------------------- This e-mail, including any attached files, may contain
confidential and privileged information for the sole use of the intended
recipient. Any review, use, distribution, or disclosure by others is strictly
prohibited. If you are not the intended recipient (or authorized to receive
information for the intended recipient), please contact the sender by reply
e-mail and delete all copies of this message.
_______________________________________________
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