diff --git a/src/dolphin/stitching.py b/src/dolphin/stitching.py index 428aab031..878ade2ea 100644 --- a/src/dolphin/stitching.py +++ b/src/dolphin/stitching.py @@ -241,8 +241,6 @@ def merge_images( if out_dtype is not None: out_gdal_dtype = gdal.GetDataTypeName(utils.numpy_to_gdal_type(out_dtype)) args.extend(["-ot", out_gdal_dtype]) - if target_aligned_pixels: - args.append("-tap") if create_only: args.append("-create") if options is not None: @@ -253,7 +251,7 @@ def merge_images( logger.info(f"Running {' '.join(arg_list)}") subprocess.check_call(arg_list) - # Now clip to + # Now clip to the provided bounding box gdal.Translate( destName=fspath(outfile), srcDS=fspath(merge_output),