bopen / xarray-sentinel

Xarray backend to Copernicus Sentinel-1 satellite data products
Apache License 2.0
219 stars 22 forks source link

Preferred chunking is not defined correctly #91

Closed alexamici closed 2 years ago

alexamici commented 2 years ago

The burst aligned chunks set in open_pol_dataset are reset by xarray because we do not declare the preferred_chunks encodings as described in:

https://xarray.pydata.org/en/stable/internals/how-to-add-new-backend.html?highlight=preferred#backend-preferred-chunks