European-XFEL / karabo_data

Python tools to read and analyse data from European XFEL
https://karabo-data.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
13 stars 7 forks source link

Add --source and --key options to karabo-bridge-serve-files #183

Closed takluyver closed 5 years ago

takluyver commented 5 years ago

It's more efficient to read and stream only specific data of interest rather than an entire run. This makes it possible to do that from the karabo-bridge-serve-files CLI.

At present, it's only possible to specify one source pattern and one key pattern to select data, so if you wanted to stream e.g. AGIPD data and an XGM together, you'd either need to write a tiny Python script to do that, or put up with streaming all sources from the CLI. If necessary, we can think about ways to specify multiple patterns, but it might be a bit awkward with command-line options.

https://in.xfel.eu/redmine/issues/42840

tmichela commented 5 years ago

LGTM

fangohr commented 5 years ago

A bit late to the party: have we got examples in the documentation for this feature?