European-XFEL / EXtra-data

Access saved EuXFEL data
https://extra-data.rtfd.io
BSD 3-Clause "New" or "Revised" License
7 stars 14 forks source link

Combine attributes on CONTROL key's parent group with .value attributes #495

Closed philsmt closed 8 months ago

philsmt commented 9 months ago

CONTROL keys have attributes both on their actual datasets .value and .timestamp, but also on the parent group of both. On closer inspection, the parent key actually carries most of the attributes, with only a few either copied (like unitName) or static at a wrong value (like daqPolicy). Most importantly though, attributes like description, displayedName and others are missing.

We should merge the attributes from the parent group when using KeyData.attributes() on {key}.value.