Hi,

Is it possible to determine for an existing hdf5 dataset if a specific chunk has been allocated?

My situation is the following: I have a large two dimensional int32 dataset representing an image, for which I want to create a number of downscaled copies (gaussian image pyramid). Each copy is half of the size of the one before. Now, the base dataset might be set quite spasely, so only a small part (~30%) of the area has actually been written to, the rest ist just the default fill value. When computing the downscaled copies, I would like to skip areas only containing the default value. Or, more precisely, copy only chunks, that actually have been allocated. Is there a way to determine if a chunk (maybe identified by an element position x,y) has been allocated?

Thanks,
Daniel

PS
A big thank-you to all HDF5 developers for this greate library!!

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to