Enhance CSV metadata with error tracking for mosaics and tiles
This commit is contained in:
+9
-1
@@ -313,11 +313,19 @@ def _print_summary(
|
||||
row(
|
||||
"Mosaics failed:",
|
||||
str(totals.mosaics_failed),
|
||||
"0 bytes or HTTP error; see log above",
|
||||
"0 bytes or HTTP error; see scans.csv and logs",
|
||||
)
|
||||
)
|
||||
if not metadata_only and not mosaic_only:
|
||||
log.info(row("Tiles downloaded:", str(totals.tiles_downloaded)))
|
||||
if not dry_run and not metadata_only:
|
||||
log.info(
|
||||
row(
|
||||
"Mosaic & tile errors:",
|
||||
"",
|
||||
f"{SCANS_CSV_FILENAME} & {TILES_CSV_FILENAME} (error_class, error, error_code)",
|
||||
)
|
||||
)
|
||||
if metadata_only:
|
||||
log.info(row("Metadata written:", str(totals.metadata_written), "new JSON files"))
|
||||
log.info(sep)
|
||||
|
||||
Reference in New Issue
Block a user