Skip to content

Commit f8910c2

Browse files
committed
Advance time once all variables have been read
1 parent 4d2fa52 commit f8910c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyspod/utils/reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def get_data_for_time(self, ts, te):
278278
vals = dvars[var].values
279279
input_data[cum_read:cum_read+read_cnt,:,idx] = vals.reshape(vals.shape[0],-1)#.copy()
280280
del vals
281-
cum_read = cum_read + read_cnt
281+
cum_read = cum_read + read_cnt
282282

283283
cum_t = cum_t + (v[1]-v[0])
284284

0 commit comments

Comments
 (0)