Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions parcels/_core/particleset.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ def execute(

if verbose_progress:
pbar = tqdm(total=(end_time - start_time) / np.timedelta64(1, "s"), file=sys.stdout)
pbar.set_description("Integration time: " + str(start_time))

next_output = start_time + sign_dt * outputdt if output_file else None

Expand All @@ -566,6 +567,7 @@ def execute(
next_output += outputdt

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

time = next_time
Expand Down