Skip to content

Commit f121dfa

Browse files
committed
inserting the integration datetime as a description in the progress bar
1 parent 1da16bb commit f121dfa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

parcels/_core/particleset.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,7 @@ def execute(
570570
next_output += outputdt
571571

572572
if verbose_progress:
573+
pbar.set_description("Integration time: " + str(time))
573574
pbar.update((next_time - time) / np.timedelta64(1, "s"))
574575

575576
time = next_time

0 commit comments

Comments
 (0)