pcdshub / archapp

Python interface to archiver appliance (that most closely matches the legacy xpppython api)
Other
4 stars 9 forks source link

ENH: add get_snapshot #16

Closed klauer closed 2 years ago

klauer commented 3 years ago

Add get_snapshot tool to get PV data (one or more PVs or globs) at a given point in time.

WIP until Murali gets around to adding metadata to the snapshot data, which is estimated to be live next month.

klauer commented 3 years ago

Going against what I said in the PR text, I don't think we really need Murali's archiver update to get this in.

It does work as-is, just does not contain all the metadata that we want in the get_snapshot response. I'll ask for a review and we'll go from there.

ZLLentz commented 3 years ago

Environment variable additions look good too! I forgot this was so hard-coded