Skip to content

Commit

Permalink
**BREAKING CHANGE**: Set default chunks to auto in rasters.read
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-braun committed Jan 4, 2024
1 parent 33a14ce commit 3626133
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -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=...)`**
Expand Down
2 changes: 1 addition & 1 deletion sertit/rasters.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3626133

Please sign in to comment.