Skip to content

Commit ba71db5

Browse files
committed
change mosaic default to max
1 parent d2130ab commit ba71db5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

providers/gcp/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def extract_patches():
157157
cloud_fs=fs,
158158
download_f=download_blob,
159159
task=task,
160-
method="first",
160+
method="max",
161161
resolution=archive_resolution,
162162
)
163163

src/satextractor/extractor/extractor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def task_mosaic_patches(
212212
cloud_fs: Any,
213213
download_f: Callable,
214214
task: ExtractionTask,
215-
method: str = "first",
215+
method: str = "max",
216216
resolution: int = 10,
217217
dst_path="merged.jp2",
218218
) -> List[np.ndarray]:
@@ -221,7 +221,7 @@ def task_mosaic_patches(
221221
Args:
222222
download_f (Callable): The function to download the task assets
223223
task (ExtractionTask): The task
224-
method (str, optional): The method to use while merging the assets. Defaults to "first".
224+
method (str, optional): The method to use while merging the assets. Defaults to "max".
225225
resolution (int, optional): The target resolution. Defaults to 10.
226226
dst_path (str): path to store the merged files
227227

0 commit comments

Comments
 (0)