I use PyTables to store some images as Array and CArray . For each of these images, I also want to save some basic metadata (e.g. EXIF) .
I can imagine several approaches for storing both of these data formats: from storing metadata with the AttributeSet class for each Array / CArray to using Table for all metadata.
My question is: what is the best approach if I want to be able to efficiently query and retrieve images from the final hdf5 file for processing? For example, I would like to be able to extract snapshots taken at a specific time (12-3pm), and process this subset of data, and then insert copies into the database or replace existing arrays.
Thank you for help.
Best
Nick
[Edit (clarification): I am currently processing these images as NumPy arrays, and I hope to maintain this functionality]
source share