Skip to content

Commit

Permalink
Update rioxarray/_io.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alan D. Snow <alansnow21@gmail.com>
  • Loading branch information
mraspaud and snowman2 authored Jun 30, 2023
1 parent afdb906 commit ad9a7cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rioxarray/_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ def open_rasterio(
result = _prepare_dask(result, riods, filename, chunks)

result.encoding["preferred_chunks"] = {
"y": riods.block_shapes[0][0],
riods.rio.y_dim: riods.block_shapes[0][0],
"x": riods.block_shapes[0][1],
coord_name: 1,
}
Expand Down

0 comments on commit ad9a7cb

Please sign in to comment.