Skip to content

Instantly share code, notes, and snippets.

@klauer
Created March 15, 2016 21:27
Show Gist options
  • Save klauer/c6de404eadf548853801 to your computer and use it in GitHub Desktop.
Save klauer/c6de404eadf548853801 to your computer and use it in GitHub Desktop.
filestore handler
In [4]: filestore.api.retrieve('''401b331d-1ce3-4d0b-95f9-9ffed38b4880''',
{'AD_HDF5': filestore.path_only_handlers.RawHandler})
Out[4]:
('/data/2016/03/15/29077137-dde7-40e3-ade3_000000.h5',
{'frame_per_point': 2},
{'point_number': 1})
In [5]: import h5py
In [6]: f = h5py.File(_4[0])
In [7]: f['/entry/instrument/detector/data']
Out[7]: <HDF5 dataset "data": shape (2, 512, 512), type "<i2">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment