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