From b2a97877fe95b94601264d5e56a74bc1ea624aa4 Mon Sep 17 00:00:00 2001 From: jzvolensky Date: Mon, 6 May 2024 09:23:23 +0200 Subject: [PATCH] Run pre-commit to hopefully fix the tests --- .../process_implementations/cubes/resample.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openeo_processes_dask/process_implementations/cubes/resample.py b/openeo_processes_dask/process_implementations/cubes/resample.py index 4d13f679..1dd7e878 100644 --- a/openeo_processes_dask/process_implementations/cubes/resample.py +++ b/openeo_processes_dask/process_implementations/cubes/resample.py @@ -1,7 +1,7 @@ import logging from typing import Optional, Union -import odc.geo.xr +import odc.geo.xr import rioxarray # needs to be imported to set .rio accessor on xarray objects. from odc.geo.geobox import resolution_from_affine from pyproj.crs import CRS, CRSError @@ -50,7 +50,7 @@ def resample_spatial( f'Selected resampling method "{method}" is not available! Please select one of ' f"[{', '.join(resample_methods_list)}]" ) - + dims = list(data.dims) known_dims = [