From 36261339e35db9b022d12be9177076b4fbd96397 Mon Sep 17 00:00:00 2001 From: BRAUN REMI Date: Thu, 4 Jan 2024 12:44:10 +0100 Subject: [PATCH] **BREAKING CHANGE**: Set default `chunks` to `auto` in `rasters.read` --- CHANGES.md | 4 ++++ sertit/rasters.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 4284da0..4338603 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Release History +## 1.34.0 (2024-MM-DD) + +- **BREAKING CHANGE**: Set default `chunks` to `auto` in `rasters.read` + ## 1.33.0 (2024-01-02) - **ENH: Mirror `window` in `vectors.read` (from `rasters.read`), enhancing `gpd.read_file(bbox=...)`** diff --git a/sertit/rasters.py b/sertit/rasters.py index 7e26ee7..7db17b8 100644 --- a/sertit/rasters.py +++ b/sertit/rasters.py @@ -646,7 +646,7 @@ def read( resampling: Resampling = Resampling.nearest, masked: bool = True, indexes: Union[int, list] = None, - chunks: Union[int, tuple, dict] = None, + chunks: Union[int, tuple, dict] = "auto", as_type: Any = None, **kwargs, ) -> AnyXrDataStructure: