Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit 4e28e76

Browse files
Merge pull request #277 from openclimatefix/issue/more-logging
add logging
2 parents 78e0f0b + b593b72 commit 4e28e76

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ocf_datapipes/training/windnet.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,13 @@ def __iter__(self):
163163
# in production we don't want any nans in the satellite data
164164
# combined_datapipe = combined_datapipe.map(check_nans_in_satellite_data)
165165

166+
logger.info("Fill in nans")
166167
combined_datapipe = combined_datapipe.map(fill_nans_in_arrays)
167168

168-
yield next(iter(combined_datapipe))
169+
one_batch = next(iter(combined_datapipe))
170+
logger.info(one_batch)
171+
172+
yield one_batch
169173

170174

171175
def minutes(num_mins: int):

0 commit comments

Comments
 (0)