Skip to content

Commit a98a840

Browse files
author
Darius Couchard
committed
Fix linting and this time you will pass
1 parent 06c4349 commit a98a840

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

src/worldcereal/openeo/preprocessing.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@
1414
from openeo_gfmap.fetching.meteo import build_meteo_extractor
1515
from openeo_gfmap.fetching.s1 import build_sentinel1_grd_extractor
1616
from openeo_gfmap.fetching.s2 import build_sentinel2_l2a_extractor
17-
from openeo_gfmap.preprocessing.compositing import (
18-
mean_compositing,
19-
median_compositing,
20-
)
17+
from openeo_gfmap.preprocessing.compositing import mean_compositing, median_compositing
2118
from openeo_gfmap.preprocessing.sar import compress_backscatter_uint16
2219
from openeo_gfmap.utils.catalogue import UncoveredS1Exception, select_S1_orbitstate
2320

@@ -236,7 +233,7 @@ def raw_datacube_METEO(
236233
extractor = build_meteo_extractor(
237234
backend_context=backend_context,
238235
bands=["AGERA5-TMEAN", "AGERA5-PRECIP"],
239-
fetch_type=fetch_type
236+
fetch_type=fetch_type,
240237
)
241238
return extractor.get_cube(connection, spatial_extent, temporal_extent)
242239

@@ -267,9 +264,9 @@ def precomposited_datacube_METEO(
267264
temporal_extent=temporal_extent,
268265
bands=["precipitation-flux", "temperature-mean"],
269266
)
270-
cube = cube.rename_labels(dimension="bands", target=[
271-
"AGERA5-PRECIP", "AGERA5-TMEAN"
272-
])
267+
cube = cube.rename_labels(
268+
dimension="bands", target=["AGERA5-PRECIP", "AGERA5-TMEAN"]
269+
)
273270

274271
return cube
275272

0 commit comments

Comments
 (0)