We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 506681e commit bcbb03eCopy full SHA for bcbb03e
Tools/dea_tools/coastal.py
@@ -768,8 +768,11 @@ def _pixel_tides_resample(
768
# hundreds of tiny x and y chunks due to the small size of
769
# `tides_lowres` (possible odc.geo bug?)
770
if dask_chunks == "auto":
771
- if (y_dim in ds.chunks) & (x_dim in ds.chunks):
772
- dask_chunks = (ds.chunks[y_dim], ds.chunks[x_dim])
+ if ds.chunks is not None:
+ if (y_dim in ds.chunks) & (x_dim in ds.chunks):
773
+ dask_chunks = (ds.chunks[y_dim], ds.chunks[x_dim])
774
+ else:
775
+ dask_chunks = ds.odc.geobox.shape
776
else:
777
dask_chunks = ds.odc.geobox.shape
778
0 commit comments