Fjord

from datetime import timedelta
from opendrift.readers import reader_global_landmask
from opendrift.readers import reader_netCDF_CF_generic
from opendrift.models.leeway import Leeway

o = Leeway(loglevel=20)  # Set loglevel to 0 for debug information
14:09:12 INFO    opendrift.models.basemodel:507: OpenDriftSimulation initialised (version 1.11.2 / v1.11.2-69-gb16198b)

Add readers for wind and current

reader_arome = reader_netCDF_CF_generic.Reader(o.test_data_folder() +
    '16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc')
reader_norkyst = reader_netCDF_CF_generic.Reader(o.test_data_folder() +
    '16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc')
o.add_reader([reader_norkyst, reader_arome])
14:09:12 INFO    opendrift.readers.reader_netCDF_CF_generic:102: Opening dataset: /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc
/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)
14:09:13 INFO    opendrift.readers.reader_netCDF_CF_generic:314: Detected dimensions: {'time': 'time', 'x': 'x', 'y': 'y'}
14:09:13 INFO    opendrift.readers.reader_netCDF_CF_generic:102: Opening dataset: /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc
/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)
14:09:13 INFO    opendrift.readers.reader_netCDF_CF_generic:314: Detected dimensions: {'x': 'X', 'y': 'Y', 'z': 'depth', 'time': 'time'}

Seed elements time = [reader_arome.start_time,

reader_arome.start_time + timedelta(hours=5)]

time = reader_arome.start_time
object_type = 1  # 1: Person-in-water (PIW), unknown state (mean values)
o.seed_elements(lon=6.55, lat=61.117594, radius=50, number=5000, time=time, object_type=object_type)
14:09:13 INFO    opendrift.models.leeway:309: Seeding elements of object type 1: PIW-1 (Person-in-water (PIW), unknown state (mean values))
14:09:13 INFO    opendrift.models.basemodel.environment:218: Adding a dynamical landmask with max. priority based on assumed maximum speed of 5.0 m/s. Adding a customised landmask may be faster...

Running model for 12 hours, using small time step due to high resolution coastline

o.run(duration=timedelta(hours=12), time_step=300, time_step_output=3600)
14:09:19 INFO    opendrift.models.basemodel:885: Using existing reader for land_binary_mask
14:09:19 INFO    opendrift.models.basemodel:896: All points are in ocean
14:09:19 INFO    opendrift.models.basemodel:1985: 2015-11-16 00:00:00 - step 1 of 144 - 5000 active elements (0 deactivated)
14:09:19 INFO    opendrift.models.basemodel:1985: 2015-11-16 00:05:00 - step 2 of 144 - 5000 active elements (0 deactivated)
14:09:19 INFO    opendrift.models.basemodel:1985: 2015-11-16 00:10:00 - step 3 of 144 - 5000 active elements (0 deactivated)
14:09:19 INFO    opendrift.models.basemodel:1985: 2015-11-16 00:15:00 - step 4 of 144 - 5000 active elements (0 deactivated)
/root/project/opendrift/readers/interpolation/interpolators.py:17: RuntimeWarning: overflow encountered in cast
  data[mask] = np.finfo(np.float64).min
14:09:19 INFO    opendrift.models.basemodel:1985: 2015-11-16 00:20:00 - step 5 of 144 - 5000 active elements (0 deactivated)
14:09:19 INFO    opendrift.models.basemodel:1985: 2015-11-16 00:25:00 - step 6 of 144 - 5000 active elements (0 deactivated)
14:09:19 INFO    opendrift.models.basemodel:1985: 2015-11-16 00:30:00 - step 7 of 144 - 5000 active elements (0 deactivated)
14:09:19 INFO    opendrift.models.basemodel:1985: 2015-11-16 00:35:00 - step 8 of 144 - 5000 active elements (0 deactivated)
14:09:19 INFO    opendrift.models.basemodel:1985: 2015-11-16 00:40:00 - step 9 of 144 - 5000 active elements (0 deactivated)
14:09:19 INFO    opendrift.models.basemodel:1985: 2015-11-16 00:45:00 - step 10 of 144 - 5000 active elements (0 deactivated)
14:09:19 INFO    opendrift.models.basemodel:1985: 2015-11-16 00:50:00 - step 11 of 144 - 5000 active elements (0 deactivated)
14:09:19 INFO    opendrift.models.basemodel:1985: 2015-11-16 00:55:00 - step 12 of 144 - 5000 active elements (0 deactivated)
14:09:19 INFO    opendrift.models.basemodel:1985: 2015-11-16 01:00:00 - step 13 of 144 - 5000 active elements (0 deactivated)
14:09:19 INFO    opendrift.models.basemodel:1985: 2015-11-16 01:05:00 - step 14 of 144 - 5000 active elements (0 deactivated)
14:09:19 INFO    opendrift.models.basemodel:1985: 2015-11-16 01:10:00 - step 15 of 144 - 5000 active elements (0 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 01:15:00 - step 16 of 144 - 5000 active elements (0 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 01:20:00 - step 17 of 144 - 5000 active elements (0 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 01:25:00 - step 18 of 144 - 5000 active elements (0 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 01:30:00 - step 19 of 144 - 5000 active elements (0 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 01:35:00 - step 20 of 144 - 5000 active elements (0 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 01:40:00 - step 21 of 144 - 5000 active elements (0 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 01:45:00 - step 22 of 144 - 4999 active elements (1 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 01:50:00 - step 23 of 144 - 4999 active elements (1 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 01:55:00 - step 24 of 144 - 4998 active elements (2 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 02:00:00 - step 25 of 144 - 4996 active elements (4 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 02:05:00 - step 26 of 144 - 4991 active elements (9 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 02:10:00 - step 27 of 144 - 4983 active elements (17 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 02:15:00 - step 28 of 144 - 4966 active elements (34 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 02:20:00 - step 29 of 144 - 4948 active elements (52 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 02:25:00 - step 30 of 144 - 4911 active elements (89 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 02:30:00 - step 31 of 144 - 4872 active elements (128 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 02:35:00 - step 32 of 144 - 4825 active elements (175 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 02:40:00 - step 33 of 144 - 4777 active elements (223 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 02:45:00 - step 34 of 144 - 4698 active elements (302 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 02:50:00 - step 35 of 144 - 4627 active elements (373 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 02:55:00 - step 36 of 144 - 4556 active elements (444 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 03:00:00 - step 37 of 144 - 4480 active elements (520 deactivated)
14:09:20 INFO    opendrift.models.basemodel:1985: 2015-11-16 03:05:00 - step 38 of 144 - 4393 active elements (607 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 03:10:00 - step 39 of 144 - 4296 active elements (704 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 03:15:00 - step 40 of 144 - 4216 active elements (784 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 03:20:00 - step 41 of 144 - 4127 active elements (873 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 03:25:00 - step 42 of 144 - 4041 active elements (959 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 03:30:00 - step 43 of 144 - 3964 active elements (1036 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 03:35:00 - step 44 of 144 - 3864 active elements (1136 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 03:40:00 - step 45 of 144 - 3792 active elements (1208 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 03:45:00 - step 46 of 144 - 3719 active elements (1281 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 03:50:00 - step 47 of 144 - 3656 active elements (1344 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 03:55:00 - step 48 of 144 - 3606 active elements (1394 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 04:00:00 - step 49 of 144 - 3553 active elements (1447 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 04:05:00 - step 50 of 144 - 3521 active elements (1479 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 04:10:00 - step 51 of 144 - 3481 active elements (1519 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 04:15:00 - step 52 of 144 - 3447 active elements (1553 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 04:20:00 - step 53 of 144 - 3419 active elements (1581 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 04:25:00 - step 54 of 144 - 3393 active elements (1607 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 04:30:00 - step 55 of 144 - 3376 active elements (1624 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 04:35:00 - step 56 of 144 - 3359 active elements (1641 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 04:40:00 - step 57 of 144 - 3341 active elements (1659 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 04:45:00 - step 58 of 144 - 3323 active elements (1677 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 04:50:00 - step 59 of 144 - 3308 active elements (1692 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 04:55:00 - step 60 of 144 - 3300 active elements (1700 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 05:00:00 - step 61 of 144 - 3286 active elements (1714 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 05:05:00 - step 62 of 144 - 3274 active elements (1726 deactivated)
14:09:21 INFO    opendrift.models.basemodel:1985: 2015-11-16 05:10:00 - step 63 of 144 - 3258 active elements (1742 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 05:15:00 - step 64 of 144 - 3248 active elements (1752 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 05:20:00 - step 65 of 144 - 3231 active elements (1769 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 05:25:00 - step 66 of 144 - 3219 active elements (1781 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 05:30:00 - step 67 of 144 - 3204 active elements (1796 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 05:35:00 - step 68 of 144 - 3188 active elements (1812 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 05:40:00 - step 69 of 144 - 3174 active elements (1826 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 05:45:00 - step 70 of 144 - 3159 active elements (1841 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 05:50:00 - step 71 of 144 - 3150 active elements (1850 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 05:55:00 - step 72 of 144 - 3138 active elements (1862 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 06:00:00 - step 73 of 144 - 3121 active elements (1879 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 06:05:00 - step 74 of 144 - 3113 active elements (1887 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 06:10:00 - step 75 of 144 - 3100 active elements (1900 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 06:15:00 - step 76 of 144 - 3082 active elements (1918 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 06:20:00 - step 77 of 144 - 3072 active elements (1928 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 06:25:00 - step 78 of 144 - 3058 active elements (1942 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 06:30:00 - step 79 of 144 - 3046 active elements (1954 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 06:35:00 - step 80 of 144 - 3034 active elements (1966 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 06:40:00 - step 81 of 144 - 3016 active elements (1984 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 06:45:00 - step 82 of 144 - 2992 active elements (2008 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 06:50:00 - step 83 of 144 - 2966 active elements (2034 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 06:55:00 - step 84 of 144 - 2935 active elements (2065 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 07:00:00 - step 85 of 144 - 2914 active elements (2086 deactivated)
14:09:22 INFO    opendrift.models.basemodel:1985: 2015-11-16 07:05:00 - step 86 of 144 - 2891 active elements (2109 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 07:10:00 - step 87 of 144 - 2861 active elements (2139 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 07:15:00 - step 88 of 144 - 2831 active elements (2169 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 07:20:00 - step 89 of 144 - 2801 active elements (2199 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 07:25:00 - step 90 of 144 - 2766 active elements (2234 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 07:30:00 - step 91 of 144 - 2721 active elements (2279 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 07:35:00 - step 92 of 144 - 2693 active elements (2307 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 07:40:00 - step 93 of 144 - 2666 active elements (2334 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 07:45:00 - step 94 of 144 - 2626 active elements (2374 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 07:50:00 - step 95 of 144 - 2596 active elements (2404 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 07:55:00 - step 96 of 144 - 2564 active elements (2436 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 08:00:00 - step 97 of 144 - 2526 active elements (2474 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 08:05:00 - step 98 of 144 - 2496 active elements (2504 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 08:10:00 - step 99 of 144 - 2463 active elements (2537 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 08:15:00 - step 100 of 144 - 2430 active elements (2570 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 08:20:00 - step 101 of 144 - 2403 active elements (2597 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 08:25:00 - step 102 of 144 - 2367 active elements (2633 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 08:30:00 - step 103 of 144 - 2331 active elements (2669 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 08:35:00 - step 104 of 144 - 2294 active elements (2706 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 08:40:00 - step 105 of 144 - 2253 active elements (2747 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 08:45:00 - step 106 of 144 - 2218 active elements (2782 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 08:50:00 - step 107 of 144 - 2184 active elements (2816 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 08:55:00 - step 108 of 144 - 2150 active elements (2850 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 09:00:00 - step 109 of 144 - 2115 active elements (2885 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 09:05:00 - step 110 of 144 - 2077 active elements (2923 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 09:10:00 - step 111 of 144 - 2037 active elements (2963 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 09:15:00 - step 112 of 144 - 1995 active elements (3005 deactivated)
14:09:23 INFO    opendrift.models.basemodel:1985: 2015-11-16 09:20:00 - step 113 of 144 - 1950 active elements (3050 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 09:25:00 - step 114 of 144 - 1911 active elements (3089 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 09:30:00 - step 115 of 144 - 1873 active elements (3127 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 09:35:00 - step 116 of 144 - 1844 active elements (3156 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 09:40:00 - step 117 of 144 - 1808 active elements (3192 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 09:45:00 - step 118 of 144 - 1774 active elements (3226 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 09:50:00 - step 119 of 144 - 1745 active elements (3255 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 09:55:00 - step 120 of 144 - 1711 active elements (3289 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 10:00:00 - step 121 of 144 - 1678 active elements (3322 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 10:05:00 - step 122 of 144 - 1648 active elements (3352 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 10:10:00 - step 123 of 144 - 1619 active elements (3381 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 10:15:00 - step 124 of 144 - 1597 active elements (3403 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 10:20:00 - step 125 of 144 - 1567 active elements (3433 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 10:25:00 - step 126 of 144 - 1548 active elements (3452 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 10:30:00 - step 127 of 144 - 1523 active elements (3477 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 10:35:00 - step 128 of 144 - 1488 active elements (3512 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 10:40:00 - step 129 of 144 - 1452 active elements (3548 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 10:45:00 - step 130 of 144 - 1427 active elements (3573 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 10:50:00 - step 131 of 144 - 1404 active elements (3596 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 10:55:00 - step 132 of 144 - 1379 active elements (3621 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 11:00:00 - step 133 of 144 - 1353 active elements (3647 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 11:05:00 - step 134 of 144 - 1335 active elements (3665 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 11:10:00 - step 135 of 144 - 1311 active elements (3689 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 11:15:00 - step 136 of 144 - 1289 active elements (3711 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 11:20:00 - step 137 of 144 - 1275 active elements (3725 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 11:25:00 - step 138 of 144 - 1252 active elements (3748 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 11:30:00 - step 139 of 144 - 1229 active elements (3771 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 11:35:00 - step 140 of 144 - 1216 active elements (3784 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 11:40:00 - step 141 of 144 - 1191 active elements (3809 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 11:45:00 - step 142 of 144 - 1170 active elements (3830 deactivated)
14:09:24 INFO    opendrift.models.basemodel:1985: 2015-11-16 11:50:00 - step 143 of 144 - 1150 active elements (3850 deactivated)
14:09:25 INFO    opendrift.models.basemodel:1985: 2015-11-16 11:55:00 - step 144 of 144 - 1132 active elements (3868 deactivated)

Print and plot results

print(o)
o.animation()
===========================
--------------------
Reader performance:
--------------------
/root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc
 0:00:01.8  total
 0:00:00.0  preparing
 0:00:00.2  reading
 0:00:00.1  interpolation
 0:00:00.0  interpolation_time
 0:00:01.5  rotating vectors
 0:00:00.0  masking
--------------------
/root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc
 0:00:01.7  total
 0:00:00.0  preparing
 0:00:00.2  reading
 0:00:00.1  interpolation
 0:00:00.0  interpolation_time
 0:00:01.5  rotating vectors
 0:00:00.0  masking
--------------------
global_landmask
 0:00:00.1  total
 0:00:00.0  preparing
 0:00:00.1  reading
 0:00:00.0  masking
--------------------
Performance:
   12.2 total time
    6.4 configuration
    0.0 preparing main loop
      0.0 moving elements to ocean
    5.7 main loop
      0.5 updating elements
    0.0 cleaning up
--------------------
===========================
Model:  Leeway     (OpenDrift version 1.11.2)
        1101 active LeewayObj particles  (3899 deactivated, 0 scheduled)
-------------------
Environment variables:
  -----
  x_sea_water_velocity
  y_sea_water_velocity
     1) /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc
  -----
  x_wind
  y_wind
     1) /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc
  -----
  land_binary_mask
     1) global_landmask

Discarded readers:

Time:
        Start: 2015-11-16 00:00:00 UTC
        Present: 2015-11-16 12:00:00 UTC
        Calculation steps: 144 * 0:05:00 - total time: 12:00:00
        Output steps: 13 * 1:00:00
===========================

/opt/conda/envs/opendrift/lib/python3.11/site-packages/cartopy/mpl/geoaxes.py:1683: UserWarning: No data for colormapping provided via 'c'. Parameters 'cmap' will be ignored
  result = super().scatter(*args, **kwargs)
14:09:46 INFO    opendrift.models.basemodel:4547: Saving animation to /root/project/docs/source/gallery/animations/example_fjord_0.gif...
14:10:27 INFO    opendrift.models.basemodel:2980: Time to make animation: 0:01:02.469290
../_images/example_fjord_0.gif
o.plot()
OpenDrift - Leeway (PIW-1) 2015-11-16 00:00 to 2015-11-16 12:00 UTC (13 steps)
(<GeoAxes: title={'center': 'OpenDrift - Leeway (PIW-1)\n2015-11-16 00:00 to 2015-11-16 12:00 UTC (13 steps)'}>, <Figure size 1100x720.053 with 1 Axes>)

Total running time of the script: (1 minutes 29.492 seconds)

Gallery generated by Sphinx-Gallery