Note
Go to the end to download the full example code.
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)
14:08:00 INFO opendrift:568: OpenDriftSimulation initialised (version 1.14.9 / v1.14.9-43-g22dbf7d)
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))
14:08:00 INFO opendrift.models.openoil.openoil:1720: Oil type not specified, using default: GENERIC BUNKER C
14:08:00 INFO opendrift.models.openoil.adios.dirjs:86: Querying ADIOS database for oil: GENERIC BUNKER C
14:08:00 INFO opendrift.models.openoil.openoil:1731: Using density 988.1 and viscosity 0.02169233387797564 of oiltype GENERIC BUNKER C
14:08:00 INFO opendrift.models.basemodel.environment:203: Adding a global landmask from GSHHG
14:08:04 INFO opendrift.models.basemodel.environment:227: Fallback values will be used for the following variables which have no readers:
14:08:04 INFO opendrift.models.basemodel.environment:230: sea_surface_height: 0.000000
14:08:04 INFO opendrift.models.basemodel.environment:230: upward_sea_water_velocity: 0.000000
14:08:04 INFO opendrift.models.basemodel.environment:230: sea_surface_wave_significant_height: 0.000000
14:08:04 INFO opendrift.models.basemodel.environment:230: sea_surface_wave_stokes_drift_x_velocity: 0.000000
14:08:04 INFO opendrift.models.basemodel.environment:230: sea_surface_wave_stokes_drift_y_velocity: 0.000000
14:08:04 INFO opendrift.models.basemodel.environment:230: sea_surface_wave_period_at_variance_spectral_density_maximum: 0.000000
14:08:04 INFO opendrift.models.basemodel.environment:230: sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment: 0.000000
14:08:04 INFO opendrift.models.basemodel.environment:230: sea_ice_area_fraction: 0.000000
14:08:04 INFO opendrift.models.basemodel.environment:230: sea_ice_x_velocity: 0.000000
14:08:04 INFO opendrift.models.basemodel.environment:230: sea_ice_y_velocity: 0.000000
14:08:04 INFO opendrift.models.basemodel.environment:230: sea_water_temperature: 10.000000
14:08:04 INFO opendrift.models.basemodel.environment:230: sea_water_salinity: 34.000000
14:08:04 INFO opendrift.models.basemodel.environment:230: sea_floor_depth_below_sea_level: 10000.000000
14:08:04 INFO opendrift.models.basemodel.environment:230: ocean_vertical_diffusivity: 0.020000
14:08:04 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)
14:08:04 INFO opendrift:1894: Skipping environment variable upward_sea_water_velocity because of condition ['drift:vertical_advection', 'is', False]
14:08:04 INFO opendrift:1905: Storing previous values of element property lon because of condition (('general:coastline_action', 'in', ['stranding', 'previous']), 'or', ('general:seafloor_action', 'in', ['previous']))
14:08:04 INFO opendrift:1905: Storing previous values of element property lat because of condition (('general:coastline_action', 'in', ['stranding', 'previous']), 'or', ('general:seafloor_action', 'in', ['previous']))
14:08:04 INFO opendrift:947: Using existing reader for land_binary_mask to move elements to ocean
14:08:04 INFO opendrift:978: All points are in ocean
14:08:04 INFO opendrift.models.openoil.openoil:697: Oil-water surface tension is 0.035935 Nm
14:08:04 INFO opendrift.models.openoil.openoil:710: Max water fraction not available for GENERIC BUNKER C, using default
14:08:04 INFO opendrift:2202: 2026-04-14 14:08:00.373614 - step 1 of 96 - 3000 active elements (0 deactivated)
14:08:04 INFO opendrift.readers:64: Opening file with xr.open_dataset
14:08:08 INFO opendrift.readers.reader_netCDF_CF_generic:340: Detected dimensions: {'x': 'X', 'y': 'Y', 'z': 'depth', 'time': 'time'}
14:08:08 INFO opendrift.readers.basereader:178: Variable x_sea_water_velocity will be rotated from eastward_sea_water_velocity
14:08:08 INFO opendrift.readers.basereader:178: Variable y_sea_water_velocity will be rotated from northward_sea_water_velocity
14:08:10 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.008046134 to -0.00067881716) found for ocean_vertical_diffusivity, replacing with NaN
14:08:10 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:12 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.007464131 to -0.0009584071) found for ocean_vertical_diffusivity, replacing with NaN
14:08:12 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:12 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:12 INFO opendrift:2202: 2026-04-14 14:38:00.373614 - step 2 of 96 - 3000 active elements (0 deactivated)
14:08:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:12 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:12 INFO opendrift:2202: 2026-04-14 15:08:00.373614 - step 3 of 96 - 3000 active elements (0 deactivated)
14:08:14 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.012749616 to -0.0013403523) found for ocean_vertical_diffusivity, replacing with NaN
14:08:14 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:14 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:14 INFO opendrift:2202: 2026-04-14 15:38:00.373614 - step 4 of 96 - 3000 active elements (0 deactivated)
14:08:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:14 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:14 INFO opendrift:2202: 2026-04-14 16:08:00.373614 - step 5 of 96 - 3000 active elements (0 deactivated)
14:08:16 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.026732253 to -0.0012670441) found for ocean_vertical_diffusivity, replacing with NaN
14:08:16 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:17 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:17 INFO opendrift:2202: 2026-04-14 16:38:00.373614 - step 6 of 96 - 3000 active elements (0 deactivated)
14:08:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:17 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:17 INFO opendrift:2202: 2026-04-14 17:08:00.373614 - step 7 of 96 - 3000 active elements (0 deactivated)
14:08:19 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.027400548 to -0.0022690387) found for ocean_vertical_diffusivity, replacing with NaN
14:08:19 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:19 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:19 INFO opendrift:2202: 2026-04-14 17:38:00.373614 - step 8 of 96 - 3000 active elements (0 deactivated)
14:08:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:19 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:19 INFO opendrift:2202: 2026-04-14 18:08:00.373614 - step 9 of 96 - 3000 active elements (0 deactivated)
14:08:21 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.016010337 to -0.0014742417) found for ocean_vertical_diffusivity, replacing with NaN
14:08:21 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:21 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:21 INFO opendrift:2202: 2026-04-14 18:38:00.373614 - step 10 of 96 - 3000 active elements (0 deactivated)
14:08:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:22 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:22 INFO opendrift:2202: 2026-04-14 19:08:00.373614 - step 11 of 96 - 3000 active elements (0 deactivated)
14:08:24 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.007539213 to -0.0018327873) found for ocean_vertical_diffusivity, replacing with NaN
14:08:24 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:24 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:24 INFO opendrift:2202: 2026-04-14 19:38:00.373614 - step 12 of 96 - 3000 active elements (0 deactivated)
14:08:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:24 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:24 INFO opendrift:2202: 2026-04-14 20:08:00.373614 - step 13 of 96 - 3000 active elements (0 deactivated)
14:08:27 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.00745474 to -0.0009741123) found for ocean_vertical_diffusivity, replacing with NaN
14:08:27 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:27 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:27 INFO opendrift:2202: 2026-04-14 20:38:00.373614 - step 14 of 96 - 3000 active elements (0 deactivated)
14:08:28 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:28 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:28 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:28 INFO opendrift:2202: 2026-04-14 21:08:00.373614 - step 15 of 96 - 3000 active elements (0 deactivated)
14:08:30 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0093778595 to -0.0009816962) found for ocean_vertical_diffusivity, replacing with NaN
14:08:30 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:31 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:31 INFO opendrift:2202: 2026-04-14 21:38:00.373614 - step 16 of 96 - 3000 active elements (0 deactivated)
14:08:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:31 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:31 INFO opendrift:2202: 2026-04-14 22:08:00.373614 - step 17 of 96 - 3000 active elements (0 deactivated)
14:08:33 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.011054432 to -0.00054144865) found for ocean_vertical_diffusivity, replacing with NaN
14:08:33 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:35 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:35 INFO opendrift:2202: 2026-04-14 22:38:00.373614 - step 18 of 96 - 2999 active elements (1 deactivated)
14:08:35 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:35 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:35 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:35 INFO opendrift:2202: 2026-04-14 23:08:00.373614 - step 19 of 96 - 2996 active elements (4 deactivated)
14:08:37 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.00974254 to -0.00087204715) found for ocean_vertical_diffusivity, replacing with NaN
14:08:37 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:37 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:37 INFO opendrift:2202: 2026-04-14 23:38:00.373614 - step 20 of 96 - 2996 active elements (4 deactivated)
14:08:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:37 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:37 INFO opendrift:2202: 2026-04-15 00:08:00.373614 - step 21 of 96 - 2994 active elements (6 deactivated)
14:08:39 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.011373362 to -0.002049938) found for ocean_vertical_diffusivity, replacing with NaN
14:08:39 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:39 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:39 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:40 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:40 INFO opendrift:2202: 2026-04-15 00:38:00.373614 - step 22 of 96 - 2992 active elements (8 deactivated)
14:08:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:40 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:40 INFO opendrift:2202: 2026-04-15 01:08:00.373614 - step 23 of 96 - 2990 active elements (10 deactivated)
14:08:42 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.007381583 to -0.0010435677) found for ocean_vertical_diffusivity, replacing with NaN
14:08:42 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:42 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:42 INFO opendrift:2202: 2026-04-15 01:38:00.373614 - step 24 of 96 - 2989 active elements (11 deactivated)
14:08:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:42 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:42 INFO opendrift:2202: 2026-04-15 02:08:00.373614 - step 25 of 96 - 2985 active elements (15 deactivated)
14:08:44 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0038503495 to -0.0005013815) found for ocean_vertical_diffusivity, replacing with NaN
14:08:44 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:44 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:44 INFO opendrift:2202: 2026-04-15 02:38:00.373614 - step 26 of 96 - 2983 active elements (17 deactivated)
14:08:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:44 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:44 INFO opendrift:2202: 2026-04-15 03:08:00.373614 - step 27 of 96 - 2972 active elements (28 deactivated)
14:08:47 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.009210354 to -0.0008016573) found for ocean_vertical_diffusivity, replacing with NaN
14:08:47 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:47 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:47 INFO opendrift:2202: 2026-04-15 03:38:00.373614 - step 28 of 96 - 2964 active elements (36 deactivated)
14:08:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:47 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:47 INFO opendrift:2202: 2026-04-15 04:08:00.373614 - step 29 of 96 - 2952 active elements (48 deactivated)
14:08:49 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.01800617 to -0.0014643907) found for ocean_vertical_diffusivity, replacing with NaN
14:08:49 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:49 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:49 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:49 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:49 INFO opendrift:2202: 2026-04-15 04:38:00.373614 - step 30 of 96 - 2944 active elements (56 deactivated)
14:08:49 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:49 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:49 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:49 INFO opendrift:2202: 2026-04-15 05:08:00.373614 - step 31 of 96 - 2935 active elements (65 deactivated)
14:08:52 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.026229255 to -0.0021894395) found for ocean_vertical_diffusivity, replacing with NaN
14:08:52 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:52 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:52 INFO opendrift:2202: 2026-04-15 05:38:00.373614 - step 32 of 96 - 2926 active elements (74 deactivated)
14:08:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:52 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:52 INFO opendrift:2202: 2026-04-15 06:08:00.373614 - step 33 of 96 - 2923 active elements (77 deactivated)
14:08:54 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.016617855 to -0.0014551688) found for ocean_vertical_diffusivity, replacing with NaN
14:08:54 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:54 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:54 INFO opendrift:2202: 2026-04-15 06:38:00.373614 - step 34 of 96 - 2922 active elements (78 deactivated)
14:08:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:54 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:54 INFO opendrift:2202: 2026-04-15 07:08:00.373614 - step 35 of 96 - 2919 active elements (81 deactivated)
14:08:56 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.010275916 to -0.0014691623) found for ocean_vertical_diffusivity, replacing with NaN
14:08:56 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:56 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:56 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:57 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:57 INFO opendrift:2202: 2026-04-15 07:38:00.373614 - step 36 of 96 - 2917 active elements (83 deactivated)
14:08:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:57 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:57 INFO opendrift:2202: 2026-04-15 08:08:00.373614 - step 37 of 96 - 2913 active elements (87 deactivated)
14:08:59 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.00829272 to -0.0011542486) found for ocean_vertical_diffusivity, replacing with NaN
14:08:59 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:08:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:59 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:59 INFO opendrift:2202: 2026-04-15 08:38:00.373614 - step 38 of 96 - 2912 active elements (88 deactivated)
14:08:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:08:59 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:08:59 INFO opendrift:2202: 2026-04-15 09:08:00.373614 - step 39 of 96 - 2910 active elements (90 deactivated)
14:09:01 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.007959556 to -0.00065641775) found for ocean_vertical_diffusivity, replacing with NaN
14:09:01 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:01 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:01 INFO opendrift:2202: 2026-04-15 09:38:00.373614 - step 40 of 96 - 2903 active elements (97 deactivated)
14:09:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:01 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:01 INFO opendrift:2202: 2026-04-15 10:08:00.373614 - step 41 of 96 - 2898 active elements (102 deactivated)
14:09:04 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0077591776 to -0.0005620306) found for ocean_vertical_diffusivity, replacing with NaN
14:09:04 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:04 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:04 INFO opendrift:2202: 2026-04-15 10:38:00.373614 - step 42 of 96 - 2890 active elements (110 deactivated)
14:09:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:04 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:04 INFO opendrift:2202: 2026-04-15 11:08:00.373614 - step 43 of 96 - 2877 active elements (123 deactivated)
14:09:06 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.007358334 to -0.00069056696) found for ocean_vertical_diffusivity, replacing with NaN
14:09:06 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:06 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:06 INFO opendrift:2202: 2026-04-15 11:38:00.373614 - step 44 of 96 - 2863 active elements (137 deactivated)
14:09:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:06 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:06 INFO opendrift:2202: 2026-04-15 12:08:00.373614 - step 45 of 96 - 2856 active elements (144 deactivated)
14:09:09 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.014864675 to -0.00034723312) found for ocean_vertical_diffusivity, replacing with NaN
14:09:09 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:09 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:09 INFO opendrift:2202: 2026-04-15 12:38:00.373614 - step 46 of 96 - 2842 active elements (158 deactivated)
14:09:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:09 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:09 INFO opendrift:2202: 2026-04-15 13:08:00.373614 - step 47 of 96 - 2830 active elements (170 deactivated)
14:09:11 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.008145849 to -6.0624494e-05) found for ocean_vertical_diffusivity, replacing with NaN
14:09:11 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:11 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:11 INFO opendrift:2202: 2026-04-15 13:38:00.373614 - step 48 of 96 - 2803 active elements (197 deactivated)
14:09:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:12 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:12 INFO opendrift:2202: 2026-04-15 14:08:00.373614 - step 49 of 96 - 2759 active elements (241 deactivated)
14:09:14 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0013014907 to -8.380477e-06) found for ocean_vertical_diffusivity, replacing with NaN
14:09:14 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:14 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:14 INFO opendrift:2202: 2026-04-15 14:38:00.373614 - step 50 of 96 - 2688 active elements (312 deactivated)
14:09:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:14 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:14 INFO opendrift:2202: 2026-04-15 15:08:00.373614 - step 51 of 96 - 2594 active elements (406 deactivated)
14:09:16 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0040283646 to -0.00024905367) found for ocean_vertical_diffusivity, replacing with NaN
14:09:16 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:16 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:16 INFO opendrift:2202: 2026-04-15 15:38:00.373614 - step 52 of 96 - 2510 active elements (490 deactivated)
14:09:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:16 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:16 INFO opendrift:2202: 2026-04-15 16:08:00.373614 - step 53 of 96 - 2421 active elements (579 deactivated)
14:09:18 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.017853357 to -0.001982746) found for ocean_vertical_diffusivity, replacing with NaN
14:09:18 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:19 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:19 INFO opendrift:2202: 2026-04-15 16:38:00.373614 - step 54 of 96 - 2326 active elements (674 deactivated)
14:09:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:19 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:19 INFO opendrift:2202: 2026-04-15 17:08:00.373614 - step 55 of 96 - 2255 active elements (745 deactivated)
14:09:21 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.034716398 to -0.0026232759) found for ocean_vertical_diffusivity, replacing with NaN
14:09:21 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:21 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:21 INFO opendrift:2202: 2026-04-15 17:38:00.373614 - step 56 of 96 - 2213 active elements (787 deactivated)
14:09:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:21 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:21 INFO opendrift:2202: 2026-04-15 18:08:00.373614 - step 57 of 96 - 2181 active elements (819 deactivated)
14:09:23 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.046729546 to -0.0013663635) found for ocean_vertical_diffusivity, replacing with NaN
14:09:23 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:23 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:23 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:23 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:23 INFO opendrift:2202: 2026-04-15 18:38:00.373614 - step 58 of 96 - 2166 active elements (834 deactivated)
14:09:23 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:23 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:24 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:24 INFO opendrift:2202: 2026-04-15 19:08:00.373614 - step 59 of 96 - 2151 active elements (849 deactivated)
14:09:26 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.026303114 to -0.0010040669) found for ocean_vertical_diffusivity, replacing with NaN
14:09:26 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:26 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:26 INFO opendrift:2202: 2026-04-15 19:38:00.373614 - step 60 of 96 - 2142 active elements (858 deactivated)
14:09:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:26 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:26 INFO opendrift:2202: 2026-04-15 20:08:00.373614 - step 61 of 96 - 2132 active elements (868 deactivated)
14:09:28 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.011442279 to -0.00033036552) found for ocean_vertical_diffusivity, replacing with NaN
14:09:28 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:28 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:28 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:28 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:28 INFO opendrift:2202: 2026-04-15 20:38:00.373614 - step 62 of 96 - 2125 active elements (875 deactivated)
14:09:28 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:28 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:28 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:28 INFO opendrift:2202: 2026-04-15 21:08:00.373614 - step 63 of 96 - 2116 active elements (884 deactivated)
14:09:31 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.009264798 to -0.00025936813) found for ocean_vertical_diffusivity, replacing with NaN
14:09:31 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:31 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:31 INFO opendrift:2202: 2026-04-15 21:38:00.373614 - step 64 of 96 - 2112 active elements (888 deactivated)
14:09:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:31 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:31 INFO opendrift:2202: 2026-04-15 22:08:00.373614 - step 65 of 96 - 2109 active elements (891 deactivated)
14:09:33 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.011913885 to -0.00019660889) found for ocean_vertical_diffusivity, replacing with NaN
14:09:33 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:33 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:33 INFO opendrift:2202: 2026-04-15 22:38:00.373614 - step 66 of 96 - 2107 active elements (893 deactivated)
14:09:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:33 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:33 INFO opendrift:2202: 2026-04-15 23:08:00.373614 - step 67 of 96 - 2106 active elements (894 deactivated)
14:09:36 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.008033068 to -9.434036e-06) found for ocean_vertical_diffusivity, replacing with NaN
14:09:36 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:36 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:36 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:36 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:36 INFO opendrift:2202: 2026-04-15 23:38:00.373614 - step 68 of 96 - 2098 active elements (902 deactivated)
14:09:36 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:36 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:36 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:36 INFO opendrift:2202: 2026-04-16 00:08:00.373614 - step 69 of 96 - 2092 active elements (908 deactivated)
14:09:38 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.01207884 to -4.7026264e-05) found for ocean_vertical_diffusivity, replacing with NaN
14:09:38 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:38 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:38 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:38 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:38 INFO opendrift:2202: 2026-04-16 00:38:00.373614 - step 70 of 96 - 2084 active elements (916 deactivated)
14:09:38 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:38 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:38 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:38 INFO opendrift:2202: 2026-04-16 01:08:00.373614 - step 71 of 96 - 2076 active elements (924 deactivated)
14:09:40 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.011256928 to -1.5918242e-05) found for ocean_vertical_diffusivity, replacing with NaN
14:09:40 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:40 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:40 INFO opendrift:2202: 2026-04-16 01:38:00.373614 - step 72 of 96 - 2057 active elements (943 deactivated)
14:09:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:40 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:40 INFO opendrift:2202: 2026-04-16 02:08:00.373614 - step 73 of 96 - 2027 active elements (973 deactivated)
14:09:42 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.00047553406 to -1.8692459e-05) found for ocean_vertical_diffusivity, replacing with NaN
14:09:42 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:43 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:43 INFO opendrift:2202: 2026-04-16 02:38:00.373614 - step 74 of 96 - 1972 active elements (1028 deactivated)
14:09:43 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:43 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:43 INFO opendrift:2202: 2026-04-16 03:08:00.373614 - step 75 of 96 - 1920 active elements (1080 deactivated)
14:09:45 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0022120676 to -5.376293e-05) found for ocean_vertical_diffusivity, replacing with NaN
14:09:45 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:45 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:45 INFO opendrift:2202: 2026-04-16 03:38:00.373614 - step 76 of 96 - 1859 active elements (1141 deactivated)
14:09:45 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:45 INFO opendrift:2202: 2026-04-16 04:08:00.373614 - step 77 of 96 - 1777 active elements (1223 deactivated)
14:09:47 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.008824122 to -0.00037549288) found for ocean_vertical_diffusivity, replacing with NaN
14:09:47 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:47 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:47 INFO opendrift:2202: 2026-04-16 04:38:00.373614 - step 78 of 96 - 1724 active elements (1276 deactivated)
14:09:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:47 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:47 INFO opendrift:2202: 2026-04-16 05:08:00.373614 - step 79 of 96 - 1671 active elements (1329 deactivated)
14:09:50 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.040117174 to -0.0010416501) found for ocean_vertical_diffusivity, replacing with NaN
14:09:50 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:50 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:50 INFO opendrift:2202: 2026-04-16 05:38:00.373614 - step 80 of 96 - 1634 active elements (1366 deactivated)
14:09:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:50 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:50 INFO opendrift:2202: 2026-04-16 06:08:00.373614 - step 81 of 96 - 1609 active elements (1391 deactivated)
14:09:52 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.06259334 to -0.00059090427) found for ocean_vertical_diffusivity, replacing with NaN
14:09:52 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:52 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:52 INFO opendrift:2202: 2026-04-16 06:38:00.373614 - step 82 of 96 - 1597 active elements (1403 deactivated)
14:09:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:52 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:52 INFO opendrift:2202: 2026-04-16 07:08:00.373614 - step 83 of 96 - 1585 active elements (1415 deactivated)
14:09:54 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.038514003 to -0.00050703855) found for ocean_vertical_diffusivity, replacing with NaN
14:09:54 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:55 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:55 INFO opendrift:2202: 2026-04-16 07:38:00.373614 - step 84 of 96 - 1569 active elements (1431 deactivated)
14:09:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:55 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:55 INFO opendrift:2202: 2026-04-16 08:08:00.373614 - step 85 of 96 - 1557 active elements (1443 deactivated)
14:09:57 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.012722441 to -0.0005622293) found for ocean_vertical_diffusivity, replacing with NaN
14:09:57 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:57 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:57 INFO opendrift:2202: 2026-04-16 08:38:00.373614 - step 86 of 96 - 1542 active elements (1458 deactivated)
14:09:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:57 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:57 INFO opendrift:2202: 2026-04-16 09:08:00.373614 - step 87 of 96 - 1535 active elements (1465 deactivated)
14:09:59 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0060542272 to -0.00034639085) found for ocean_vertical_diffusivity, replacing with NaN
14:09:59 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:09:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:59 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:59 INFO opendrift:2202: 2026-04-16 09:38:00.373614 - step 88 of 96 - 1514 active elements (1486 deactivated)
14:09:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:09:59 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:09:59 INFO opendrift:2202: 2026-04-16 10:08:00.373614 - step 89 of 96 - 1500 active elements (1500 deactivated)
14:10:01 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.00829453 to -0.00030429382) found for ocean_vertical_diffusivity, replacing with NaN
14:10:01 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:10:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:10:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:10:02 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:10:02 INFO opendrift:2202: 2026-04-16 10:38:00.373614 - step 90 of 96 - 1486 active elements (1514 deactivated)
14:10:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:10:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:10:02 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:10:02 INFO opendrift:2202: 2026-04-16 11:08:00.373614 - step 91 of 96 - 1475 active elements (1525 deactivated)
14:10:04 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0068580066 to -0.00019239761) found for ocean_vertical_diffusivity, replacing with NaN
14:10:04 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:10:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:10:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:10:04 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:10:04 INFO opendrift:2202: 2026-04-16 11:38:00.373614 - step 92 of 96 - 1469 active elements (1531 deactivated)
14:10:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:10:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:10:04 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:10:04 INFO opendrift:2202: 2026-04-16 12:08:00.373614 - step 93 of 96 - 1467 active elements (1533 deactivated)
14:10:06 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.012615842 to -0.00014992968) found for ocean_vertical_diffusivity, replacing with NaN
14:10:06 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:10:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:10:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:10:06 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:10:07 INFO opendrift:2202: 2026-04-16 12:38:00.373614 - step 94 of 96 - 1463 active elements (1537 deactivated)
14:10:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:10:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:10:07 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:10:07 INFO opendrift:2202: 2026-04-16 13:08:00.373614 - step 95 of 96 - 1454 active elements (1546 deactivated)
14:10:09 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.019805545 to -7.4646596e-05) found for ocean_vertical_diffusivity, replacing with NaN
14:10:09 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
14:10:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:10:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:10:09 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
14:10:09 INFO opendrift:2202: 2026-04-16 13:38:00.373614 - step 96 of 96 - 1449 active elements (1551 deactivated)
14:10:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:10:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
14:10:09 INFO opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
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.6 total
0:00:00.0 preparing
0:00:01.6 reading
0:00:00.0 masking
--------------------
https://thredds.met.no/thredds/dodsC/fou-hi/barents_eps_zdepth_be
0:01:46.6 total
0:00:00.0 preparing
0:01:45.6 reading
0:00:01.4 interpolation
0:00:00.1 interpolation_time
0:00:00.9 rotating vectors
0:00:00.0 masking
--------------------
Performance:
2:09.2 total time
4.3 configuration
0.0 preparing main loop
0.0 moving elements to ocean
2:04.8 main loop
6.2 updating elements
0.0 oil weathering
0.0 updating viscosities
0.0 updating densities
5.7 vertical mixing
0.0 cleaning up
--------------------
===========================
Model: OpenOil (OpenDrift version 1.14.9)
1433 active Oil particles (1567 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-04-14 14:08:00.373614 UTC
Present: 2026-04-16 14:08:00.373614 UTC
Calculation steps: 96 * 0:30:00 - total time: 2 days, 0:00:00
Output steps: 49 * 1:00:00
===========================
14:10:19 INFO opendrift:4768: Saving animation to /root/project/docs/source/gallery/animations/example_oil_ice_0.gif...
14:10:56 INFO opendrift:3191: Time to make animation: 0:00:46.619812
o.plot(background='sea_ice_area_fraction', cmap=cmocean.cm.ice,
vmin=0, vmax=1, bgalpha=1, fast=False)

(<GeoAxes: title={'center': 'OpenDrift - OpenOil (GENERIC BUNKER C)\n2026-04-14 14:08 to 2026-04-16 14:08 UTC (49 steps)'}>, <Figure size 722.441x1100 with 2 Axes>)
Total running time of the script: (3 minutes 14.416 seconds)