Note
Go to the end to download the full example code.
Sediment drift from Glomma river outlet
from datetime import timedelta, datetime
from opendrift.models.sedimentdrift import SedimentDrift
o = SedimentDrift(loglevel=20) # 0 for debug output
if False: # Using constant south-westwards current and wind
o.set_config('environment:fallback:x_sea_water_velocity', -.05)
o.set_config('environment:fallback:y_sea_water_velocity', -.1)
o.set_config('environment:fallback:y_wind', -6)
o.set_config('environment:fallback:x_wind', -2)
o.set_config('environment:fallback:sea_floor_depth_below_sea_level', 100) # 100m depth
else: # Using live data from Thredds
o.add_readers_from_list([
'https://thredds.met.no/thredds/dodsC/sea/norkyst800m/1h/aggregate_be'])
17:23:40 INFO opendrift.models.basemodel:512: OpenDriftSimulation initialised (version 1.12.0 / v1.12.0-55-g4faa301)
Adding some diffusion
o.set_config('drift:current_uncertainty', .2)
o.set_config('drift:wind_uncertainty', 2)
o.set_config('vertical_mixing:diffusivitymodel', 'windspeed_Large1994')
#o.set_config('vertical_mixing:diffusivitymodel', 'environment')
Source of sediments at Glomma river outlet
lat=59.169194
lon=10.962920
o.seed_elements(lon=lon, lat=lat, number=10000,
time=[datetime.utcnow(), datetime.utcnow()+timedelta(hours=48)],
terminal_velocity=-.001) # 1 mm/s settling speed
o.run(time_step=600, time_step_output=1800, duration=timedelta(hours=36))
17:23:40 INFO opendrift.models.basemodel.environment:218: Adding a dynamical landmask with max. priority based on assumed maximum speed of 2.0 m/s. Adding a customised landmask may be faster...
17:23:43 INFO opendrift.models.basemodel.environment:245: Fallback values will be used for the following variables which have no readers:
17:23:43 INFO opendrift.models.basemodel.environment:248: x_sea_water_velocity: 0.000000
17:23:43 INFO opendrift.models.basemodel.environment:248: y_sea_water_velocity: 0.000000
17:23:43 INFO opendrift.models.basemodel.environment:248: sea_surface_height: 0.000000
17:23:43 INFO opendrift.models.basemodel.environment:248: upward_sea_water_velocity: 0.000000
17:23:43 INFO opendrift.models.basemodel.environment:248: x_wind: 0.000000
17:23:43 INFO opendrift.models.basemodel.environment:248: y_wind: 0.000000
17:23:43 INFO opendrift.models.basemodel.environment:248: sea_surface_wave_stokes_drift_x_velocity: 0.000000
17:23:43 INFO opendrift.models.basemodel.environment:248: sea_surface_wave_stokes_drift_y_velocity: 0.000000
17:23:43 INFO opendrift.models.basemodel.environment:248: sea_surface_wave_period_at_variance_spectral_density_maximum: 0.000000
17:23:43 INFO opendrift.models.basemodel.environment:248: sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment: 0.000000
17:23:43 INFO opendrift.models.basemodel.environment:248: ocean_vertical_diffusivity: 0.020000
17:23:43 INFO opendrift.models.basemodel.environment:248: ocean_mixed_layer_thickness: 50.000000
17:23:43 INFO opendrift.models.basemodel.environment:248: sea_floor_depth_below_sea_level: 10000.000000
17:23:44 INFO opendrift.models.basemodel:932: Using existing reader for land_binary_mask
17:23:44 INFO opendrift.models.basemodel:943: All points are in ocean
17:23:44 INFO opendrift.models.basemodel:2032: 2025-01-14 17:23:40.450143 - step 1 of 216 - 35 active elements (0 deactivated)
17:23:44 INFO opendrift.readers:58: Opening file with xr.open_dataset
17:23:51 INFO opendrift.readers.reader_netCDF_CF_generic:338: Detected dimensions: {'x': 'X', 'y': 'Y', 'z': 'depth', 'time': 'time'}
17:23:55 INFO opendrift.models.basemodel:2032: 2025-01-14 17:33:40.450143 - step 2 of 216 - 70 active elements (0 deactivated)
17:23:56 INFO opendrift.models.basemodel:2032: 2025-01-14 17:43:40.450143 - step 3 of 216 - 105 active elements (0 deactivated)
17:23:57 INFO opendrift.models.basemodel:2032: 2025-01-14 17:53:40.450143 - step 4 of 216 - 139 active elements (0 deactivated)
17:23:59 INFO opendrift.models.basemodel:2032: 2025-01-14 18:03:40.450143 - step 5 of 216 - 174 active elements (0 deactivated)
17:24:00 INFO opendrift.models.basemodel:2032: 2025-01-14 18:13:40.450143 - step 6 of 216 - 209 active elements (0 deactivated)
17:24:01 INFO opendrift.models.basemodel:2032: 2025-01-14 18:23:40.450143 - step 7 of 216 - 244 active elements (0 deactivated)
17:24:02 INFO opendrift.models.basemodel:2032: 2025-01-14 18:33:40.450143 - step 8 of 216 - 278 active elements (0 deactivated)
17:24:03 INFO opendrift.models.basemodel:2032: 2025-01-14 18:43:40.450143 - step 9 of 216 - 313 active elements (0 deactivated)
17:24:04 INFO opendrift.models.basemodel:2032: 2025-01-14 18:53:40.450143 - step 10 of 216 - 348 active elements (0 deactivated)
17:24:05 INFO opendrift.models.basemodel:2032: 2025-01-14 19:03:40.450143 - step 11 of 216 - 382 active elements (0 deactivated)
17:24:06 INFO opendrift.models.basemodel:2032: 2025-01-14 19:13:40.450143 - step 12 of 216 - 417 active elements (0 deactivated)
17:24:07 INFO opendrift.models.basemodel:2032: 2025-01-14 19:23:40.450143 - step 13 of 216 - 452 active elements (0 deactivated)
17:24:08 INFO opendrift.models.basemodel:2032: 2025-01-14 19:33:40.450143 - step 14 of 216 - 487 active elements (0 deactivated)
17:24:09 INFO opendrift.models.basemodel:2032: 2025-01-14 19:43:40.450143 - step 15 of 216 - 521 active elements (0 deactivated)
17:24:10 INFO opendrift.models.basemodel:2032: 2025-01-14 19:53:40.450143 - step 16 of 216 - 556 active elements (0 deactivated)
17:24:11 INFO opendrift.models.basemodel:2032: 2025-01-14 20:03:40.450143 - step 17 of 216 - 591 active elements (0 deactivated)
17:24:12 INFO opendrift.models.basemodel:2032: 2025-01-14 20:13:40.450143 - step 18 of 216 - 625 active elements (0 deactivated)
17:24:13 INFO opendrift.models.basemodel:2032: 2025-01-14 20:23:40.450143 - step 19 of 216 - 660 active elements (0 deactivated)
17:24:14 INFO opendrift.models.basemodel:2032: 2025-01-14 20:33:40.450143 - step 20 of 216 - 695 active elements (0 deactivated)
17:24:15 INFO opendrift.models.basemodel:2032: 2025-01-14 20:43:40.450143 - step 21 of 216 - 730 active elements (0 deactivated)
17:24:16 INFO opendrift.models.basemodel:2032: 2025-01-14 20:53:40.450143 - step 22 of 216 - 764 active elements (0 deactivated)
17:24:17 INFO opendrift.models.basemodel:2032: 2025-01-14 21:03:40.450143 - step 23 of 216 - 799 active elements (0 deactivated)
17:24:18 INFO opendrift.models.basemodel:2032: 2025-01-14 21:13:40.450143 - step 24 of 216 - 834 active elements (0 deactivated)
17:24:19 INFO opendrift.models.basemodel:2032: 2025-01-14 21:23:40.450143 - step 25 of 216 - 868 active elements (0 deactivated)
17:24:20 INFO opendrift.models.basemodel:2032: 2025-01-14 21:33:40.450143 - step 26 of 216 - 903 active elements (0 deactivated)
17:24:21 INFO opendrift.models.basemodel:2032: 2025-01-14 21:43:40.450143 - step 27 of 216 - 938 active elements (0 deactivated)
17:24:22 INFO opendrift.models.basemodel:2032: 2025-01-14 21:53:40.450143 - step 28 of 216 - 973 active elements (0 deactivated)
17:24:24 INFO opendrift.models.basemodel:2032: 2025-01-14 22:03:40.450143 - step 29 of 216 - 1007 active elements (0 deactivated)
17:24:25 INFO opendrift.models.basemodel:2032: 2025-01-14 22:13:40.450143 - step 30 of 216 - 1042 active elements (0 deactivated)
17:24:26 INFO opendrift.models.basemodel:2032: 2025-01-14 22:23:40.450143 - step 31 of 216 - 1077 active elements (0 deactivated)
17:24:27 INFO opendrift.models.basemodel:2032: 2025-01-14 22:33:40.450143 - step 32 of 216 - 1112 active elements (0 deactivated)
17:24:28 INFO opendrift.models.basemodel:2032: 2025-01-14 22:43:40.450143 - step 33 of 216 - 1146 active elements (0 deactivated)
17:24:29 INFO opendrift.models.basemodel:2032: 2025-01-14 22:53:40.450143 - step 34 of 216 - 1181 active elements (0 deactivated)
17:24:30 INFO opendrift.models.basemodel:2032: 2025-01-14 23:03:40.450143 - step 35 of 216 - 1216 active elements (0 deactivated)
17:24:31 INFO opendrift.models.basemodel:2032: 2025-01-14 23:13:40.450143 - step 36 of 216 - 1250 active elements (0 deactivated)
17:24:32 INFO opendrift.models.basemodel:2032: 2025-01-14 23:23:40.450143 - step 37 of 216 - 1285 active elements (0 deactivated)
17:24:33 INFO opendrift.models.basemodel:2032: 2025-01-14 23:33:40.450143 - step 38 of 216 - 1320 active elements (0 deactivated)
17:24:34 INFO opendrift.models.basemodel:2032: 2025-01-14 23:43:40.450143 - step 39 of 216 - 1355 active elements (0 deactivated)
17:24:35 INFO opendrift.models.basemodel:2032: 2025-01-14 23:53:40.450143 - step 40 of 216 - 1389 active elements (0 deactivated)
17:24:36 INFO opendrift.models.basemodel:2032: 2025-01-15 00:03:40.450143 - step 41 of 216 - 1424 active elements (0 deactivated)
17:24:37 INFO opendrift.models.basemodel:2032: 2025-01-15 00:13:40.450143 - step 42 of 216 - 1459 active elements (0 deactivated)
17:24:38 INFO opendrift.models.basemodel:2032: 2025-01-15 00:23:40.450143 - step 43 of 216 - 1493 active elements (0 deactivated)
17:24:39 INFO opendrift.models.basemodel:2032: 2025-01-15 00:33:40.450143 - step 44 of 216 - 1528 active elements (0 deactivated)
17:24:40 INFO opendrift.models.basemodel:2032: 2025-01-15 00:43:40.450143 - step 45 of 216 - 1563 active elements (0 deactivated)
17:24:41 INFO opendrift.models.basemodel:2032: 2025-01-15 00:53:40.450143 - step 46 of 216 - 1598 active elements (0 deactivated)
17:24:42 INFO opendrift.models.basemodel:2032: 2025-01-15 01:03:40.450143 - step 47 of 216 - 1632 active elements (0 deactivated)
17:24:43 INFO opendrift.models.basemodel:2032: 2025-01-15 01:13:40.450143 - step 48 of 216 - 1667 active elements (0 deactivated)
17:24:44 INFO opendrift.models.basemodel:2032: 2025-01-15 01:23:40.450143 - step 49 of 216 - 1702 active elements (0 deactivated)
17:24:45 INFO opendrift.models.basemodel:2032: 2025-01-15 01:33:40.450143 - step 50 of 216 - 1736 active elements (0 deactivated)
17:24:46 INFO opendrift.models.basemodel:2032: 2025-01-15 01:43:40.450143 - step 51 of 216 - 1771 active elements (0 deactivated)
17:24:47 INFO opendrift.models.basemodel:2032: 2025-01-15 01:53:40.450143 - step 52 of 216 - 1806 active elements (0 deactivated)
17:24:48 INFO opendrift.models.basemodel:2032: 2025-01-15 02:03:40.450143 - step 53 of 216 - 1841 active elements (0 deactivated)
17:24:49 INFO opendrift.models.basemodel:2032: 2025-01-15 02:13:40.450143 - step 54 of 216 - 1875 active elements (0 deactivated)
17:24:50 INFO opendrift.models.basemodel:2032: 2025-01-15 02:23:40.450143 - step 55 of 216 - 1910 active elements (0 deactivated)
17:24:51 INFO opendrift.models.basemodel:2032: 2025-01-15 02:33:40.450143 - step 56 of 216 - 1945 active elements (0 deactivated)
17:24:52 INFO opendrift.models.basemodel:2032: 2025-01-15 02:43:40.450143 - step 57 of 216 - 1979 active elements (0 deactivated)
17:24:53 INFO opendrift.models.basemodel:2032: 2025-01-15 02:53:40.450143 - step 58 of 216 - 2014 active elements (0 deactivated)
17:24:55 INFO opendrift.models.basemodel:2032: 2025-01-15 03:03:40.450143 - step 59 of 216 - 2049 active elements (0 deactivated)
17:24:56 INFO opendrift.models.basemodel:2032: 2025-01-15 03:13:40.450143 - step 60 of 216 - 2084 active elements (0 deactivated)
17:24:57 INFO opendrift.models.basemodel:2032: 2025-01-15 03:23:40.450143 - step 61 of 216 - 2118 active elements (0 deactivated)
17:24:58 INFO opendrift.models.basemodel:2032: 2025-01-15 03:33:40.450143 - step 62 of 216 - 2153 active elements (0 deactivated)
17:24:58 INFO opendrift.models.basemodel:2032: 2025-01-15 03:43:40.450143 - step 63 of 216 - 2188 active elements (0 deactivated)
17:24:59 INFO opendrift.models.basemodel:2032: 2025-01-15 03:53:40.450143 - step 64 of 216 - 2223 active elements (0 deactivated)
17:25:01 INFO opendrift.models.basemodel:2032: 2025-01-15 04:03:40.450143 - step 65 of 216 - 2257 active elements (0 deactivated)
17:25:01 INFO opendrift.models.basemodel:2032: 2025-01-15 04:13:40.450143 - step 66 of 216 - 2292 active elements (0 deactivated)
17:25:02 INFO opendrift.models.basemodel:2032: 2025-01-15 04:23:40.450143 - step 67 of 216 - 2327 active elements (0 deactivated)
17:25:03 INFO opendrift.models.basemodel:2032: 2025-01-15 04:33:40.450143 - step 68 of 216 - 2361 active elements (0 deactivated)
17:25:04 INFO opendrift.models.basemodel:2032: 2025-01-15 04:43:40.450143 - step 69 of 216 - 2396 active elements (0 deactivated)
17:25:06 INFO opendrift.models.basemodel:2032: 2025-01-15 04:53:40.450143 - step 70 of 216 - 2431 active elements (0 deactivated)
17:25:07 INFO opendrift.models.basemodel:2032: 2025-01-15 05:03:40.450143 - step 71 of 216 - 2466 active elements (0 deactivated)
17:25:08 INFO opendrift.models.basemodel:2032: 2025-01-15 05:13:40.450143 - step 72 of 216 - 2500 active elements (0 deactivated)
17:25:09 INFO opendrift.models.basemodel:2032: 2025-01-15 05:23:40.450143 - step 73 of 216 - 2535 active elements (0 deactivated)
17:25:10 INFO opendrift.models.basemodel:2032: 2025-01-15 05:33:40.450143 - step 74 of 216 - 2570 active elements (0 deactivated)
17:25:11 INFO opendrift.models.basemodel:2032: 2025-01-15 05:43:40.450143 - step 75 of 216 - 2604 active elements (0 deactivated)
17:25:12 INFO opendrift.models.basemodel:2032: 2025-01-15 05:53:40.450143 - step 76 of 216 - 2639 active elements (0 deactivated)
17:25:13 INFO opendrift.models.basemodel:2032: 2025-01-15 06:03:40.450143 - step 77 of 216 - 2674 active elements (0 deactivated)
17:25:14 INFO opendrift.models.basemodel:2032: 2025-01-15 06:13:40.450143 - step 78 of 216 - 2709 active elements (0 deactivated)
17:25:15 INFO opendrift.models.basemodel:2032: 2025-01-15 06:23:40.450143 - step 79 of 216 - 2743 active elements (0 deactivated)
17:25:16 INFO opendrift.models.basemodel:2032: 2025-01-15 06:33:40.450143 - step 80 of 216 - 2778 active elements (0 deactivated)
17:25:17 INFO opendrift.models.basemodel:2032: 2025-01-15 06:43:40.450143 - step 81 of 216 - 2813 active elements (0 deactivated)
17:25:18 INFO opendrift.models.basemodel:2032: 2025-01-15 06:53:40.450143 - step 82 of 216 - 2847 active elements (0 deactivated)
17:25:19 INFO opendrift.models.basemodel:2032: 2025-01-15 07:03:40.450143 - step 83 of 216 - 2882 active elements (0 deactivated)
17:25:20 INFO opendrift.models.basemodel:2032: 2025-01-15 07:13:40.450143 - step 84 of 216 - 2917 active elements (0 deactivated)
17:25:21 INFO opendrift.models.basemodel:2032: 2025-01-15 07:23:40.450143 - step 85 of 216 - 2952 active elements (0 deactivated)
17:25:22 INFO opendrift.models.basemodel:2032: 2025-01-15 07:33:40.450143 - step 86 of 216 - 2986 active elements (0 deactivated)
17:25:23 INFO opendrift.models.basemodel:2032: 2025-01-15 07:43:40.450143 - step 87 of 216 - 3021 active elements (0 deactivated)
17:25:24 INFO opendrift.models.basemodel:2032: 2025-01-15 07:53:40.450143 - step 88 of 216 - 3056 active elements (0 deactivated)
17:25:25 INFO opendrift.models.basemodel:2032: 2025-01-15 08:03:40.450143 - step 89 of 216 - 3090 active elements (0 deactivated)
17:25:26 INFO opendrift.models.basemodel:2032: 2025-01-15 08:13:40.450143 - step 90 of 216 - 3125 active elements (0 deactivated)
17:25:27 INFO opendrift.models.basemodel:2032: 2025-01-15 08:23:40.450143 - step 91 of 216 - 3160 active elements (0 deactivated)
17:25:28 INFO opendrift.models.basemodel:2032: 2025-01-15 08:33:40.450143 - step 92 of 216 - 3195 active elements (0 deactivated)
17:25:30 INFO opendrift.models.basemodel:2032: 2025-01-15 08:43:40.450143 - step 93 of 216 - 3229 active elements (0 deactivated)
17:25:31 INFO opendrift.models.basemodel:2032: 2025-01-15 08:53:40.450143 - step 94 of 216 - 3264 active elements (0 deactivated)
17:25:32 INFO opendrift.models.basemodel:2032: 2025-01-15 09:03:40.450143 - step 95 of 216 - 3299 active elements (0 deactivated)
17:25:33 INFO opendrift.models.basemodel:2032: 2025-01-15 09:13:40.450143 - step 96 of 216 - 3334 active elements (0 deactivated)
17:25:34 INFO opendrift.models.basemodel:2032: 2025-01-15 09:23:40.450143 - step 97 of 216 - 3368 active elements (0 deactivated)
17:25:36 INFO opendrift.models.basemodel:2032: 2025-01-15 09:33:40.450143 - step 98 of 216 - 3403 active elements (0 deactivated)
17:25:37 INFO opendrift.models.basemodel:2032: 2025-01-15 09:43:40.450143 - step 99 of 216 - 3438 active elements (0 deactivated)
17:25:38 INFO opendrift.models.basemodel:2032: 2025-01-15 09:53:40.450143 - step 100 of 216 - 3472 active elements (0 deactivated)
17:25:39 INFO opendrift.models.basemodel:2032: 2025-01-15 10:03:40.450143 - step 101 of 216 - 3507 active elements (0 deactivated)
17:25:40 INFO opendrift.models.basemodel:2032: 2025-01-15 10:13:40.450143 - step 102 of 216 - 3542 active elements (0 deactivated)
17:25:41 INFO opendrift.models.basemodel:2032: 2025-01-15 10:23:40.450143 - step 103 of 216 - 3577 active elements (0 deactivated)
17:25:42 INFO opendrift.models.basemodel:2032: 2025-01-15 10:33:40.450143 - step 104 of 216 - 3611 active elements (0 deactivated)
17:25:43 INFO opendrift.models.basemodel:2032: 2025-01-15 10:43:40.450143 - step 105 of 216 - 3646 active elements (0 deactivated)
17:25:44 INFO opendrift.models.basemodel:2032: 2025-01-15 10:53:40.450143 - step 106 of 216 - 3681 active elements (0 deactivated)
17:25:45 INFO opendrift.models.basemodel:2032: 2025-01-15 11:03:40.450143 - step 107 of 216 - 3715 active elements (0 deactivated)
17:25:46 INFO opendrift.models.basemodel:2032: 2025-01-15 11:13:40.450143 - step 108 of 216 - 3750 active elements (0 deactivated)
17:25:47 INFO opendrift.models.basemodel:2032: 2025-01-15 11:23:40.450143 - step 109 of 216 - 3785 active elements (0 deactivated)
17:25:48 INFO opendrift.models.basemodel:2032: 2025-01-15 11:33:40.450143 - step 110 of 216 - 3820 active elements (0 deactivated)
17:25:49 INFO opendrift.models.basemodel:2032: 2025-01-15 11:43:40.450143 - step 111 of 216 - 3854 active elements (0 deactivated)
17:25:50 INFO opendrift.models.basemodel:2032: 2025-01-15 11:53:40.450143 - step 112 of 216 - 3889 active elements (0 deactivated)
17:25:52 INFO opendrift.models.basemodel:2032: 2025-01-15 12:03:40.450143 - step 113 of 216 - 3924 active elements (0 deactivated)
17:25:53 INFO opendrift.models.basemodel:2032: 2025-01-15 12:13:40.450143 - step 114 of 216 - 3958 active elements (0 deactivated)
17:25:54 INFO opendrift.models.basemodel:2032: 2025-01-15 12:23:40.450143 - step 115 of 216 - 3993 active elements (0 deactivated)
17:25:55 INFO opendrift.models.basemodel:2032: 2025-01-15 12:33:40.450143 - step 116 of 216 - 4028 active elements (0 deactivated)
17:25:56 INFO opendrift.models.basemodel:2032: 2025-01-15 12:43:40.450143 - step 117 of 216 - 4063 active elements (0 deactivated)
17:25:57 INFO opendrift.models.basemodel:2032: 2025-01-15 12:53:40.450143 - step 118 of 216 - 4097 active elements (0 deactivated)
17:25:58 INFO opendrift.models.basemodel:2032: 2025-01-15 13:03:40.450143 - step 119 of 216 - 4132 active elements (0 deactivated)
17:25:59 INFO opendrift.models.basemodel:2032: 2025-01-15 13:13:40.450143 - step 120 of 216 - 4167 active elements (0 deactivated)
17:26:00 INFO opendrift.models.basemodel:2032: 2025-01-15 13:23:40.450143 - step 121 of 216 - 4201 active elements (0 deactivated)
17:26:01 INFO opendrift.models.basemodel:2032: 2025-01-15 13:33:40.450143 - step 122 of 216 - 4236 active elements (0 deactivated)
17:26:02 INFO opendrift.models.basemodel:2032: 2025-01-15 13:43:40.450143 - step 123 of 216 - 4271 active elements (0 deactivated)
17:26:03 INFO opendrift.models.basemodel:2032: 2025-01-15 13:53:40.450143 - step 124 of 216 - 4306 active elements (0 deactivated)
17:26:04 INFO opendrift.models.basemodel:2032: 2025-01-15 14:03:40.450143 - step 125 of 216 - 4340 active elements (0 deactivated)
17:26:05 INFO opendrift.models.basemodel:2032: 2025-01-15 14:13:40.450143 - step 126 of 216 - 4375 active elements (0 deactivated)
17:26:06 INFO opendrift.models.basemodel:2032: 2025-01-15 14:23:40.450143 - step 127 of 216 - 4410 active elements (0 deactivated)
17:26:07 INFO opendrift.models.basemodel:2032: 2025-01-15 14:33:40.450143 - step 128 of 216 - 4445 active elements (0 deactivated)
17:26:08 INFO opendrift.models.basemodel:2032: 2025-01-15 14:43:40.450143 - step 129 of 216 - 4479 active elements (0 deactivated)
17:26:10 INFO opendrift.models.basemodel:2032: 2025-01-15 14:53:40.450143 - step 130 of 216 - 4514 active elements (0 deactivated)
17:26:11 INFO opendrift.models.basemodel:2032: 2025-01-15 15:03:40.450143 - step 131 of 216 - 4549 active elements (0 deactivated)
17:26:12 INFO opendrift.models.basemodel:2032: 2025-01-15 15:13:40.450143 - step 132 of 216 - 4583 active elements (0 deactivated)
17:26:13 INFO opendrift.models.basemodel:2032: 2025-01-15 15:23:40.450143 - step 133 of 216 - 4618 active elements (0 deactivated)
17:26:14 INFO opendrift.models.basemodel:2032: 2025-01-15 15:33:40.450143 - step 134 of 216 - 4653 active elements (0 deactivated)
17:26:15 INFO opendrift.models.basemodel:2032: 2025-01-15 15:43:40.450143 - step 135 of 216 - 4688 active elements (0 deactivated)
17:26:16 INFO opendrift.models.basemodel:2032: 2025-01-15 15:53:40.450143 - step 136 of 216 - 4722 active elements (0 deactivated)
17:26:17 INFO opendrift.models.basemodel:2032: 2025-01-15 16:03:40.450143 - step 137 of 216 - 4757 active elements (0 deactivated)
17:26:18 INFO opendrift.models.basemodel:2032: 2025-01-15 16:13:40.450143 - step 138 of 216 - 4792 active elements (0 deactivated)
17:26:19 INFO opendrift.models.basemodel:2032: 2025-01-15 16:23:40.450143 - step 139 of 216 - 4826 active elements (0 deactivated)
17:26:20 INFO opendrift.models.basemodel:2032: 2025-01-15 16:33:40.450143 - step 140 of 216 - 4861 active elements (0 deactivated)
17:26:21 INFO opendrift.models.basemodel:2032: 2025-01-15 16:43:40.450143 - step 141 of 216 - 4896 active elements (0 deactivated)
17:26:22 INFO opendrift.models.basemodel:2032: 2025-01-15 16:53:40.450143 - step 142 of 216 - 4931 active elements (0 deactivated)
17:26:23 INFO opendrift.models.basemodel:2032: 2025-01-15 17:03:40.450143 - step 143 of 216 - 4965 active elements (0 deactivated)
17:26:24 INFO opendrift.models.basemodel:2032: 2025-01-15 17:13:40.450143 - step 144 of 216 - 5000 active elements (0 deactivated)
17:26:26 INFO opendrift.models.basemodel:2032: 2025-01-15 17:23:40.450143 - step 145 of 216 - 5035 active elements (0 deactivated)
17:26:27 INFO opendrift.models.basemodel:2032: 2025-01-15 17:33:40.450143 - step 146 of 216 - 5069 active elements (0 deactivated)
17:26:28 INFO opendrift.models.basemodel:2032: 2025-01-15 17:43:40.450143 - step 147 of 216 - 5104 active elements (0 deactivated)
17:26:29 INFO opendrift.models.basemodel:2032: 2025-01-15 17:53:40.450143 - step 148 of 216 - 5139 active elements (0 deactivated)
17:26:30 INFO opendrift.models.basemodel:2032: 2025-01-15 18:03:40.450143 - step 149 of 216 - 5174 active elements (0 deactivated)
17:26:31 INFO opendrift.models.basemodel:2032: 2025-01-15 18:13:40.450143 - step 150 of 216 - 5208 active elements (0 deactivated)
17:26:32 INFO opendrift.models.basemodel:2032: 2025-01-15 18:23:40.450143 - step 151 of 216 - 5243 active elements (0 deactivated)
17:26:33 INFO opendrift.models.basemodel:2032: 2025-01-15 18:33:40.450143 - step 152 of 216 - 5278 active elements (0 deactivated)
17:26:34 INFO opendrift.models.basemodel:2032: 2025-01-15 18:43:40.450143 - step 153 of 216 - 5312 active elements (0 deactivated)
17:26:35 INFO opendrift.models.basemodel:2032: 2025-01-15 18:53:40.450143 - step 154 of 216 - 5347 active elements (0 deactivated)
17:26:36 INFO opendrift.models.basemodel:2032: 2025-01-15 19:03:40.450143 - step 155 of 216 - 5382 active elements (0 deactivated)
17:26:37 INFO opendrift.models.basemodel:2032: 2025-01-15 19:13:40.450143 - step 156 of 216 - 5417 active elements (0 deactivated)
17:26:38 INFO opendrift.models.basemodel:2032: 2025-01-15 19:23:40.450143 - step 157 of 216 - 5451 active elements (0 deactivated)
17:26:39 INFO opendrift.models.basemodel:2032: 2025-01-15 19:33:40.450143 - step 158 of 216 - 5486 active elements (0 deactivated)
17:26:40 INFO opendrift.models.basemodel:2032: 2025-01-15 19:43:40.450143 - step 159 of 216 - 5521 active elements (0 deactivated)
17:26:41 INFO opendrift.models.basemodel:2032: 2025-01-15 19:53:40.450143 - step 160 of 216 - 5556 active elements (0 deactivated)
17:26:43 INFO opendrift.models.basemodel:2032: 2025-01-15 20:03:40.450143 - step 161 of 216 - 5590 active elements (0 deactivated)
17:26:44 INFO opendrift.models.basemodel:2032: 2025-01-15 20:13:40.450143 - step 162 of 216 - 5625 active elements (0 deactivated)
17:26:45 INFO opendrift.models.basemodel:2032: 2025-01-15 20:23:40.450143 - step 163 of 216 - 5660 active elements (0 deactivated)
17:26:46 INFO opendrift.models.basemodel:2032: 2025-01-15 20:33:40.450143 - step 164 of 216 - 5694 active elements (0 deactivated)
17:26:47 INFO opendrift.models.basemodel:2032: 2025-01-15 20:43:40.450143 - step 165 of 216 - 5729 active elements (0 deactivated)
17:26:48 INFO opendrift.models.basemodel:2032: 2025-01-15 20:53:40.450143 - step 166 of 216 - 5764 active elements (0 deactivated)
17:26:50 INFO opendrift.models.basemodel:2032: 2025-01-15 21:03:40.450143 - step 167 of 216 - 5799 active elements (0 deactivated)
17:26:51 INFO opendrift.models.basemodel:2032: 2025-01-15 21:13:40.450143 - step 168 of 216 - 5833 active elements (0 deactivated)
17:26:53 INFO opendrift.models.basemodel:2032: 2025-01-15 21:23:40.450143 - step 169 of 216 - 5868 active elements (0 deactivated)
17:26:54 INFO opendrift.models.basemodel:2032: 2025-01-15 21:33:40.450143 - step 170 of 216 - 5903 active elements (0 deactivated)
17:26:55 INFO opendrift.models.basemodel:2032: 2025-01-15 21:43:40.450143 - step 171 of 216 - 5937 active elements (0 deactivated)
17:26:56 INFO opendrift.models.basemodel:2032: 2025-01-15 21:53:40.450143 - step 172 of 216 - 5972 active elements (0 deactivated)
17:26:58 INFO opendrift.models.basemodel:2032: 2025-01-15 22:03:40.450143 - step 173 of 216 - 6007 active elements (0 deactivated)
17:26:59 INFO opendrift.models.basemodel:2032: 2025-01-15 22:13:40.450143 - step 174 of 216 - 6042 active elements (0 deactivated)
17:27:00 INFO opendrift.models.basemodel:2032: 2025-01-15 22:23:40.450143 - step 175 of 216 - 6076 active elements (0 deactivated)
17:27:01 INFO opendrift.models.basemodel:2032: 2025-01-15 22:33:40.450143 - step 176 of 216 - 6111 active elements (0 deactivated)
17:27:02 INFO opendrift.models.basemodel:2032: 2025-01-15 22:43:40.450143 - step 177 of 216 - 6146 active elements (0 deactivated)
17:27:03 INFO opendrift.models.basemodel:2032: 2025-01-15 22:53:40.450143 - step 178 of 216 - 6180 active elements (0 deactivated)
17:27:04 INFO opendrift.models.basemodel:2032: 2025-01-15 23:03:40.450143 - step 179 of 216 - 6215 active elements (0 deactivated)
17:27:05 INFO opendrift.models.basemodel:2032: 2025-01-15 23:13:40.450143 - step 180 of 216 - 6250 active elements (0 deactivated)
17:27:06 INFO opendrift.models.basemodel:2032: 2025-01-15 23:23:40.450143 - step 181 of 216 - 6285 active elements (0 deactivated)
17:27:07 INFO opendrift.models.basemodel:2032: 2025-01-15 23:33:40.450143 - step 182 of 216 - 6319 active elements (0 deactivated)
17:27:08 INFO opendrift.models.basemodel:2032: 2025-01-15 23:43:40.450143 - step 183 of 216 - 6354 active elements (0 deactivated)
17:27:09 INFO opendrift.models.basemodel:2032: 2025-01-15 23:53:40.450143 - step 184 of 216 - 6389 active elements (0 deactivated)
17:27:11 INFO opendrift.models.basemodel:2032: 2025-01-16 00:03:40.450143 - step 185 of 216 - 6423 active elements (0 deactivated)
17:27:12 INFO opendrift.models.basemodel:2032: 2025-01-16 00:13:40.450143 - step 186 of 216 - 6458 active elements (0 deactivated)
17:27:13 INFO opendrift.models.basemodel:2032: 2025-01-16 00:23:40.450143 - step 187 of 216 - 6493 active elements (0 deactivated)
17:27:14 INFO opendrift.models.basemodel:2032: 2025-01-16 00:33:40.450143 - step 188 of 216 - 6528 active elements (0 deactivated)
17:27:15 INFO opendrift.models.basemodel:2032: 2025-01-16 00:43:40.450143 - step 189 of 216 - 6562 active elements (0 deactivated)
17:27:16 INFO opendrift.models.basemodel:2032: 2025-01-16 00:53:40.450143 - step 190 of 216 - 6597 active elements (0 deactivated)
17:27:18 INFO opendrift.models.basemodel:2032: 2025-01-16 01:03:40.450143 - step 191 of 216 - 6632 active elements (0 deactivated)
17:27:19 INFO opendrift.models.basemodel:2032: 2025-01-16 01:13:40.450143 - step 192 of 216 - 6667 active elements (0 deactivated)
17:27:20 INFO opendrift.models.basemodel:2032: 2025-01-16 01:23:40.450143 - step 193 of 216 - 6701 active elements (0 deactivated)
17:27:21 INFO opendrift.models.basemodel:2032: 2025-01-16 01:33:40.450143 - step 194 of 216 - 6736 active elements (0 deactivated)
17:27:22 INFO opendrift.models.basemodel:2032: 2025-01-16 01:43:40.450143 - step 195 of 216 - 6771 active elements (0 deactivated)
17:27:23 INFO opendrift.models.basemodel:2032: 2025-01-16 01:53:40.450143 - step 196 of 216 - 6805 active elements (0 deactivated)
17:27:24 INFO opendrift.models.basemodel:2032: 2025-01-16 02:03:40.450143 - step 197 of 216 - 6840 active elements (0 deactivated)
17:27:25 INFO opendrift.models.basemodel:2032: 2025-01-16 02:13:40.450143 - step 198 of 216 - 6875 active elements (0 deactivated)
17:27:26 INFO opendrift.models.basemodel:2032: 2025-01-16 02:23:40.450143 - step 199 of 216 - 6910 active elements (0 deactivated)
17:27:29 INFO opendrift.models.basemodel:2032: 2025-01-16 02:33:40.450143 - step 200 of 216 - 6944 active elements (0 deactivated)
17:27:30 INFO opendrift.models.basemodel:2032: 2025-01-16 02:43:40.450143 - step 201 of 216 - 6979 active elements (0 deactivated)
17:27:31 INFO opendrift.models.basemodel:2032: 2025-01-16 02:53:40.450143 - step 202 of 216 - 7014 active elements (0 deactivated)
17:27:32 INFO opendrift.models.basemodel:2032: 2025-01-16 03:03:40.450143 - step 203 of 216 - 7048 active elements (0 deactivated)
17:27:33 INFO opendrift.models.basemodel:2032: 2025-01-16 03:13:40.450143 - step 204 of 216 - 7083 active elements (0 deactivated)
17:27:34 INFO opendrift.models.basemodel:2032: 2025-01-16 03:23:40.450143 - step 205 of 216 - 7118 active elements (0 deactivated)
17:27:35 INFO opendrift.models.basemodel:2032: 2025-01-16 03:33:40.450143 - step 206 of 216 - 7153 active elements (0 deactivated)
17:27:37 INFO opendrift.models.basemodel:2032: 2025-01-16 03:43:40.450143 - step 207 of 216 - 7187 active elements (0 deactivated)
17:27:38 INFO opendrift.models.basemodel:2032: 2025-01-16 03:53:40.450143 - step 208 of 216 - 7222 active elements (0 deactivated)
17:27:39 INFO opendrift.models.basemodel:2032: 2025-01-16 04:03:40.450143 - step 209 of 216 - 7257 active elements (0 deactivated)
17:27:40 INFO opendrift.models.basemodel:2032: 2025-01-16 04:13:40.450143 - step 210 of 216 - 7291 active elements (0 deactivated)
17:27:41 INFO opendrift.models.basemodel:2032: 2025-01-16 04:23:40.450143 - step 211 of 216 - 7326 active elements (0 deactivated)
17:27:42 INFO opendrift.models.basemodel:2032: 2025-01-16 04:33:40.450143 - step 212 of 216 - 7361 active elements (0 deactivated)
17:27:43 INFO opendrift.models.basemodel:2032: 2025-01-16 04:43:40.450143 - step 213 of 216 - 7396 active elements (0 deactivated)
17:27:44 INFO opendrift.models.basemodel:2032: 2025-01-16 04:53:40.450143 - step 214 of 216 - 7430 active elements (0 deactivated)
17:27:46 INFO opendrift.models.basemodel:2032: 2025-01-16 05:03:40.450143 - step 215 of 216 - 7465 active elements (0 deactivated)
17:27:47 INFO opendrift.models.basemodel:2032: 2025-01-16 05:13:40.450143 - step 216 of 216 - 7500 active elements (0 deactivated)
17:27:47 INFO opendrift.models.basemodel:2195: Removing 2500 unseeded elements from history array
Plotting the depth vs time
o.plot_property('z')
Animate sediment particles colored by their depth
o.animation(color='z', fast=False, buffer=.01)
#o.animation(color='moving', fast=False, buffer=.01, colorbar=False, legend=['Sedimented', 'Moving'])
17:28:04 INFO opendrift.models.basemodel:4606: Saving animation to /root/project/docs/source/gallery/animations/example_sediments_0.gif...
17:28:44 INFO opendrift.models.basemodel:3034: Time to make animation: 0:00:50.059763
Total running time of the script: (5 minutes 9.405 seconds)