diff --git a/src/asf_tools/watermasking/fill_missing_tiles.py b/src/asf_tools/watermasking/fill_missing_tiles.py index 0ba7c540..72d6e6a0 100644 --- a/src/asf_tools/watermasking/fill_missing_tiles.py +++ b/src/asf_tools/watermasking/fill_missing_tiles.py @@ -60,7 +60,6 @@ def main(): dst_ds.SetProjection(srs.ExportToWkt()) dst_band = dst_ds.GetRasterBand(1) dst_band.WriteArray(data) - dst_ds = None del dst_ds command = f'gdal_translate -of COG -co NUM_THREADS=all_cpus {tile_tif} {tile_cog}'