[Numpy-discussion] Reading a big netcdf file

Gökhan Sever gokhansever@gmail....
Wed Aug 3 17:56:04 CDT 2011


Back to the reality. After clearing the cache using Warren's suggestion:

In [1]: timeit -n1 -r1 a = np.fromfile('temp.npa', dtype=np.uint16)
1 loops, best of 1: 7.23 s per loop


On Wed, Aug 3, 2011 at 4:52 PM, Eric Firing <efiring@hawaii.edu> wrote:

> On 08/03/2011 11:24 AM, Gökhan Sever wrote:
>
> > I[1]: timeit a = np.fromfile('temp.npa', dtype=np.uint16)
> > 1 loops, best of 3: 263 ms per loop
>
> You need to clear your cache and then run timeit with options "-n1 -r1".
>
> Eric
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>



-- 
Gökhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20110803/ecb76093/attachment.html 


More information about the NumPy-Discussion mailing list