Skip to content

A "live" hub for intermediate LCLS analysis results

Notifications You must be signed in to change notification settings

silkenelson/pscache

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pscache

A "live" hub for intermediate LCLS analysis results

Info on Redis

Schema

Each experiment will recieve it's own REDIS DB. Within that DB, there will be the following key:value pairs

key value type contents meta/data


  • runs set list of runs metadata
  • run(#):keys hash key:"shape-type" metadata
  • run#:(key) list list of data data

This way the user can:

  1. Query what runs are avaliable ("runs")
  2. Query what keys are avaliable for that run ("run(#):keys")
  3. Get the expected shape and type for a key ("run(#):keys" "key")
  4. Get the data for a specific key ("run#:(key)")

to do

1a. data lifetime 1b. run length 2. to xarray 3. (for later) one DB per expt

About

A "live" hub for intermediate LCLS analysis results

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 52.4%
  • Python 47.5%
  • Shell 0.1%