From 2ecd02a7cccade112e3d511873f7656b06932b65 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 04:37:18 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- odc/geo/_xr_interop.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/odc/geo/_xr_interop.py b/odc/geo/_xr_interop.py index 2c1fddee..52b70fb6 100644 --- a/odc/geo/_xr_interop.py +++ b/odc/geo/_xr_interop.py @@ -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") @@ -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) @@ -1324,4 +1324,3 @@ def rasterize( invert=value_inside, ) return wrap_xr(pix, geobox) -