Last active
April 7, 2017 10:16
-
-
Save aquilesC/f1c7e944e33498578e85c11dce809af2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import h5py | |
filename = 'test.hdf5' | |
f = h5py.File(filename,'a') | |
g = f.create_group('BigArray') | |
dset = g.create_dataset('timelapse', (1000,1000, 1000), compression='gzip') | |
for i in range(1000): | |
for j in range(1000): | |
dset[i,j,0] = 1 | |
f.flush() | |
f.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment