You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/virtualship/instruments/drifter.py
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,8 @@ def simulate_drifters(
59
59
:param dt: Dt for integration.
60
60
:param endtime: Stop at this time, or if None, continue until the end of the fieldset or until all drifters ended. If this is earlier than the last drifter ended or later than the end of the fieldset, a warning will be printed.
61
61
"""
62
+
print("Simulating drifters...")
63
+
62
64
iflen(drifters) ==0:
63
65
print(
64
66
"No drifters provided. Parcels currently crashes when providing an empty particle set, so no drifter simulation will be done and no files will be created."
@@ -102,16 +104,16 @@ def simulate_drifters(
102
104
103
105
# try/finally to ensure filter is always removed even if .execute fails (to avoid filter being appled universally)
0 commit comments