Skip to content

Commit 74206b4

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8f36f89 commit 74206b4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

odc/geo/_xr_interop.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ def nodata(self, value: Nodata):
10651065
to_cog = _wrap_op(to_cog)
10661066
compress = _wrap_op(compress)
10671067
add_to = _wrap_op(add_to)
1068-
1068+
10691069

10701070

10711071
@xarray.register_dataset_accessor("odc")
@@ -1100,7 +1100,7 @@ def to_rgba(
11001100
vmax: Optional[float] = None,
11011101
) -> xarray.DataArray:
11021102
return to_rgba(self._xx, bands=bands, vmin=vmin, vmax=vmax)
1103-
1103+
11041104
scale_and_offset = _wrap_op(scale_and_offset_dataset)
11051105

11061106

@@ -1324,4 +1324,3 @@ def rasterize(
13241324
invert=value_inside,
13251325
)
13261326
return wrap_xr(pix, geobox)
1327-

odc/geo/masking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def scale_and_offset(xx: DataArray, scale: float | None, offset: float | None, i
6565
# Scales and offsets is used by GDAL. Should make sure we set these in loaders
6666
if scale is None:
6767
scale = xx.attrs.get("scales")
68-
68+
6969
if offset is None:
7070
offset = xx.attrs.get("offsets")
7171

0 commit comments

Comments
 (0)