Skip to content

Instantly share code, notes, and snippets.

@benjaminhwilliams
Created July 2, 2024 15:19
Show Gist options
  • Save benjaminhwilliams/9cd940c6006205808fa255a41aade4f0 to your computer and use it in GitHub Desktop.
Save benjaminhwilliams/9cd940c6006205808fa255a41aade4f0 to your computer and use it in GitHub Desktop.
Create an h5py in-memory file object
hdf5_in_memory = {"driver": "core", "backing_store": False}
with h5py.File(" ", mode="w", **hdf5_in_memory) as f:
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment