thunder-project / thunder

scalable analysis of images and time series
http://thunder-project.org
Apache License 2.0
814 stars 184 forks source link

images.toseries() 'auto' setting fails if length is larger then 100,000 #347

Closed boazmohar closed 8 years ago

boazmohar commented 8 years ago
data = thunder.images.fromrandom(shape=(110000,10,10,10), engine=sc))
data.toseries()

leads to weird chunking as:

if chunk_size is 'auto':
    chunk_size = str(int(100000.0/self.shape[0])))

chunk_size
out: '0'