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 Nov 20, 2024
1 parent 7de49c0 commit 2ecd02a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions odc/geo/_xr_interop.py
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ def nodata(self, value: Nodata):
to_cog = _wrap_op(to_cog)
compress = _wrap_op(compress)
add_to = _wrap_op(add_to)



@xarray.register_dataset_accessor("odc")
Expand Down Expand Up @@ -1100,7 +1100,7 @@ def to_rgba(
vmax: Optional[float] = None,
) -> xarray.DataArray:
return to_rgba(self._xx, bands=bands, vmin=vmin, vmax=vmax)

scale_and_offset = _wrap_op(scale_and_offset_dataset)


Expand Down Expand Up @@ -1324,4 +1324,3 @@ def rasterize(
invert=value_inside,
)
return wrap_xr(pix, geobox)

0 comments on commit 2ecd02a

Please sign in to comment.