Hi Jim,
> I probably should have been more specific on the question.
> The dataset in question is a scalar array of a compound type (see below).
>
> I can easily edit data in the "IR Data" dataset,
> however, I'm lost as to how to modify the "MetaData" dataset
For updating (or reading) a compound dataset with h5py 2.2, you can
simply use the field name as a slicing argument:
dset = f["MetaData"]
dset["endShotTime"] = 42
One cool thing is that for multidimensional compound datasets, as
opposed to your scalar example, you can also freely mix field names
and regular slicing arguments. For example, if you had a dataset of
shape (100,100) with fields "x" and "y":
another_dset["x", 0, 0:10] = 42
would update a total of 10 elements in field "x", and leave field "y" alone.
Andrew