From 9d14c0b6176a49915f01e7220c3a96058d19bf11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ethan=20Carr=C3=A9s?= Date: Wed, 3 Feb 2021 23:19:53 +0100 Subject: [PATCH] dsfg --- telluric/georaster.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/telluric/georaster.py b/telluric/georaster.py index 1b3ff8a..c1d47ae 100644 --- a/telluric/georaster.py +++ b/telluric/georaster.py @@ -222,8 +222,14 @@ def key(rs): return rasters_final -def _prepare_rasters(rasters: List["GeoRaster2"], merge_strategy: MergeStrategy, first: "GeoRaster2", - resampling: Resampling = Resampling.nearest, num_threads: int = 1, warp_mem_limit: int = 0): +def _prepare_rasters(rasters, # type: List[GeoRaster2] + merge_strategy, # type: MergeStrategy + first, # type: GeoRaster2 + resampling=Resampling.nearest, # type: Resampling + num_threads=1, # type: int + warp_mem_limit=0 # type: int + ): + # type: (...) -> Tuple[IndexedSet[str], List[Optional[_Raster]]] """Prepares the rasters according to the baseline (first) raster and the merge strategy. The baseline (first) raster is used to crop and reproject the other rasters,