Skip to content

Commit

Permalink
chore(rioxarray): ✏️ avoiding xarray deprecation warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviernogueira committed Feb 6, 2024
1 parent 8cfe331 commit a724bc9
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 @@ -881,7 +881,7 @@ def _load_bands_as_variables(
**open_kwargs,
)
.squeeze() # type: ignore
.drop("band") # type: ignore
.drop_vars("band") # type: ignore
)
dataset = Dataset(data_vars, attrs=global_tags)

Expand Down

0 comments on commit a724bc9

Please sign in to comment.