Skip to content

Commit 4f5a0f1

Browse files
authored
using new parameter in multi_stream_data_sampler (ecmwf#1508)
* using new parameter * using the self. parameter
1 parent 68d2874 commit 4f5a0f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/weathergen/datasets/multi_stream_data_sampler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def __init__(
202202
"length of MultiStreamDataSampler,"
203203
f"{n_duplicates} duplicate samples will be sampled."
204204
"To avoid this increase the the length of the"
205-
f"global sampling window by {n_duplicates * cf.step_hrs} hours."
205+
f"global sampling window by {n_duplicates * self.step_timedelta} hours."
206206
)
207207
logger.warning(msg)
208208
logger.info(f"index_range={index_range}, len={self.len}, len_chunk={len_chunk}")

0 commit comments

Comments
 (0)