Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 15, 2023
1 parent 5e3663a commit a82c562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpublish_wms/wms/get_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def select_time(self, da: xr.DataArray) -> xr.DataArray:
da = da.cf.sel({self.TIME_CF_NAME: self.time}, method="nearest")
elif self.TIME_CF_NAME in da.cf.coords:
da = da.cf.isel({self.TIME_CF_NAME: -1})

return da

def select_elevation(self, ds: xr.Dataset, da: xr.DataArray) -> xr.DataArray:
Expand Down

0 comments on commit a82c562

Please sign in to comment.