Skip to content

Commit 9bebee9

Browse files
committed
gs
1 parent c928a1f commit 9bebee9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

SMAP_ETL/src/main.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
get_previously_downloaded_urls,
1717
get_smap_data_list_for_arizona,
1818
get_total_size_in_gb,
19+
update_checkpoint,
1920
)
2021
import minio
2122
import s3fs
@@ -109,6 +110,11 @@ def main(
109110
LOGGER.warning("Stopping early since test mode was specified")
110111
break
111112

113+
LOGGER.info(
114+
f"Updating checkpoint file with new file {hd5_file_path[0].name}"
115+
)
116+
update_checkpoint(mc, bucket, hd5_file_path[0].name)
117+
112118
LOGGER.info("Done!")
113119

114120

0 commit comments

Comments
 (0)