[SciPy-User] IO of large ASCII table data

Éric Depagne edepagne@lcogt....
Tue Aug 17 13:43:20 CDT 2010


> 
> Here's the time it takes to read from my home directory (regular HD):
> >> f = h5py.File('/home/kg/speed.hdf5')
> >> t1=time.time(); a = f['arr'][:]; print time.time() - t1
> 
> 0.0879709720612
> 
> And here's the time it takes to read from my ram disk:
> >> f = h5py.File('/dev/shm/speed.hdf5')
> >> t1=time.time(); a = f['arr'][:]; print time.time() - t1
> 
> 0.086874961853
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
> 
That's impressive.
Any ascii file can be read with h5py? 
And the can we "convert" the data read into numpy arrays ?

-- 
Un clavier azerty en vaut deux
----------------------------------------------------------
Éric Depagne                            edepagne@lcogt.net
Las Cumbres Observatory 
6740 Cortona Dr
Goleta CA, 93117
----------------------------------------------------------


More information about the SciPy-User mailing list