DigitalGlobe / gbdxtools

(Deprecated) Python SDK for using GBDX
MIT License
74 stars 57 forks source link

Correctly calculate chunks #772

Closed drwelby closed 4 years ago

drwelby commented 5 years ago

See https://github.com/dask/dask/issues/5023

As of Dask 2.0.0 we can no longer send just one chunk size for all chunks.

drwelby commented 5 years ago

I may change this to just generate valid chunks manually instead of using the normalization. Since we already know the dimensions and chunk size we can generate the tuple of tuples quickly.

drwelby commented 4 years ago

Generating valid chunks instead:

https://github.com/DigitalGlobe/gbdxtools/commit/bdd240f926861f8c85c8a516d51c28626b119783