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'])
20:18:40 INFO opendrift.models.basemodel:515: OpenDriftSimulation initialised (version 1.12.0 / v1.12.0-26-g390e945)
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))
20:18: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...
20:18:43 INFO opendrift.models.basemodel.environment:245: Fallback values will be used for the following variables which have no readers:
20:18:43 INFO opendrift.models.basemodel.environment:248: x_sea_water_velocity: 0.000000
20:18:43 INFO opendrift.models.basemodel.environment:248: y_sea_water_velocity: 0.000000
20:18:43 INFO opendrift.models.basemodel.environment:248: sea_surface_height: 0.000000
20:18:43 INFO opendrift.models.basemodel.environment:248: upward_sea_water_velocity: 0.000000
20:18:43 INFO opendrift.models.basemodel.environment:248: x_wind: 0.000000
20:18:43 INFO opendrift.models.basemodel.environment:248: y_wind: 0.000000
20:18:43 INFO opendrift.models.basemodel.environment:248: sea_surface_wave_stokes_drift_x_velocity: 0.000000
20:18:43 INFO opendrift.models.basemodel.environment:248: sea_surface_wave_stokes_drift_y_velocity: 0.000000
20:18:43 INFO opendrift.models.basemodel.environment:248: sea_surface_wave_period_at_variance_spectral_density_maximum: 0.000000
20:18:43 INFO opendrift.models.basemodel.environment:248: sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment: 0.000000
20:18:43 INFO opendrift.models.basemodel.environment:248: ocean_vertical_diffusivity: 0.020000
20:18:43 INFO opendrift.models.basemodel.environment:248: ocean_mixed_layer_thickness: 50.000000
20:18:43 INFO opendrift.models.basemodel.environment:248: sea_floor_depth_below_sea_level: 10000.000000
20:18:44 INFO opendrift.models.basemodel:935: Using existing reader for land_binary_mask
20:18:44 INFO opendrift.models.basemodel:946: All points are in ocean
20:18:44 INFO opendrift.models.basemodel:2035: 2024-12-12 20:18:40.926315 - step 1 of 216 - 35 active elements (0 deactivated)
20:18:44 INFO opendrift.readers:58: Opening file with xr.open_dataset
20:18:46 INFO opendrift.readers.reader_netCDF_CF_generic:337: Detected dimensions: {'x': 'X', 'y': 'Y', 'z': 'depth', 'time': 'time'}
20:18:48 INFO opendrift.models.basemodel:2035: 2024-12-12 20:28:40.926315 - step 2 of 216 - 70 active elements (0 deactivated)
20:18:49 INFO opendrift.models.basemodel:2035: 2024-12-12 20:38:40.926315 - step 3 of 216 - 105 active elements (0 deactivated)
20:18:50 INFO opendrift.models.basemodel:2035: 2024-12-12 20:48:40.926315 - step 4 of 216 - 139 active elements (0 deactivated)
20:18:52 INFO opendrift.models.basemodel:2035: 2024-12-12 20:58:40.926315 - step 5 of 216 - 174 active elements (0 deactivated)
20:18:54 INFO opendrift.models.basemodel:2035: 2024-12-12 21:08:40.926315 - step 6 of 216 - 209 active elements (0 deactivated)
20:18:54 INFO opendrift.models.basemodel:2035: 2024-12-12 21:18:40.926315 - step 7 of 216 - 244 active elements (0 deactivated)
20:18:56 INFO opendrift.models.basemodel:2035: 2024-12-12 21:28:40.926315 - step 8 of 216 - 278 active elements (0 deactivated)
20:18:58 INFO opendrift.models.basemodel:2035: 2024-12-12 21:38:40.926315 - step 9 of 216 - 313 active elements (0 deactivated)
20:18:59 INFO opendrift.models.basemodel:2035: 2024-12-12 21:48:40.926315 - step 10 of 216 - 348 active elements (0 deactivated)
20:19:01 INFO opendrift.models.basemodel:2035: 2024-12-12 21:58:40.926315 - step 11 of 216 - 382 active elements (0 deactivated)
20:19:02 INFO opendrift.models.basemodel:2035: 2024-12-12 22:08:40.926315 - step 12 of 216 - 417 active elements (0 deactivated)
20:19:04 INFO opendrift.models.basemodel:2035: 2024-12-12 22:18:40.926315 - step 13 of 216 - 452 active elements (0 deactivated)
20:19:04 INFO opendrift.models.basemodel:2035: 2024-12-12 22:28:40.926315 - step 14 of 216 - 487 active elements (0 deactivated)
20:19:05 INFO opendrift.models.basemodel:2035: 2024-12-12 22:38:40.926315 - step 15 of 216 - 521 active elements (0 deactivated)
20:19:06 INFO opendrift.models.basemodel:2035: 2024-12-12 22:48:40.926315 - step 16 of 216 - 556 active elements (0 deactivated)
20:19:07 INFO opendrift.models.basemodel:2035: 2024-12-12 22:58:40.926315 - step 17 of 216 - 591 active elements (0 deactivated)
20:19:08 INFO opendrift.models.basemodel:2035: 2024-12-12 23:08:40.926315 - step 18 of 216 - 625 active elements (0 deactivated)
20:19:09 INFO opendrift.models.basemodel:2035: 2024-12-12 23:18:40.926315 - step 19 of 216 - 660 active elements (0 deactivated)
20:19:10 INFO opendrift.models.basemodel:2035: 2024-12-12 23:28:40.926315 - step 20 of 216 - 695 active elements (0 deactivated)
20:19:11 INFO opendrift.models.basemodel:2035: 2024-12-12 23:38:40.926315 - step 21 of 216 - 730 active elements (0 deactivated)
20:19:12 INFO opendrift.models.basemodel:2035: 2024-12-12 23:48:40.926315 - step 22 of 216 - 764 active elements (0 deactivated)
20:19:13 INFO opendrift.models.basemodel:2035: 2024-12-12 23:58:40.926315 - step 23 of 216 - 799 active elements (0 deactivated)
20:19:14 INFO opendrift.models.basemodel:2035: 2024-12-13 00:08:40.926315 - step 24 of 216 - 834 active elements (0 deactivated)
20:19:15 INFO opendrift.models.basemodel:2035: 2024-12-13 00:18:40.926315 - step 25 of 216 - 868 active elements (0 deactivated)
20:19:17 INFO opendrift.models.basemodel:2035: 2024-12-13 00:28:40.926315 - step 26 of 216 - 903 active elements (0 deactivated)
20:19:18 INFO opendrift.models.basemodel:2035: 2024-12-13 00:38:40.926315 - step 27 of 216 - 938 active elements (0 deactivated)
20:19:19 INFO opendrift.models.basemodel:2035: 2024-12-13 00:48:40.926315 - step 28 of 216 - 973 active elements (0 deactivated)
20:19:19 INFO opendrift.models.basemodel:2035: 2024-12-13 00:58:40.926315 - step 29 of 216 - 1007 active elements (0 deactivated)
20:19:21 INFO opendrift.models.basemodel:2035: 2024-12-13 01:08:40.926315 - step 30 of 216 - 1042 active elements (0 deactivated)
20:19:21 INFO opendrift.models.basemodel:2035: 2024-12-13 01:18:40.926315 - step 31 of 216 - 1077 active elements (0 deactivated)
20:19:22 INFO opendrift.models.basemodel:2035: 2024-12-13 01:28:40.926315 - step 32 of 216 - 1112 active elements (0 deactivated)
20:19:23 INFO opendrift.models.basemodel:2035: 2024-12-13 01:38:40.926315 - step 33 of 216 - 1146 active elements (0 deactivated)
20:19:24 INFO opendrift.models.basemodel:2035: 2024-12-13 01:48:40.926315 - step 34 of 216 - 1181 active elements (0 deactivated)
20:19:25 INFO opendrift.models.basemodel:2035: 2024-12-13 01:58:40.926315 - step 35 of 216 - 1216 active elements (0 deactivated)
20:19:26 INFO opendrift.models.basemodel:2035: 2024-12-13 02:08:40.926315 - step 36 of 216 - 1250 active elements (0 deactivated)
20:19:27 INFO opendrift.models.basemodel:2035: 2024-12-13 02:18:40.926315 - step 37 of 216 - 1285 active elements (0 deactivated)
20:19:28 INFO opendrift.models.basemodel:2035: 2024-12-13 02:28:40.926315 - step 38 of 216 - 1320 active elements (0 deactivated)
20:19:29 INFO opendrift.models.basemodel:2035: 2024-12-13 02:38:40.926315 - step 39 of 216 - 1355 active elements (0 deactivated)
20:19:30 INFO opendrift.models.basemodel:2035: 2024-12-13 02:48:40.926315 - step 40 of 216 - 1389 active elements (0 deactivated)
20:19:31 INFO opendrift.models.basemodel:2035: 2024-12-13 02:58:40.926315 - step 41 of 216 - 1424 active elements (0 deactivated)
20:19:32 INFO opendrift.models.basemodel:2035: 2024-12-13 03:08:40.926315 - step 42 of 216 - 1459 active elements (0 deactivated)
20:19:33 INFO opendrift.models.basemodel:2035: 2024-12-13 03:18:40.926315 - step 43 of 216 - 1493 active elements (0 deactivated)
20:19:34 INFO opendrift.models.basemodel:2035: 2024-12-13 03:28:40.926315 - step 44 of 216 - 1528 active elements (0 deactivated)
20:19:35 INFO opendrift.models.basemodel:2035: 2024-12-13 03:38:40.926315 - step 45 of 216 - 1563 active elements (0 deactivated)
20:19:36 INFO opendrift.models.basemodel:2035: 2024-12-13 03:48:40.926315 - step 46 of 216 - 1598 active elements (0 deactivated)
20:19:37 INFO opendrift.models.basemodel:2035: 2024-12-13 03:58:40.926315 - step 47 of 216 - 1632 active elements (0 deactivated)
20:19:37 INFO opendrift.models.basemodel:2035: 2024-12-13 04:08:40.926315 - step 48 of 216 - 1667 active elements (0 deactivated)
20:19:38 INFO opendrift.models.basemodel:2035: 2024-12-13 04:18:40.926315 - step 49 of 216 - 1702 active elements (0 deactivated)
20:19:39 INFO opendrift.models.basemodel:2035: 2024-12-13 04:28:40.926315 - step 50 of 216 - 1736 active elements (0 deactivated)
20:19:40 INFO opendrift.models.basemodel:2035: 2024-12-13 04:38:40.926315 - step 51 of 216 - 1771 active elements (0 deactivated)
20:19:41 INFO opendrift.models.basemodel:2035: 2024-12-13 04:48:40.926315 - step 52 of 216 - 1806 active elements (0 deactivated)
20:19:42 INFO opendrift.models.basemodel:2035: 2024-12-13 04:58:40.926315 - step 53 of 216 - 1841 active elements (0 deactivated)
20:19:43 INFO opendrift.models.basemodel:2035: 2024-12-13 05:08:40.926315 - step 54 of 216 - 1875 active elements (0 deactivated)
20:19:44 INFO opendrift.models.basemodel:2035: 2024-12-13 05:18:40.926315 - step 55 of 216 - 1910 active elements (0 deactivated)
20:19:45 INFO opendrift.models.basemodel:2035: 2024-12-13 05:28:40.926315 - step 56 of 216 - 1945 active elements (0 deactivated)
20:19:46 INFO opendrift.models.basemodel:2035: 2024-12-13 05:38:40.926315 - step 57 of 216 - 1979 active elements (0 deactivated)
20:19:47 INFO opendrift.models.basemodel:2035: 2024-12-13 05:48:40.926315 - step 58 of 216 - 2014 active elements (0 deactivated)
20:19:48 INFO opendrift.models.basemodel:2035: 2024-12-13 05:58:40.926315 - step 59 of 216 - 2049 active elements (0 deactivated)
20:19:49 INFO opendrift.models.basemodel:2035: 2024-12-13 06:08:40.926315 - step 60 of 216 - 2084 active elements (0 deactivated)
20:19:50 INFO opendrift.models.basemodel:2035: 2024-12-13 06:18:40.926315 - step 61 of 216 - 2118 active elements (0 deactivated)
20:19:51 INFO opendrift.models.basemodel:2035: 2024-12-13 06:28:40.926315 - step 62 of 216 - 2153 active elements (0 deactivated)
20:19:52 INFO opendrift.models.basemodel:2035: 2024-12-13 06:38:40.926315 - step 63 of 216 - 2188 active elements (0 deactivated)
20:19:53 INFO opendrift.models.basemodel:2035: 2024-12-13 06:48:40.926315 - step 64 of 216 - 2223 active elements (0 deactivated)
20:19:56 INFO opendrift.models.basemodel:2035: 2024-12-13 06:58:40.926315 - step 65 of 216 - 2257 active elements (0 deactivated)
20:19:57 INFO opendrift.models.basemodel:2035: 2024-12-13 07:08:40.926315 - step 66 of 216 - 2292 active elements (0 deactivated)
20:19:58 INFO opendrift.models.basemodel:2035: 2024-12-13 07:18:40.926315 - step 67 of 216 - 2327 active elements (0 deactivated)
20:20:00 INFO opendrift.models.basemodel:2035: 2024-12-13 07:28:40.926315 - step 68 of 216 - 2361 active elements (0 deactivated)
20:20:01 INFO opendrift.models.basemodel:2035: 2024-12-13 07:38:40.926315 - step 69 of 216 - 2396 active elements (0 deactivated)
20:20:02 INFO opendrift.models.basemodel:2035: 2024-12-13 07:48:40.926315 - step 70 of 216 - 2431 active elements (0 deactivated)
20:20:03 INFO opendrift.models.basemodel:2035: 2024-12-13 07:58:40.926315 - step 71 of 216 - 2466 active elements (0 deactivated)
20:20:04 INFO opendrift.models.basemodel:2035: 2024-12-13 08:08:40.926315 - step 72 of 216 - 2500 active elements (0 deactivated)
20:20:05 INFO opendrift.models.basemodel:2035: 2024-12-13 08:18:40.926315 - step 73 of 216 - 2535 active elements (0 deactivated)
20:20:06 INFO opendrift.models.basemodel:2035: 2024-12-13 08:28:40.926315 - step 74 of 216 - 2570 active elements (0 deactivated)
20:20:07 INFO opendrift.models.basemodel:2035: 2024-12-13 08:38:40.926315 - step 75 of 216 - 2604 active elements (0 deactivated)
20:20:08 INFO opendrift.models.basemodel:2035: 2024-12-13 08:48:40.926315 - step 76 of 216 - 2639 active elements (0 deactivated)
20:20:09 INFO opendrift.models.basemodel:2035: 2024-12-13 08:58:40.926315 - step 77 of 216 - 2674 active elements (0 deactivated)
20:20:10 INFO opendrift.models.basemodel:2035: 2024-12-13 09:08:40.926315 - step 78 of 216 - 2709 active elements (0 deactivated)
20:20:11 INFO opendrift.models.basemodel:2035: 2024-12-13 09:18:40.926315 - step 79 of 216 - 2743 active elements (0 deactivated)
20:20:11 INFO opendrift.models.basemodel:2035: 2024-12-13 09:28:40.926315 - step 80 of 216 - 2778 active elements (0 deactivated)
20:20:12 INFO opendrift.models.basemodel:2035: 2024-12-13 09:38:40.926315 - step 81 of 216 - 2813 active elements (0 deactivated)
20:20:13 INFO opendrift.models.basemodel:2035: 2024-12-13 09:48:40.926315 - step 82 of 216 - 2847 active elements (0 deactivated)
20:20:14 INFO opendrift.models.basemodel:2035: 2024-12-13 09:58:40.926315 - step 83 of 216 - 2882 active elements (0 deactivated)
20:20:15 INFO opendrift.models.basemodel:2035: 2024-12-13 10:08:40.926315 - step 84 of 216 - 2917 active elements (0 deactivated)
20:20:16 INFO opendrift.models.basemodel:2035: 2024-12-13 10:18:40.926315 - step 85 of 216 - 2952 active elements (0 deactivated)
20:20:17 INFO opendrift.models.basemodel:2035: 2024-12-13 10:28:40.926315 - step 86 of 216 - 2986 active elements (0 deactivated)
20:20:18 INFO opendrift.models.basemodel:2035: 2024-12-13 10:38:40.926315 - step 87 of 216 - 3021 active elements (0 deactivated)
20:20:19 INFO opendrift.models.basemodel:2035: 2024-12-13 10:48:40.926315 - step 88 of 216 - 3056 active elements (0 deactivated)
20:20:20 INFO opendrift.models.basemodel:2035: 2024-12-13 10:58:40.926315 - step 89 of 216 - 3090 active elements (0 deactivated)
20:20:21 INFO opendrift.models.basemodel:2035: 2024-12-13 11:08:40.926315 - step 90 of 216 - 3125 active elements (0 deactivated)
20:20:22 INFO opendrift.models.basemodel:2035: 2024-12-13 11:18:40.926315 - step 91 of 216 - 3160 active elements (0 deactivated)
20:20:23 INFO opendrift.models.basemodel:2035: 2024-12-13 11:28:40.926315 - step 92 of 216 - 3195 active elements (0 deactivated)
20:20:24 INFO opendrift.models.basemodel:2035: 2024-12-13 11:38:40.926315 - step 93 of 216 - 3229 active elements (0 deactivated)
20:20:25 INFO opendrift.models.basemodel:2035: 2024-12-13 11:48:40.926315 - step 94 of 216 - 3264 active elements (0 deactivated)
20:20:26 INFO opendrift.models.basemodel:2035: 2024-12-13 11:58:40.926315 - step 95 of 216 - 3299 active elements (0 deactivated)
20:20:27 INFO opendrift.models.basemodel:2035: 2024-12-13 12:08:40.926315 - step 96 of 216 - 3334 active elements (0 deactivated)
20:20:28 INFO opendrift.models.basemodel:2035: 2024-12-13 12:18:40.926315 - step 97 of 216 - 3368 active elements (0 deactivated)
20:20:29 INFO opendrift.models.basemodel:2035: 2024-12-13 12:28:40.926315 - step 98 of 216 - 3403 active elements (0 deactivated)
20:20:30 INFO opendrift.models.basemodel:2035: 2024-12-13 12:38:40.926315 - step 99 of 216 - 3438 active elements (0 deactivated)
20:20:33 INFO opendrift.models.basemodel:2035: 2024-12-13 12:48:40.926315 - step 100 of 216 - 3472 active elements (0 deactivated)
20:20:34 INFO opendrift.models.basemodel:2035: 2024-12-13 12:58:40.926315 - step 101 of 216 - 3507 active elements (0 deactivated)
20:20:37 INFO opendrift.models.basemodel:2035: 2024-12-13 13:08:40.926315 - step 102 of 216 - 3542 active elements (0 deactivated)
20:20:38 INFO opendrift.models.basemodel:2035: 2024-12-13 13:18:40.926315 - step 103 of 216 - 3577 active elements (0 deactivated)
20:20:39 INFO opendrift.models.basemodel:2035: 2024-12-13 13:28:40.926315 - step 104 of 216 - 3611 active elements (0 deactivated)
20:20:40 INFO opendrift.models.basemodel:2035: 2024-12-13 13:38:40.926315 - step 105 of 216 - 3646 active elements (0 deactivated)
20:20:41 INFO opendrift.models.basemodel:2035: 2024-12-13 13:48:40.926315 - step 106 of 216 - 3681 active elements (0 deactivated)
20:20:42 INFO opendrift.models.basemodel:2035: 2024-12-13 13:58:40.926315 - step 107 of 216 - 3715 active elements (0 deactivated)
20:20:43 INFO opendrift.models.basemodel:2035: 2024-12-13 14:08:40.926315 - step 108 of 216 - 3750 active elements (0 deactivated)
20:20:44 INFO opendrift.models.basemodel:2035: 2024-12-13 14:18:40.926315 - step 109 of 216 - 3785 active elements (0 deactivated)
20:20:45 INFO opendrift.models.basemodel:2035: 2024-12-13 14:28:40.926315 - step 110 of 216 - 3820 active elements (0 deactivated)
20:20:46 INFO opendrift.models.basemodel:2035: 2024-12-13 14:38:40.926315 - step 111 of 216 - 3854 active elements (0 deactivated)
20:20:46 INFO opendrift.models.basemodel:2035: 2024-12-13 14:48:40.926315 - step 112 of 216 - 3889 active elements (0 deactivated)
20:20:48 INFO opendrift.models.basemodel:2035: 2024-12-13 14:58:40.926315 - step 113 of 216 - 3924 active elements (0 deactivated)
20:20:49 INFO opendrift.models.basemodel:2035: 2024-12-13 15:08:40.926315 - step 114 of 216 - 3958 active elements (0 deactivated)
20:20:50 INFO opendrift.models.basemodel:2035: 2024-12-13 15:18:40.926315 - step 115 of 216 - 3993 active elements (0 deactivated)
20:20:51 INFO opendrift.models.basemodel:2035: 2024-12-13 15:28:40.926315 - step 116 of 216 - 4028 active elements (0 deactivated)
20:20:52 INFO opendrift.models.basemodel:2035: 2024-12-13 15:38:40.926315 - step 117 of 216 - 4063 active elements (0 deactivated)
20:20:53 INFO opendrift.models.basemodel:2035: 2024-12-13 15:48:40.926315 - step 118 of 216 - 4097 active elements (0 deactivated)
20:20:54 INFO opendrift.models.basemodel:2035: 2024-12-13 15:58:40.926315 - step 119 of 216 - 4132 active elements (0 deactivated)
20:20:55 INFO opendrift.models.basemodel:2035: 2024-12-13 16:08:40.926315 - step 120 of 216 - 4167 active elements (0 deactivated)
20:20:56 INFO opendrift.models.basemodel:2035: 2024-12-13 16:18:40.926315 - step 121 of 216 - 4201 active elements (0 deactivated)
20:20:57 INFO opendrift.models.basemodel:2035: 2024-12-13 16:28:40.926315 - step 122 of 216 - 4236 active elements (0 deactivated)
20:20:58 INFO opendrift.models.basemodel:2035: 2024-12-13 16:38:40.926315 - step 123 of 216 - 4271 active elements (0 deactivated)
20:20:59 INFO opendrift.models.basemodel:2035: 2024-12-13 16:48:40.926315 - step 124 of 216 - 4306 active elements (0 deactivated)
20:21:00 INFO opendrift.models.basemodel:2035: 2024-12-13 16:58:40.926315 - step 125 of 216 - 4340 active elements (0 deactivated)
20:21:01 INFO opendrift.models.basemodel:2035: 2024-12-13 17:08:40.926315 - step 126 of 216 - 4375 active elements (0 deactivated)
20:21:02 INFO opendrift.models.basemodel:2035: 2024-12-13 17:18:40.926315 - step 127 of 216 - 4410 active elements (0 deactivated)
20:21:03 INFO opendrift.models.basemodel:2035: 2024-12-13 17:28:40.926315 - step 128 of 216 - 4445 active elements (0 deactivated)
20:21:04 INFO opendrift.models.basemodel:2035: 2024-12-13 17:38:40.926315 - step 129 of 216 - 4479 active elements (0 deactivated)
20:21:05 INFO opendrift.models.basemodel:2035: 2024-12-13 17:48:40.926315 - step 130 of 216 - 4514 active elements (0 deactivated)
20:21:06 INFO opendrift.models.basemodel:2035: 2024-12-13 17:58:40.926315 - step 131 of 216 - 4549 active elements (0 deactivated)
20:21:07 INFO opendrift.models.basemodel:2035: 2024-12-13 18:08:40.926315 - step 132 of 216 - 4583 active elements (0 deactivated)
20:21:08 INFO opendrift.models.basemodel:2035: 2024-12-13 18:18:40.926315 - step 133 of 216 - 4618 active elements (0 deactivated)
20:21:09 INFO opendrift.models.basemodel:2035: 2024-12-13 18:28:40.926315 - step 134 of 216 - 4653 active elements (0 deactivated)
20:21:10 INFO opendrift.models.basemodel:2035: 2024-12-13 18:38:40.926315 - step 135 of 216 - 4688 active elements (0 deactivated)
20:21:11 INFO opendrift.models.basemodel:2035: 2024-12-13 18:48:40.926315 - step 136 of 216 - 4722 active elements (0 deactivated)
20:21:12 INFO opendrift.models.basemodel:2035: 2024-12-13 18:58:40.926315 - step 137 of 216 - 4757 active elements (0 deactivated)
20:21:13 INFO opendrift.models.basemodel:2035: 2024-12-13 19:08:40.926315 - step 138 of 216 - 4792 active elements (0 deactivated)
20:21:14 INFO opendrift.models.basemodel:2035: 2024-12-13 19:18:40.926315 - step 139 of 216 - 4826 active elements (0 deactivated)
20:21:15 INFO opendrift.models.basemodel:2035: 2024-12-13 19:28:40.926315 - step 140 of 216 - 4861 active elements (0 deactivated)
20:21:16 INFO opendrift.models.basemodel:2035: 2024-12-13 19:38:40.926315 - step 141 of 216 - 4896 active elements (0 deactivated)
20:21:17 INFO opendrift.models.basemodel:2035: 2024-12-13 19:48:40.926315 - step 142 of 216 - 4931 active elements (0 deactivated)
20:21:18 INFO opendrift.models.basemodel:2035: 2024-12-13 19:58:40.926315 - step 143 of 216 - 4965 active elements (0 deactivated)
20:21:19 INFO opendrift.models.basemodel:2035: 2024-12-13 20:08:40.926315 - step 144 of 216 - 5000 active elements (0 deactivated)
20:21:20 INFO opendrift.models.basemodel:2035: 2024-12-13 20:18:40.926315 - step 145 of 216 - 5035 active elements (0 deactivated)
20:21:21 INFO opendrift.models.basemodel:2035: 2024-12-13 20:28:40.926315 - step 146 of 216 - 5069 active elements (0 deactivated)
20:21:22 INFO opendrift.models.basemodel:2035: 2024-12-13 20:38:40.926315 - step 147 of 216 - 5104 active elements (0 deactivated)
20:21:23 INFO opendrift.models.basemodel:2035: 2024-12-13 20:48:40.926315 - step 148 of 216 - 5139 active elements (0 deactivated)
20:21:24 INFO opendrift.models.basemodel:2035: 2024-12-13 20:58:40.926315 - step 149 of 216 - 5174 active elements (0 deactivated)
20:21:25 INFO opendrift.models.basemodel:2035: 2024-12-13 21:08:40.926315 - step 150 of 216 - 5208 active elements (0 deactivated)
20:21:26 INFO opendrift.models.basemodel:2035: 2024-12-13 21:18:40.926315 - step 151 of 216 - 5243 active elements (0 deactivated)
20:21:27 INFO opendrift.models.basemodel:2035: 2024-12-13 21:28:40.926315 - step 152 of 216 - 5278 active elements (0 deactivated)
20:21:28 INFO opendrift.models.basemodel:2035: 2024-12-13 21:38:40.926315 - step 153 of 216 - 5312 active elements (0 deactivated)
20:21:29 INFO opendrift.models.basemodel:2035: 2024-12-13 21:48:40.926315 - step 154 of 216 - 5347 active elements (0 deactivated)
20:21:30 INFO opendrift.models.basemodel:2035: 2024-12-13 21:58:40.926315 - step 155 of 216 - 5382 active elements (0 deactivated)
20:21:31 INFO opendrift.models.basemodel:2035: 2024-12-13 22:08:40.926315 - step 156 of 216 - 5417 active elements (0 deactivated)
20:21:32 INFO opendrift.models.basemodel:2035: 2024-12-13 22:18:40.926315 - step 157 of 216 - 5451 active elements (0 deactivated)
20:21:33 INFO opendrift.models.basemodel:2035: 2024-12-13 22:28:40.926315 - step 158 of 216 - 5486 active elements (0 deactivated)
20:21:34 INFO opendrift.models.basemodel:2035: 2024-12-13 22:38:40.926315 - step 159 of 216 - 5521 active elements (0 deactivated)
20:21:35 INFO opendrift.models.basemodel:2035: 2024-12-13 22:48:40.926315 - step 160 of 216 - 5556 active elements (0 deactivated)
20:21:36 INFO opendrift.models.basemodel:2035: 2024-12-13 22:58:40.926315 - step 161 of 216 - 5590 active elements (0 deactivated)
20:21:37 INFO opendrift.models.basemodel:2035: 2024-12-13 23:08:40.926315 - step 162 of 216 - 5625 active elements (0 deactivated)
20:21:38 INFO opendrift.models.basemodel:2035: 2024-12-13 23:18:40.926315 - step 163 of 216 - 5660 active elements (0 deactivated)
20:21:39 INFO opendrift.models.basemodel:2035: 2024-12-13 23:28:40.926315 - step 164 of 216 - 5694 active elements (0 deactivated)
20:21:40 INFO opendrift.models.basemodel:2035: 2024-12-13 23:38:40.926315 - step 165 of 216 - 5729 active elements (0 deactivated)
20:21:41 INFO opendrift.models.basemodel:2035: 2024-12-13 23:48:40.926315 - step 166 of 216 - 5764 active elements (0 deactivated)
20:21:42 INFO opendrift.models.basemodel:2035: 2024-12-13 23:58:40.926315 - step 167 of 216 - 5799 active elements (0 deactivated)
20:21:43 INFO opendrift.models.basemodel:2035: 2024-12-14 00:08:40.926315 - step 168 of 216 - 5833 active elements (0 deactivated)
20:21:44 INFO opendrift.models.basemodel:2035: 2024-12-14 00:18:40.926315 - step 169 of 216 - 5868 active elements (0 deactivated)
20:21:45 INFO opendrift.models.basemodel:2035: 2024-12-14 00:28:40.926315 - step 170 of 216 - 5903 active elements (0 deactivated)
20:21:46 INFO opendrift.models.basemodel:2035: 2024-12-14 00:38:40.926315 - step 171 of 216 - 5937 active elements (0 deactivated)
20:21:47 INFO opendrift.models.basemodel:2035: 2024-12-14 00:48:40.926315 - step 172 of 216 - 5972 active elements (0 deactivated)
20:21:48 INFO opendrift.models.basemodel:2035: 2024-12-14 00:58:40.926315 - step 173 of 216 - 6007 active elements (0 deactivated)
20:21:50 INFO opendrift.models.basemodel:2035: 2024-12-14 01:08:40.926315 - step 174 of 216 - 6042 active elements (0 deactivated)
20:21:50 INFO opendrift.models.basemodel:2035: 2024-12-14 01:18:40.926315 - step 175 of 216 - 6076 active elements (0 deactivated)
20:21:51 INFO opendrift.models.basemodel:2035: 2024-12-14 01:28:40.926315 - step 176 of 216 - 6111 active elements (0 deactivated)
20:21:52 INFO opendrift.models.basemodel:2035: 2024-12-14 01:38:40.926315 - step 177 of 216 - 6146 active elements (0 deactivated)
20:21:53 INFO opendrift.models.basemodel:2035: 2024-12-14 01:48:40.926315 - step 178 of 216 - 6180 active elements (0 deactivated)
20:21:54 INFO opendrift.models.basemodel:2035: 2024-12-14 01:58:40.926315 - step 179 of 216 - 6215 active elements (0 deactivated)
20:21:56 INFO opendrift.models.basemodel:2035: 2024-12-14 02:08:40.926315 - step 180 of 216 - 6250 active elements (0 deactivated)
20:21:57 INFO opendrift.models.basemodel:2035: 2024-12-14 02:18:40.926315 - step 181 of 216 - 6285 active elements (0 deactivated)
20:21:58 INFO opendrift.models.basemodel:2035: 2024-12-14 02:28:40.926315 - step 182 of 216 - 6319 active elements (0 deactivated)
20:21:59 INFO opendrift.models.basemodel:2035: 2024-12-14 02:38:40.926315 - step 183 of 216 - 6354 active elements (0 deactivated)
20:22:01 INFO opendrift.models.basemodel:2035: 2024-12-14 02:48:40.926315 - step 184 of 216 - 6389 active elements (0 deactivated)
20:22:02 INFO opendrift.models.basemodel:2035: 2024-12-14 02:58:40.926315 - step 185 of 216 - 6423 active elements (0 deactivated)
20:22:03 INFO opendrift.models.basemodel:2035: 2024-12-14 03:08:40.926315 - step 186 of 216 - 6458 active elements (0 deactivated)
20:22:04 INFO opendrift.models.basemodel:2035: 2024-12-14 03:18:40.926315 - step 187 of 216 - 6493 active elements (0 deactivated)
20:22:05 INFO opendrift.models.basemodel:2035: 2024-12-14 03:28:40.926315 - step 188 of 216 - 6528 active elements (0 deactivated)
20:22:06 INFO opendrift.models.basemodel:2035: 2024-12-14 03:38:40.926315 - step 189 of 216 - 6562 active elements (0 deactivated)
20:22:07 INFO opendrift.models.basemodel:2035: 2024-12-14 03:48:40.926315 - step 190 of 216 - 6597 active elements (0 deactivated)
20:22:08 INFO opendrift.models.basemodel:2035: 2024-12-14 03:58:40.926315 - step 191 of 216 - 6632 active elements (0 deactivated)
20:22:09 INFO opendrift.models.basemodel:2035: 2024-12-14 04:08:40.926315 - step 192 of 216 - 6667 active elements (0 deactivated)
20:22:10 INFO opendrift.models.basemodel:2035: 2024-12-14 04:18:40.926315 - step 193 of 216 - 6701 active elements (0 deactivated)
20:22:12 INFO opendrift.models.basemodel:2035: 2024-12-14 04:28:40.926315 - step 194 of 216 - 6736 active elements (0 deactivated)
20:22:13 INFO opendrift.models.basemodel:2035: 2024-12-14 04:38:40.926315 - step 195 of 216 - 6771 active elements (0 deactivated)
20:22:14 INFO opendrift.models.basemodel:2035: 2024-12-14 04:48:40.926315 - step 196 of 216 - 6805 active elements (0 deactivated)
20:22:15 INFO opendrift.models.basemodel:2035: 2024-12-14 04:58:40.926315 - step 197 of 216 - 6840 active elements (0 deactivated)
20:22:16 INFO opendrift.models.basemodel:2035: 2024-12-14 05:08:40.926315 - step 198 of 216 - 6875 active elements (0 deactivated)
20:22:17 INFO opendrift.models.basemodel:2035: 2024-12-14 05:18:40.926315 - step 199 of 216 - 6910 active elements (0 deactivated)
20:22:18 INFO opendrift.models.basemodel:2035: 2024-12-14 05:28:40.926315 - step 200 of 216 - 6944 active elements (0 deactivated)
20:22:19 INFO opendrift.models.basemodel:2035: 2024-12-14 05:38:40.926315 - step 201 of 216 - 6979 active elements (0 deactivated)
20:22:20 INFO opendrift.models.basemodel:2035: 2024-12-14 05:48:40.926315 - step 202 of 216 - 7014 active elements (0 deactivated)
20:22:21 INFO opendrift.models.basemodel:2035: 2024-12-14 05:58:40.926315 - step 203 of 216 - 7048 active elements (0 deactivated)
20:22:22 INFO opendrift.models.basemodel:2035: 2024-12-14 06:08:40.926315 - step 204 of 216 - 7083 active elements (0 deactivated)
20:22:23 INFO opendrift.models.basemodel:2035: 2024-12-14 06:18:40.926315 - step 205 of 216 - 7118 active elements (0 deactivated)
20:22:24 INFO opendrift.models.basemodel:2035: 2024-12-14 06:28:40.926315 - step 206 of 216 - 7153 active elements (0 deactivated)
20:22:25 INFO opendrift.models.basemodel:2035: 2024-12-14 06:38:40.926315 - step 207 of 216 - 7187 active elements (0 deactivated)
20:22:26 INFO opendrift.models.basemodel:2035: 2024-12-14 06:48:40.926315 - step 208 of 216 - 7222 active elements (0 deactivated)
20:22:27 INFO opendrift.models.basemodel:2035: 2024-12-14 06:58:40.926315 - step 209 of 216 - 7257 active elements (0 deactivated)
20:22:29 INFO opendrift.models.basemodel:2035: 2024-12-14 07:08:40.926315 - step 210 of 216 - 7291 active elements (0 deactivated)
20:22:30 INFO opendrift.models.basemodel:2035: 2024-12-14 07:18:40.926315 - step 211 of 216 - 7326 active elements (0 deactivated)
20:22:31 INFO opendrift.models.basemodel:2035: 2024-12-14 07:28:40.926315 - step 212 of 216 - 7361 active elements (0 deactivated)
20:22:32 INFO opendrift.models.basemodel:2035: 2024-12-14 07:38:40.926315 - step 213 of 216 - 7396 active elements (0 deactivated)
20:22:33 INFO opendrift.models.basemodel:2035: 2024-12-14 07:48:40.926315 - step 214 of 216 - 7430 active elements (0 deactivated)
20:22:34 INFO opendrift.models.basemodel:2035: 2024-12-14 07:58:40.926315 - step 215 of 216 - 7465 active elements (0 deactivated)
20:22:35 INFO opendrift.models.basemodel:2035: 2024-12-14 08:08:40.926315 - step 216 of 216 - 7500 active elements (0 deactivated)
20:22:35 INFO opendrift.models.basemodel:2198: 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'])
20:24:16 INFO opendrift.models.basemodel:4613: Saving animation to /root/project/docs/source/gallery/animations/example_sediments_0.gif...
20:29:05 INFO opendrift.models.basemodel:3037: Time to make animation: 0:06:22.133680
Total running time of the script: (10 minutes 28.066 seconds)