Oil in ice

from datetime import datetime, timedelta
from opendrift.readers import reader_netCDF_CF_generic
from opendrift.models.openoil import OpenOil
import cmocean

o = OpenOil(loglevel=20)
13:22:30 INFO    opendrift:569: OpenDriftSimulation initialised (version 1.14.10 / v1.14.10-27-gff3ada1)

Using live data from Barents 2.5 km ocean model

o.add_readers_from_list(['https://thredds.met.no/thredds/dodsC/fou-hi/barents_eps_zdepth_be'])

Adjusting some configuration

o.set_config('processes:dispersion',  False)
o.set_config('processes:evaporation',  False)
o.set_config('processes:emulsification',  False)
o.set_config('environment:constant:horizontal_diffusivity', 10)
o.set_config('drift:truncate_ocean_model_below_m', 3)

Imaginary oil spill in Hinlopen strait

o.seed_elements(lon=19.1909, lat=79.5986, radius=50,
                number=3000, time=datetime.now() - timedelta(days=7))
13:22:30 INFO    opendrift.models.openoil.openoil:1720: Oil type not specified, using default: GENERIC BUNKER C
13:22:30 INFO    opendrift.models.openoil.adios.dirjs:86: Querying ADIOS database for oil: GENERIC BUNKER C
13:22:30 INFO    opendrift.models.openoil.openoil:1731: Using density 988.1 and viscosity 0.021692333877975332 of oiltype GENERIC BUNKER C
13:22:30 INFO    opendrift.models.basemodel.environment:203: Adding a global landmask from GSHHG
13:22:34 INFO    opendrift.models.basemodel.environment:227: Fallback values will be used for the following variables which have no readers:
13:22:34 INFO    opendrift.models.basemodel.environment:230:    sea_surface_height: 0.000000
13:22:34 INFO    opendrift.models.basemodel.environment:230:    upward_sea_water_velocity: 0.000000
13:22:34 INFO    opendrift.models.basemodel.environment:230:    sea_surface_wave_significant_height: 0.000000
13:22:34 INFO    opendrift.models.basemodel.environment:230:    sea_surface_wave_stokes_drift_x_velocity: 0.000000
13:22:34 INFO    opendrift.models.basemodel.environment:230:    sea_surface_wave_stokes_drift_y_velocity: 0.000000
13:22:34 INFO    opendrift.models.basemodel.environment:230:    sea_surface_wave_period_at_variance_spectral_density_maximum: 0.000000
13:22:34 INFO    opendrift.models.basemodel.environment:230:    sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment: 0.000000
13:22:34 INFO    opendrift.models.basemodel.environment:230:    sea_ice_area_fraction: 0.000000
13:22:34 INFO    opendrift.models.basemodel.environment:230:    sea_ice_x_velocity: 0.000000
13:22:34 INFO    opendrift.models.basemodel.environment:230:    sea_ice_y_velocity: 0.000000
13:22:34 INFO    opendrift.models.basemodel.environment:230:    sea_water_temperature: 10.000000
13:22:34 INFO    opendrift.models.basemodel.environment:230:    sea_water_salinity: 34.000000
13:22:34 INFO    opendrift.models.basemodel.environment:230:    sea_floor_depth_below_sea_level: 10000.000000
13:22:34 INFO    opendrift.models.basemodel.environment:230:    ocean_vertical_diffusivity: 0.020000
13:22:34 INFO    opendrift.models.basemodel.environment:230:    ocean_mixed_layer_thickness: 50.000000

Running model

o.run(duration=timedelta(hours=48), time_step=1800, time_step_output=3600)
13:22:34 INFO    opendrift:1903: Skipping environment variable upward_sea_water_velocity because of condition ['drift:vertical_advection', 'is', False]
13:22:34 INFO    opendrift:1914: Storing previous values of element property lon because of condition (('general:coastline_action', 'in', ['stranding', 'previous']), 'or', ('general:seafloor_action', 'in', ['previous']))
13:22:34 INFO    opendrift:1914: Storing previous values of element property lat because of condition (('general:coastline_action', 'in', ['stranding', 'previous']), 'or', ('general:seafloor_action', 'in', ['previous']))
13:22:35 INFO    opendrift:955: Using existing reader for land_binary_mask to move elements to ocean
13:22:35 INFO    opendrift:986: All points are in ocean
13:22:35 INFO    opendrift.models.openoil.openoil:697: Oil-water surface tension is 0.035935 Nm
13:22:35 INFO    opendrift.models.openoil.openoil:710: Max water fraction not available for GENERIC BUNKER C, using default
13:22:35 INFO    opendrift:2211: 2026-07-07 13:22:30.940492 - step 1 of 96 - 3000 active elements (0 deactivated)
13:22:35 INFO    opendrift.readers:67: Opening file with xr.open_dataset
13:22:38 INFO    opendrift.readers.reader_netCDF_CF_generic:340: Detected dimensions: {'x': 'X', 'y': 'Y', 'z': 'depth', 'time': 'time'}
13:22:38 INFO    opendrift.readers.basereader:175: Variable x_sea_water_velocity will be rotated from eastward_sea_water_velocity
13:22:38 INFO    opendrift.readers.basereader:175: Variable y_sea_water_velocity will be rotated from northward_sea_water_velocity
13:22:40 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.009438244 to -1.2207944e-05) found for ocean_vertical_diffusivity, replacing with NaN
13:22:40 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:22:42 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.010831806 to -3.0056945e-05) found for ocean_vertical_diffusivity, replacing with NaN
13:22:42 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:22:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:42 INFO    opendrift:2211: 2026-07-07 13:52:30.940492 - step 2 of 96 - 3000 active elements (0 deactivated)
13:22:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:42 INFO    opendrift:2211: 2026-07-07 14:22:30.940492 - step 3 of 96 - 3000 active elements (0 deactivated)
13:22:44 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.013526965 to -0.00027903583) found for ocean_vertical_diffusivity, replacing with NaN
13:22:44 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:22:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:45 INFO    opendrift:2211: 2026-07-07 14:52:30.940492 - step 4 of 96 - 3000 active elements (0 deactivated)
13:22:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:45 INFO    opendrift:2211: 2026-07-07 15:22:30.940492 - step 5 of 96 - 3000 active elements (0 deactivated)
13:22:47 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.01572133 to -0.0016048811) found for ocean_vertical_diffusivity, replacing with NaN
13:22:47 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:22:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:47 INFO    opendrift:2211: 2026-07-07 15:52:30.940492 - step 6 of 96 - 3000 active elements (0 deactivated)
13:22:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:48 INFO    opendrift:2211: 2026-07-07 16:22:30.940492 - step 7 of 96 - 3000 active elements (0 deactivated)
13:22:50 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.014686805 to -0.0014940256) found for ocean_vertical_diffusivity, replacing with NaN
13:22:50 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:22:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:50 INFO    opendrift:2211: 2026-07-07 16:52:30.940492 - step 8 of 96 - 3000 active elements (0 deactivated)
13:22:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:50 INFO    opendrift:2211: 2026-07-07 17:22:30.940492 - step 9 of 96 - 3000 active elements (0 deactivated)
13:22:52 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.012110102 to -0.0022037798) found for ocean_vertical_diffusivity, replacing with NaN
13:22:52 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:22:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:52 INFO    opendrift:2211: 2026-07-07 17:52:30.940492 - step 10 of 96 - 3000 active elements (0 deactivated)
13:22:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:52 INFO    opendrift:2211: 2026-07-07 18:22:30.940492 - step 11 of 96 - 3000 active elements (0 deactivated)
13:22:54 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.010284801 to -0.0024229505) found for ocean_vertical_diffusivity, replacing with NaN
13:22:54 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:22:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:54 INFO    opendrift:2211: 2026-07-07 18:52:30.940492 - step 12 of 96 - 3000 active elements (0 deactivated)
13:22:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:54 INFO    opendrift:2211: 2026-07-07 19:22:30.940492 - step 13 of 96 - 3000 active elements (0 deactivated)
13:22:57 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.009284495 to -0.0016529494) found for ocean_vertical_diffusivity, replacing with NaN
13:22:57 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:22:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:57 INFO    opendrift:2211: 2026-07-07 19:52:30.940492 - step 14 of 96 - 3000 active elements (0 deactivated)
13:22:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:57 INFO    opendrift:2211: 2026-07-07 20:22:30.940492 - step 15 of 96 - 3000 active elements (0 deactivated)
13:22:59 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.008180633 to -0.00043621982) found for ocean_vertical_diffusivity, replacing with NaN
13:22:59 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:22:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:22:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:00 INFO    opendrift:2211: 2026-07-07 20:52:30.940492 - step 16 of 96 - 3000 active elements (0 deactivated)
13:23:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:01 INFO    opendrift:2211: 2026-07-07 21:22:30.940492 - step 17 of 96 - 3000 active elements (0 deactivated)
13:23:03 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.009647229 to -0.000119061515) found for ocean_vertical_diffusivity, replacing with NaN
13:23:03 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:03 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:03 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:05 INFO    opendrift:2211: 2026-07-07 21:52:30.940492 - step 18 of 96 - 2998 active elements (2 deactivated)
13:23:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:05 INFO    opendrift:2211: 2026-07-07 22:22:30.940492 - step 19 of 96 - 2989 active elements (11 deactivated)
13:23:07 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.011800214 to -0.0007842048) found for ocean_vertical_diffusivity, replacing with NaN
13:23:07 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:07 INFO    opendrift:2211: 2026-07-07 22:52:30.940492 - step 20 of 96 - 2965 active elements (35 deactivated)
13:23:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:07 INFO    opendrift:2211: 2026-07-07 23:22:30.940492 - step 21 of 96 - 2912 active elements (88 deactivated)
13:23:09 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.015738111 to -0.0016647584) found for ocean_vertical_diffusivity, replacing with NaN
13:23:09 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:10 INFO    opendrift:2211: 2026-07-07 23:52:30.940492 - step 22 of 96 - 2806 active elements (194 deactivated)
13:23:10 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:10 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:10 INFO    opendrift:2211: 2026-07-08 00:22:30.940492 - step 23 of 96 - 2634 active elements (366 deactivated)
13:23:12 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.017320445 to -0.0016260856) found for ocean_vertical_diffusivity, replacing with NaN
13:23:12 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:12 INFO    opendrift:2211: 2026-07-08 00:52:30.940492 - step 24 of 96 - 2425 active elements (575 deactivated)
13:23:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:12 INFO    opendrift:2211: 2026-07-08 01:22:30.940492 - step 25 of 96 - 2144 active elements (856 deactivated)
13:23:14 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.017171562 to -0.00085885514) found for ocean_vertical_diffusivity, replacing with NaN
13:23:14 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:14 INFO    opendrift:2211: 2026-07-08 01:52:30.940492 - step 26 of 96 - 1805 active elements (1195 deactivated)
13:23:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:15 INFO    opendrift:2211: 2026-07-08 02:22:30.940492 - step 27 of 96 - 1422 active elements (1578 deactivated)
13:23:17 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.014943207 to -0.00096687494) found for ocean_vertical_diffusivity, replacing with NaN
13:23:17 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:17 INFO    opendrift:2211: 2026-07-08 02:52:30.940492 - step 28 of 96 - 1013 active elements (1987 deactivated)
13:23:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:17 INFO    opendrift:2211: 2026-07-08 03:22:30.940492 - step 29 of 96 - 688 active elements (2312 deactivated)
13:23:19 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.013616137 to -0.00080807874) found for ocean_vertical_diffusivity, replacing with NaN
13:23:19 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:19 INFO    opendrift:2211: 2026-07-08 03:52:30.940492 - step 30 of 96 - 458 active elements (2542 deactivated)
13:23:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:19 INFO    opendrift:2211: 2026-07-08 04:22:30.940492 - step 31 of 96 - 307 active elements (2693 deactivated)
13:23:21 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.01108816 to -0.001117093) found for ocean_vertical_diffusivity, replacing with NaN
13:23:21 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:22 INFO    opendrift:2211: 2026-07-08 04:52:30.940492 - step 32 of 96 - 187 active elements (2813 deactivated)
13:23:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:22 INFO    opendrift:2211: 2026-07-08 05:22:30.940492 - step 33 of 96 - 114 active elements (2886 deactivated)
13:23:24 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.008811247 to -0.0008197078) found for ocean_vertical_diffusivity, replacing with NaN
13:23:24 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:24 INFO    opendrift:2211: 2026-07-08 05:52:30.940492 - step 34 of 96 - 69 active elements (2931 deactivated)
13:23:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:24 INFO    opendrift:2211: 2026-07-08 06:22:30.940492 - step 35 of 96 - 40 active elements (2960 deactivated)
13:23:26 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.0079198675 to -0.00069261185) found for ocean_vertical_diffusivity, replacing with NaN
13:23:26 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:26 INFO    opendrift:2211: 2026-07-08 06:52:30.940492 - step 36 of 96 - 29 active elements (2971 deactivated)
13:23:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:26 INFO    opendrift:2211: 2026-07-08 07:22:30.940492 - step 37 of 96 - 22 active elements (2978 deactivated)
13:23:28 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.007537701 to -0.00079227955) found for ocean_vertical_diffusivity, replacing with NaN
13:23:28 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:28 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:28 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:28 INFO    opendrift:2211: 2026-07-08 07:52:30.940492 - step 38 of 96 - 15 active elements (2985 deactivated)
13:23:28 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:28 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:28 INFO    opendrift:2211: 2026-07-08 08:22:30.940492 - step 39 of 96 - 12 active elements (2988 deactivated)
13:23:30 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.008470849 to -0.000986618) found for ocean_vertical_diffusivity, replacing with NaN
13:23:30 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:30 INFO    opendrift:2211: 2026-07-08 08:52:30.940492 - step 40 of 96 - 11 active elements (2989 deactivated)
13:23:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:31 INFO    opendrift:2211: 2026-07-08 09:22:30.940492 - step 41 of 96 - 9 active elements (2991 deactivated)
13:23:33 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.0106290225 to -0.0010787948) found for ocean_vertical_diffusivity, replacing with NaN
13:23:33 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:33 INFO    opendrift:2211: 2026-07-08 09:52:30.940492 - step 42 of 96 - 9 active elements (2991 deactivated)
13:23:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:33 INFO    opendrift:2211: 2026-07-08 10:22:30.940492 - step 43 of 96 - 9 active elements (2991 deactivated)
13:23:35 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.013106732 to -0.0006668844) found for ocean_vertical_diffusivity, replacing with NaN
13:23:35 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:35 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:35 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:35 INFO    opendrift:2211: 2026-07-08 10:52:30.940492 - step 44 of 96 - 9 active elements (2991 deactivated)
13:23:35 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:35 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:35 INFO    opendrift:2211: 2026-07-08 11:22:30.940492 - step 45 of 96 - 9 active elements (2991 deactivated)
13:23:37 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.014761946 to -0.0006424313) found for ocean_vertical_diffusivity, replacing with NaN
13:23:37 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:37 INFO    opendrift:2211: 2026-07-08 11:52:30.940492 - step 46 of 96 - 9 active elements (2991 deactivated)
13:23:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:37 INFO    opendrift:2211: 2026-07-08 12:22:30.940492 - step 47 of 96 - 9 active elements (2991 deactivated)
13:23:40 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.016014365 to -0.0011134614) found for ocean_vertical_diffusivity, replacing with NaN
13:23:40 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:40 INFO    opendrift:2211: 2026-07-08 12:52:30.940492 - step 48 of 96 - 9 active elements (2991 deactivated)
13:23:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:40 INFO    opendrift:2211: 2026-07-08 13:22:30.940492 - step 49 of 96 - 8 active elements (2992 deactivated)
13:23:42 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.017449208 to -0.0019165095) found for ocean_vertical_diffusivity, replacing with NaN
13:23:42 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:42 INFO    opendrift:2211: 2026-07-08 13:52:30.940492 - step 50 of 96 - 8 active elements (2992 deactivated)
13:23:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:42 INFO    opendrift:2211: 2026-07-08 14:22:30.940492 - step 51 of 96 - 8 active elements (2992 deactivated)
13:23:44 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.019805446 to -0.0014115794) found for ocean_vertical_diffusivity, replacing with NaN
13:23:44 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:44 INFO    opendrift:2211: 2026-07-08 14:52:30.940492 - step 52 of 96 - 8 active elements (2992 deactivated)
13:23:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:44 INFO    opendrift:2211: 2026-07-08 15:22:30.940492 - step 53 of 96 - 8 active elements (2992 deactivated)
13:23:46 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.018410698 to -0.002011996) found for ocean_vertical_diffusivity, replacing with NaN
13:23:46 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:46 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:46 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:46 INFO    opendrift:2211: 2026-07-08 15:52:30.940492 - step 54 of 96 - 7 active elements (2993 deactivated)
13:23:46 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:46 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:47 INFO    opendrift:2211: 2026-07-08 16:22:30.940492 - step 55 of 96 - 7 active elements (2993 deactivated)
13:23:49 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.016291544 to -0.00020116587) found for ocean_vertical_diffusivity, replacing with NaN
13:23:49 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:49 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:49 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:49 INFO    opendrift:2211: 2026-07-08 16:52:30.940492 - step 56 of 96 - 7 active elements (2993 deactivated)
13:23:49 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:49 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:49 INFO    opendrift:2211: 2026-07-08 17:22:30.940492 - step 57 of 96 - 7 active elements (2993 deactivated)
13:23:51 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.012913326 to -9.56789e-05) found for ocean_vertical_diffusivity, replacing with NaN
13:23:51 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:51 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:51 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:51 INFO    opendrift:2211: 2026-07-08 17:52:30.940492 - step 58 of 96 - 7 active elements (2993 deactivated)
13:23:51 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:51 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:51 INFO    opendrift:2211: 2026-07-08 18:22:30.940492 - step 59 of 96 - 7 active elements (2993 deactivated)
13:23:53 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.010708595 to -0.00014242197) found for ocean_vertical_diffusivity, replacing with NaN
13:23:53 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:53 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:53 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:53 INFO    opendrift:2211: 2026-07-08 18:52:30.940492 - step 60 of 96 - 7 active elements (2993 deactivated)
13:23:53 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:53 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:53 INFO    opendrift:2211: 2026-07-08 19:22:30.940492 - step 61 of 96 - 7 active elements (2993 deactivated)
13:23:55 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.00912489 to -0.00015422166) found for ocean_vertical_diffusivity, replacing with NaN
13:23:55 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:55 INFO    opendrift:2211: 2026-07-08 19:52:30.940492 - step 62 of 96 - 7 active elements (2993 deactivated)
13:23:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:55 INFO    opendrift:2211: 2026-07-08 20:22:30.940492 - step 63 of 96 - 7 active elements (2993 deactivated)
13:23:58 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.008113184 to -2.8145047e-05) found for ocean_vertical_diffusivity, replacing with NaN
13:23:58 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:23:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:58 INFO    opendrift:2211: 2026-07-08 20:52:30.940492 - step 64 of 96 - 7 active elements (2993 deactivated)
13:23:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:23:58 INFO    opendrift:2211: 2026-07-08 21:22:30.940492 - step 65 of 96 - 7 active elements (2993 deactivated)
13:24:00 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.007338811 to -7.453831e-05) found for ocean_vertical_diffusivity, replacing with NaN
13:24:00 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:24:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:00 INFO    opendrift:2211: 2026-07-08 21:52:30.940492 - step 66 of 96 - 7 active elements (2993 deactivated)
13:24:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:00 INFO    opendrift:2211: 2026-07-08 22:22:30.940492 - step 67 of 96 - 7 active elements (2993 deactivated)
13:24:02 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.008283199 to -0.00051009876) found for ocean_vertical_diffusivity, replacing with NaN
13:24:02 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:24:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:02 INFO    opendrift:2211: 2026-07-08 22:52:30.940492 - step 68 of 96 - 7 active elements (2993 deactivated)
13:24:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:02 INFO    opendrift:2211: 2026-07-08 23:22:30.940492 - step 69 of 96 - 7 active elements (2993 deactivated)
13:24:04 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.010630622 to -0.0005718718) found for ocean_vertical_diffusivity, replacing with NaN
13:24:04 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:24:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:05 INFO    opendrift:2211: 2026-07-08 23:52:30.940492 - step 70 of 96 - 7 active elements (2993 deactivated)
13:24:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:05 INFO    opendrift:2211: 2026-07-09 00:22:30.940492 - step 71 of 96 - 7 active elements (2993 deactivated)
13:24:07 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.014195564 to -0.0011550977) found for ocean_vertical_diffusivity, replacing with NaN
13:24:07 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:24:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:07 INFO    opendrift:2211: 2026-07-09 00:52:30.940492 - step 72 of 96 - 7 active elements (2993 deactivated)
13:24:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:07 INFO    opendrift:2211: 2026-07-09 01:22:30.940492 - step 73 of 96 - 7 active elements (2993 deactivated)
13:24:09 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.016863411 to -0.00052216405) found for ocean_vertical_diffusivity, replacing with NaN
13:24:09 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:24:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:09 INFO    opendrift:2211: 2026-07-09 01:52:30.940492 - step 74 of 96 - 7 active elements (2993 deactivated)
13:24:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:09 INFO    opendrift:2211: 2026-07-09 02:22:30.940492 - step 75 of 96 - 7 active elements (2993 deactivated)
13:24:11 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.01789201 to -6.1475366e-05) found for ocean_vertical_diffusivity, replacing with NaN
13:24:11 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:24:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:11 INFO    opendrift:2211: 2026-07-09 02:52:30.940492 - step 76 of 96 - 7 active elements (2993 deactivated)
13:24:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:11 INFO    opendrift:2211: 2026-07-09 03:22:30.940492 - step 77 of 96 - 7 active elements (2993 deactivated)
13:24:13 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.015359692 to -0.00067897193) found for ocean_vertical_diffusivity, replacing with NaN
13:24:13 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:24:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:13 INFO    opendrift:2211: 2026-07-09 03:52:30.940492 - step 78 of 96 - 7 active elements (2993 deactivated)
13:24:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:13 INFO    opendrift:2211: 2026-07-09 04:22:30.940492 - step 79 of 96 - 7 active elements (2993 deactivated)
13:24:16 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.011432093 to -0.00013745407) found for ocean_vertical_diffusivity, replacing with NaN
13:24:16 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:24:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:16 INFO    opendrift:2211: 2026-07-09 04:52:30.940492 - step 80 of 96 - 7 active elements (2993 deactivated)
13:24:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:16 INFO    opendrift:2211: 2026-07-09 05:22:30.940492 - step 81 of 96 - 7 active elements (2993 deactivated)
13:24:18 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.007818558 to -5.6812496e-05) found for ocean_vertical_diffusivity, replacing with NaN
13:24:18 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:24:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:18 INFO    opendrift:2211: 2026-07-09 05:52:30.940492 - step 82 of 96 - 7 active elements (2993 deactivated)
13:24:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:18 INFO    opendrift:2211: 2026-07-09 06:22:30.940492 - step 83 of 96 - 7 active elements (2993 deactivated)
13:24:20 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.0061718426 to -0.00010634675) found for ocean_vertical_diffusivity, replacing with NaN
13:24:20 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:24:20 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:20 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:20 INFO    opendrift:2211: 2026-07-09 06:52:30.940492 - step 84 of 96 - 7 active elements (2993 deactivated)
13:24:20 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:20 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:20 INFO    opendrift:2211: 2026-07-09 07:22:30.940492 - step 85 of 96 - 7 active elements (2993 deactivated)
13:24:22 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.0061725527 to -0.0001688431) found for ocean_vertical_diffusivity, replacing with NaN
13:24:22 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:24:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:23 INFO    opendrift:2211: 2026-07-09 07:52:30.940492 - step 86 of 96 - 7 active elements (2993 deactivated)
13:24:23 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:23 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:23 INFO    opendrift:2211: 2026-07-09 08:22:30.940492 - step 87 of 96 - 7 active elements (2993 deactivated)
13:24:25 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.0070726667 to -0.0002161976) found for ocean_vertical_diffusivity, replacing with NaN
13:24:25 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:24:25 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:25 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:25 INFO    opendrift:2211: 2026-07-09 08:52:30.940492 - step 88 of 96 - 7 active elements (2993 deactivated)
13:24:25 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:25 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:25 INFO    opendrift:2211: 2026-07-09 09:22:30.940492 - step 89 of 96 - 7 active elements (2993 deactivated)
13:24:27 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.007065264 to -0.0002800061) found for ocean_vertical_diffusivity, replacing with NaN
13:24:27 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:24:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:27 INFO    opendrift:2211: 2026-07-09 09:52:30.940492 - step 90 of 96 - 6 active elements (2994 deactivated)
13:24:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:27 INFO    opendrift:2211: 2026-07-09 10:22:30.940492 - step 91 of 96 - 6 active elements (2994 deactivated)
13:24:29 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.0076357485 to -9.9462915e-05) found for ocean_vertical_diffusivity, replacing with NaN
13:24:29 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:24:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:29 INFO    opendrift:2211: 2026-07-09 10:52:30.940492 - step 92 of 96 - 6 active elements (2994 deactivated)
13:24:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:29 INFO    opendrift:2211: 2026-07-09 11:22:30.940492 - step 93 of 96 - 6 active elements (2994 deactivated)
13:24:31 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.010768891 to -1.1726355e-05) found for ocean_vertical_diffusivity, replacing with NaN
13:24:31 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:24:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:31 INFO    opendrift:2211: 2026-07-09 11:52:30.940492 - step 94 of 96 - 6 active elements (2994 deactivated)
13:24:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:31 INFO    opendrift:2211: 2026-07-09 12:22:30.940492 - step 95 of 96 - 6 active elements (2994 deactivated)
13:24:34 WARNING opendrift.readers.basereader.variables:660: Invalid values (-0.016382355 to -1.42647e-05) found for ocean_vertical_diffusivity, replacing with NaN
13:24:34 WARNING opendrift.readers.basereader.variables:663: (allowed range: [0, 1])
13:24:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:34 INFO    opendrift:2211: 2026-07-09 12:52:30.940492 - step 96 of 96 - 6 active elements (2994 deactivated)
13:24:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:24:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
<xarray.Dataset> Size: 26MB
Dimensions:                                                                              (
                                                                                          trajectory: 3000,
                                                                                          time: 49)
Coordinates:
  * trajectory                                                                           (trajectory) int64 24kB ...
  * time                                                                                 (time) datetime64[ns] 392B ...
Data variables: (12/44)
    status                                                                               (trajectory, time) float32 588kB ...
    moving                                                                               (trajectory, time) float32 588kB ...
    age_seconds                                                                          (trajectory, time) float32 588kB ...
    origin_marker                                                                        (trajectory, time) float32 588kB ...
    lon                                                                                  (trajectory, time) float32 588kB ...
    lat                                                                                  (trajectory, time) float32 588kB ...
    ...                                                                                   ...
    sea_water_salinity                                                                   (trajectory, time) float32 588kB ...
    sea_floor_depth_below_sea_level                                                      (trajectory, time) float32 588kB ...
    horizontal_diffusivity                                                               (trajectory, time) float32 588kB ...
    ocean_vertical_diffusivity                                                           (trajectory, time) float32 588kB ...
    land_binary_mask                                                                     (trajectory, time) float32 588kB ...
    ocean_mixed_layer_thickness                                                          (trajectory, time) float32 588kB ...
Attributes: (12/167)
    Conventions:                                                             ...
    standard_name_vocabulary:                                                ...
    featureType:                                                             ...
    title:                                                                   ...
    summary:                                                                 ...
    keywords:                                                                ...
    ...                                                                                                               ...
    geospatial_lon_units:                                                    ...
    geospatial_lon_resolution:                                               ...
    runtime:                                                                 ...
    geospatial_vertical_min:                                                 ...
    geospatial_vertical_max:                                                 ...
    geospatial_vertical_positive:                                            ...


Print and plot results

print(o)
o.animation(background='sea_ice_area_fraction', cmap=cmocean.cm.ice,
            vmin=0, vmax=1, bgalpha=1, fast=False)
===========================
--------------------
Reader performance:
--------------------
constant_reader
 0:00:00.0  total
 0:00:00.0  preparing
 0:00:00.0  reading
 0:00:00.0  masking
--------------------
global_landmask
 0:00:01.4  total
 0:00:00.0  preparing
 0:00:01.4  reading
 0:00:00.0  masking
--------------------
https://thredds.met.no/thredds/dodsC/fou-hi/barents_eps_zdepth_be
 0:01:46.2  total
 0:00:00.0  preparing
 0:01:45.7  reading
 0:00:00.6  interpolation
 0:00:00.0  interpolation_time
 0:00:00.4  rotating vectors
 0:00:00.0  masking
--------------------
Performance:
 2:03.2 total time
    4.0 configuration
    0.1 preparing main loop
      0.0 moving elements to ocean
 1:59.1 main loop
      3.4 updating elements
        0.0 oil weathering
          0.0 updating viscosities
          0.0 updating densities
        3.2 vertical mixing
    0.0 cleaning up
--------------------
===========================
Model:  OpenOil     (OpenDrift version 1.14.10)
        6 active Oil particles  (2994 deactivated, 0 scheduled)
-------------------
Environment variables:
  -----
  horizontal_diffusivity
     1) constant_reader
  -----
  land_binary_mask
     1) global_landmask
  -----
  ocean_vertical_diffusivity
  sea_floor_depth_below_sea_level
  sea_ice_area_fraction
  sea_ice_x_velocity
  sea_ice_y_velocity
  sea_surface_height
  sea_water_salinity
  sea_water_temperature
  x_sea_water_velocity
  x_wind
  y_sea_water_velocity
  y_wind
     1) https://thredds.met.no/thredds/dodsC/fou-hi/barents_eps_zdepth_be
  -----
Readers not added for the following variables:
  ocean_mixed_layer_thickness
  sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment
  sea_surface_wave_period_at_variance_spectral_density_maximum
  sea_surface_wave_significant_height
  sea_surface_wave_stokes_drift_x_velocity
  sea_surface_wave_stokes_drift_y_velocity

Discarded readers:

Time:
        Start: 2026-07-07 13:22:30.940492 UTC
        Present: 2026-07-09 13:22:30.940492 UTC
        Calculation steps: 96 * 0:30:00 - total time: 2 days, 0:00:00
        Output steps: 49 * 1:00:00
===========================

13:24:45 INFO    opendrift:4795: Saving animation to /root/project/docs/source/gallery/animations/example_oil_ice_0.gif...
13:25:11 INFO    opendrift:3215: Time to make animation: 0:00:37.415509
../_images/example_oil_ice_0.gif
o.plot(background='sea_ice_area_fraction', cmap=cmocean.cm.ice,
       vmin=0, vmax=1, bgalpha=1, fast=False)
OpenDrift - OpenOil (GENERIC BUNKER C) 2026-07-07 13:22 to 2026-07-09 13:22 UTC (49 steps)
(<GeoAxes: title={'center': 'OpenDrift - OpenOil (GENERIC BUNKER C)\n2026-07-07 13:22 to 2026-07-09 13:22 UTC (49 steps)'}>, <Figure size 473.113x1100 with 2 Axes>)

Total running time of the script: (2 minutes 57.162 seconds)

Gallery generated by Sphinx-Gallery