Skip to content

Commit 6821301

Browse files
committed
add logging
1 parent 2b33bc1 commit 6821301

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/nwp_consumer/internal/repositories/raw_repositories/ecmwf_realtime.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ def _download(self, url: str) -> ResultE[pathlib.Path]:
194194
).with_suffix(".grib").expanduser()
195195

196196
# Only download the file if not already present
197+
log.info("Checking for local file: '%s'", local_path)
197198
if not local_path.exists() or local_path.stat().st_size == 0:
198199
local_path.parent.mkdir(parents=True, exist_ok=True)
199200
log.debug("Requesting file from S3 at: '%s'", url)

0 commit comments

Comments
 (0)