Closed mrakitin closed 3 years ago
@pelliciari tested it, and confirmed over the phone that it worked as expected.
I tested it with RE(bp.count([m3_diag_cam], num=3))
, and got all the images back with data = np.array(list(hdr.data('m3_diag_cam_image')))
. The create_dir
component value is reverted to 0
(original value before the scan).
If this works, then this should be pushed upstream to ophyd ASAP!
Pushed upstream via https://github.com/bluesky/ophyd/pull/996.
In this update I've used the
HDF5Plugin_V22
plugin, which definesFilePlugin_V22
, that has thecreate_directory
component. The value for that component is set to-3
via thestage_sigs
, so that 3 levels of directories are created (%Y/%m/%d
).Here is the help from CSS on that feature, for future reference:
The storage location for the hdf5 files is set to be the Lustre mount.