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)
12:19:01 INFO    opendrift:568: OpenDriftSimulation initialised (version 1.14.9 / v1.14.9-47-gbdbbf88)

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))
12:19:01 INFO    opendrift.models.openoil.openoil:1720: Oil type not specified, using default: GENERIC BUNKER C
12:19:01 INFO    opendrift.models.openoil.adios.dirjs:86: Querying ADIOS database for oil: GENERIC BUNKER C
12:19:01 INFO    opendrift.models.openoil.openoil:1731: Using density 988.1 and viscosity 0.021692333877975332 of oiltype GENERIC BUNKER C
12:19:01 INFO    opendrift.models.basemodel.environment:203: Adding a global landmask from GSHHG
12:19:05 INFO    opendrift.models.basemodel.environment:227: Fallback values will be used for the following variables which have no readers:
12:19:05 INFO    opendrift.models.basemodel.environment:230:    sea_surface_height: 0.000000
12:19:05 INFO    opendrift.models.basemodel.environment:230:    upward_sea_water_velocity: 0.000000
12:19:05 INFO    opendrift.models.basemodel.environment:230:    sea_surface_wave_significant_height: 0.000000
12:19:05 INFO    opendrift.models.basemodel.environment:230:    sea_surface_wave_stokes_drift_x_velocity: 0.000000
12:19:05 INFO    opendrift.models.basemodel.environment:230:    sea_surface_wave_stokes_drift_y_velocity: 0.000000
12:19:05 INFO    opendrift.models.basemodel.environment:230:    sea_surface_wave_period_at_variance_spectral_density_maximum: 0.000000
12:19:05 INFO    opendrift.models.basemodel.environment:230:    sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment: 0.000000
12:19:05 INFO    opendrift.models.basemodel.environment:230:    sea_ice_area_fraction: 0.000000
12:19:05 INFO    opendrift.models.basemodel.environment:230:    sea_ice_x_velocity: 0.000000
12:19:05 INFO    opendrift.models.basemodel.environment:230:    sea_ice_y_velocity: 0.000000
12:19:05 INFO    opendrift.models.basemodel.environment:230:    sea_water_temperature: 10.000000
12:19:05 INFO    opendrift.models.basemodel.environment:230:    sea_water_salinity: 34.000000
12:19:05 INFO    opendrift.models.basemodel.environment:230:    sea_floor_depth_below_sea_level: 10000.000000
12:19:05 INFO    opendrift.models.basemodel.environment:230:    ocean_vertical_diffusivity: 0.020000
12:19:05 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)
12:19:05 INFO    opendrift:1894: Skipping environment variable upward_sea_water_velocity because of condition ['drift:vertical_advection', 'is', False]
12:19:05 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']))
12:19:05 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']))
12:19:05 INFO    opendrift:947: Using existing reader for land_binary_mask to move elements to ocean
12:19:05 INFO    opendrift:978: All points are in ocean
12:19:05 INFO    opendrift.models.openoil.openoil:697: Oil-water surface tension is 0.035935 Nm
12:19:05 INFO    opendrift.models.openoil.openoil:710: Max water fraction not available for GENERIC BUNKER C, using default
12:19:05 INFO    opendrift:2202: 2026-05-04 12:19:01.256955 - step 1 of 96 - 3000 active elements (0 deactivated)
12:19:05 INFO    opendrift.readers:67: Opening file with xr.open_dataset
12:19:36 INFO    opendrift.readers.reader_netCDF_CF_generic:340: Detected dimensions: {'x': 'X', 'y': 'Y', 'z': 'depth', 'time': 'time'}
12:19:36 INFO    opendrift.readers.basereader:178: Variable x_sea_water_velocity will be rotated from eastward_sea_water_velocity
12:19:36 INFO    opendrift.readers.basereader:178: Variable y_sea_water_velocity will be rotated from northward_sea_water_velocity
12:19:38 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.02289167 to -0.003509357) found for ocean_vertical_diffusivity, replacing with NaN
12:19:38 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:19:40 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.021882715 to -0.0034000818) found for ocean_vertical_diffusivity, replacing with NaN
12:19:40 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:19:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:40 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:19:40 INFO    opendrift:2202: 2026-05-04 12:49:01.256955 - step 2 of 96 - 3000 active elements (0 deactivated)
12:19:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:41 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:19:41 INFO    opendrift:2202: 2026-05-04 13:19:01.256955 - step 3 of 96 - 3000 active elements (0 deactivated)
12:19:43 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.01122435 to -0.0024574017) found for ocean_vertical_diffusivity, replacing with NaN
12:19:43 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:19:43 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:43 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:43 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:19:43 INFO    opendrift:2202: 2026-05-04 13:49:01.256955 - step 4 of 96 - 3000 active elements (0 deactivated)
12:19:43 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:43 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:43 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:19:43 INFO    opendrift:2202: 2026-05-04 14:19:01.256955 - step 5 of 96 - 3000 active elements (0 deactivated)
12:19:45 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.015892169 to -0.001385646) found for ocean_vertical_diffusivity, replacing with NaN
12:19:45 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:19:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:45 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:19:45 INFO    opendrift:2202: 2026-05-04 14:49:01.256955 - step 6 of 96 - 3000 active elements (0 deactivated)
12:19:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:45 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:19:45 INFO    opendrift:2202: 2026-05-04 15:19:01.256955 - step 7 of 96 - 3000 active elements (0 deactivated)
12:19:47 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.012879255 to -0.0007059179) found for ocean_vertical_diffusivity, replacing with NaN
12:19:47 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:19:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:48 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:19:48 INFO    opendrift:2202: 2026-05-04 15:49:01.256955 - step 8 of 96 - 3000 active elements (0 deactivated)
12:19:48 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:48 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:48 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:19:48 INFO    opendrift:2202: 2026-05-04 16:19:01.256955 - step 9 of 96 - 3000 active elements (0 deactivated)
12:19:50 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.0052799745 to -0.0002845168) found for ocean_vertical_diffusivity, replacing with NaN
12:19:50 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:19:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:50 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:19:50 INFO    opendrift:2202: 2026-05-04 16:49:01.256955 - step 10 of 96 - 3000 active elements (0 deactivated)
12:19:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:50 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:19:50 INFO    opendrift:2202: 2026-05-04 17:19:01.256955 - step 11 of 96 - 3000 active elements (0 deactivated)
12:19:52 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.0029303643 to -0.0009115782) found for ocean_vertical_diffusivity, replacing with NaN
12:19:52 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:19:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:52 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:19:52 INFO    opendrift:2202: 2026-05-04 17:49:01.256955 - step 12 of 96 - 3000 active elements (0 deactivated)
12:19:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:52 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:19:52 INFO    opendrift:2202: 2026-05-04 18:19:01.256955 - step 13 of 96 - 3000 active elements (0 deactivated)
12:19:55 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.015611651 to -0.0028980765) found for ocean_vertical_diffusivity, replacing with NaN
12:19:55 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:19:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:55 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:19:55 INFO    opendrift:2202: 2026-05-04 18:49:01.256955 - step 14 of 96 - 3000 active elements (0 deactivated)
12:19:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:55 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:19:55 INFO    opendrift:2202: 2026-05-04 19:19:01.256955 - step 15 of 96 - 3000 active elements (0 deactivated)
12:19:57 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.02964854 to -0.005839614) found for ocean_vertical_diffusivity, replacing with NaN
12:19:57 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:19:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:57 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:19:57 INFO    opendrift:2202: 2026-05-04 19:49:01.256955 - step 16 of 96 - 3000 active elements (0 deactivated)
12:19:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:57 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:19:57 INFO    opendrift:2202: 2026-05-04 20:19:01.256955 - step 17 of 96 - 3000 active elements (0 deactivated)
12:19:59 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.024269434 to -0.0060984953) found for ocean_vertical_diffusivity, replacing with NaN
12:19:59 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:19:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:19:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:00 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:00 INFO    opendrift:2202: 2026-05-04 20:49:01.256955 - step 18 of 96 - 3000 active elements (0 deactivated)
12:20:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:00 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:00 INFO    opendrift:2202: 2026-05-04 21:19:01.256955 - step 19 of 96 - 3000 active elements (0 deactivated)
12:20:02 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.01619165 to -0.0042354898) found for ocean_vertical_diffusivity, replacing with NaN
12:20:02 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:02 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:02 INFO    opendrift:2202: 2026-05-04 21:49:01.256955 - step 20 of 96 - 3000 active elements (0 deactivated)
12:20:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:02 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:02 INFO    opendrift:2202: 2026-05-04 22:19:01.256955 - step 21 of 96 - 3000 active elements (0 deactivated)
12:20:04 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.013197118 to -0.0037661348) found for ocean_vertical_diffusivity, replacing with NaN
12:20:04 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:05 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:05 INFO    opendrift:2202: 2026-05-04 22:49:01.256955 - step 22 of 96 - 3000 active elements (0 deactivated)
12:20:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:05 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:05 INFO    opendrift:2202: 2026-05-04 23:19:01.256955 - step 23 of 96 - 3000 active elements (0 deactivated)
12:20:07 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.015208747 to -0.0045603206) found for ocean_vertical_diffusivity, replacing with NaN
12:20:07 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:07 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:07 INFO    opendrift:2202: 2026-05-04 23:49:01.256955 - step 24 of 96 - 3000 active elements (0 deactivated)
12:20:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:07 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:07 INFO    opendrift:2202: 2026-05-05 00:19:01.256955 - step 25 of 96 - 3000 active elements (0 deactivated)
12:20:09 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.014961853 to -0.0052748746) found for ocean_vertical_diffusivity, replacing with NaN
12:20:09 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:09 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:09 INFO    opendrift:2202: 2026-05-05 00:49:01.256955 - step 26 of 96 - 3000 active elements (0 deactivated)
12:20:10 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:10 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:10 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:10 INFO    opendrift:2202: 2026-05-05 01:19:01.256955 - step 27 of 96 - 3000 active elements (0 deactivated)
12:20:12 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.014503708 to -0.0026959642) found for ocean_vertical_diffusivity, replacing with NaN
12:20:12 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:12 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:12 INFO    opendrift:2202: 2026-05-05 01:49:01.256955 - step 28 of 96 - 3000 active elements (0 deactivated)
12:20:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:12 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:12 INFO    opendrift:2202: 2026-05-05 02:19:01.256955 - step 29 of 96 - 3000 active elements (0 deactivated)
12:20:14 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.020074055 to -0.0015488674) found for ocean_vertical_diffusivity, replacing with NaN
12:20:14 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:14 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:14 INFO    opendrift:2202: 2026-05-05 02:49:01.256955 - step 30 of 96 - 3000 active elements (0 deactivated)
12:20:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:14 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:14 INFO    opendrift:2202: 2026-05-05 03:19:01.256955 - step 31 of 96 - 3000 active elements (0 deactivated)
12:20:18 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.014590813 to -0.0011665305) found for ocean_vertical_diffusivity, replacing with NaN
12:20:18 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:18 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:18 INFO    opendrift:2202: 2026-05-05 03:49:01.256955 - step 32 of 96 - 3000 active elements (0 deactivated)
12:20:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:18 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:18 INFO    opendrift:2202: 2026-05-05 04:19:01.256955 - step 33 of 96 - 3000 active elements (0 deactivated)
12:20:20 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.005310523 to -8.061397e-05) found for ocean_vertical_diffusivity, replacing with NaN
12:20:20 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:20 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:20 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:20 INFO    opendrift:2202: 2026-05-05 04:49:01.256955 - step 34 of 96 - 3000 active elements (0 deactivated)
12:20:20 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:20 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:20 INFO    opendrift:2202: 2026-05-05 05:19:01.256955 - step 35 of 96 - 3000 active elements (0 deactivated)
12:20:22 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.0050000073 to -0.00016864328) found for ocean_vertical_diffusivity, replacing with NaN
12:20:22 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:22 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:22 INFO    opendrift:2202: 2026-05-05 05:49:01.256955 - step 36 of 96 - 3000 active elements (0 deactivated)
12:20:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:23 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:23 INFO    opendrift:2202: 2026-05-05 06:19:01.256955 - step 37 of 96 - 3000 active elements (0 deactivated)
12:20:25 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.012207146 to -0.0014338156) found for ocean_vertical_diffusivity, replacing with NaN
12:20:25 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:25 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:25 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:25 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:25 INFO    opendrift:2202: 2026-05-05 06:49:01.256955 - step 38 of 96 - 3000 active elements (0 deactivated)
12:20:25 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:25 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:25 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:25 INFO    opendrift:2202: 2026-05-05 07:19:01.256955 - step 39 of 96 - 3000 active elements (0 deactivated)
12:20:27 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.032922637 to -0.0038740572) found for ocean_vertical_diffusivity, replacing with NaN
12:20:27 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:27 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:27 INFO    opendrift:2202: 2026-05-05 07:49:01.256955 - step 40 of 96 - 3000 active elements (0 deactivated)
12:20:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:27 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:27 INFO    opendrift:2202: 2026-05-05 08:19:01.256955 - step 41 of 96 - 3000 active elements (0 deactivated)
12:20:29 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.031061925 to -0.0035455215) found for ocean_vertical_diffusivity, replacing with NaN
12:20:29 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:30 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:30 INFO    opendrift:2202: 2026-05-05 08:49:01.256955 - step 42 of 96 - 3000 active elements (0 deactivated)
12:20:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:30 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:30 INFO    opendrift:2202: 2026-05-05 09:19:01.256955 - step 43 of 96 - 3000 active elements (0 deactivated)
12:20:32 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.022049239 to -0.001059894) found for ocean_vertical_diffusivity, replacing with NaN
12:20:32 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:32 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:32 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:32 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:32 INFO    opendrift:2202: 2026-05-05 09:49:01.256955 - step 44 of 96 - 3000 active elements (0 deactivated)
12:20:32 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:32 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:32 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:32 INFO    opendrift:2202: 2026-05-05 10:19:01.256955 - step 45 of 96 - 3000 active elements (0 deactivated)
12:20:34 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.01895602 to -0.0014306976) found for ocean_vertical_diffusivity, replacing with NaN
12:20:34 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:34 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:34 INFO    opendrift:2202: 2026-05-05 10:49:01.256955 - step 46 of 96 - 3000 active elements (0 deactivated)
12:20:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:34 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:34 INFO    opendrift:2202: 2026-05-05 11:19:01.256955 - step 47 of 96 - 3000 active elements (0 deactivated)
12:20:38 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.016856277 to -0.0022834535) found for ocean_vertical_diffusivity, replacing with NaN
12:20:38 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:38 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:38 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:38 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:38 INFO    opendrift:2202: 2026-05-05 11:49:01.256955 - step 48 of 96 - 3000 active elements (0 deactivated)
12:20:38 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:38 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:39 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:39 INFO    opendrift:2202: 2026-05-05 12:19:01.256955 - step 49 of 96 - 3000 active elements (0 deactivated)
12:20:41 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.020685965 to -0.0039060165) found for ocean_vertical_diffusivity, replacing with NaN
12:20:41 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:42 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:42 INFO    opendrift:2202: 2026-05-05 12:49:01.256955 - step 50 of 96 - 2999 active elements (1 deactivated)
12:20:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:42 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:42 INFO    opendrift:2202: 2026-05-05 13:19:01.256955 - step 51 of 96 - 2999 active elements (1 deactivated)
12:20:45 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.017276295 to -0.0033495142) found for ocean_vertical_diffusivity, replacing with NaN
12:20:45 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:45 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:45 INFO    opendrift:2202: 2026-05-05 13:49:01.256955 - step 52 of 96 - 2999 active elements (1 deactivated)
12:20:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:45 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:45 INFO    opendrift:2202: 2026-05-05 14:19:01.256955 - step 53 of 96 - 2999 active elements (1 deactivated)
12:20:47 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.013180825 to -0.0018262891) found for ocean_vertical_diffusivity, replacing with NaN
12:20:47 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:47 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:47 INFO    opendrift:2202: 2026-05-05 14:49:01.256955 - step 54 of 96 - 2997 active elements (3 deactivated)
12:20:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:47 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:47 INFO    opendrift:2202: 2026-05-05 15:19:01.256955 - step 55 of 96 - 2997 active elements (3 deactivated)
12:20:49 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.01586648 to -0.0017114929) found for ocean_vertical_diffusivity, replacing with NaN
12:20:49 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:49 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:49 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:50 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:50 INFO    opendrift:2202: 2026-05-05 15:49:01.256955 - step 56 of 96 - 2996 active elements (4 deactivated)
12:20:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:50 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:50 INFO    opendrift:2202: 2026-05-05 16:19:01.256955 - step 57 of 96 - 2994 active elements (6 deactivated)
12:20:52 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.0072623095 to -0.00071753445) found for ocean_vertical_diffusivity, replacing with NaN
12:20:52 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:52 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:52 INFO    opendrift:2202: 2026-05-05 16:49:01.256955 - step 58 of 96 - 2990 active elements (10 deactivated)
12:20:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:52 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:52 INFO    opendrift:2202: 2026-05-05 17:19:01.256955 - step 59 of 96 - 2988 active elements (12 deactivated)
12:20:54 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.005538695 to -0.0006557072) found for ocean_vertical_diffusivity, replacing with NaN
12:20:54 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:54 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:54 INFO    opendrift:2202: 2026-05-05 17:49:01.256955 - step 60 of 96 - 2986 active elements (14 deactivated)
12:20:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:55 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:55 INFO    opendrift:2202: 2026-05-05 18:19:01.256955 - step 61 of 96 - 2985 active elements (15 deactivated)
12:20:57 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.0109315105 to -0.0015634551) found for ocean_vertical_diffusivity, replacing with NaN
12:20:57 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:57 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:57 INFO    opendrift:2202: 2026-05-05 18:49:01.256955 - step 62 of 96 - 2982 active elements (18 deactivated)
12:20:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:57 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:20:57 INFO    opendrift:2202: 2026-05-05 19:19:01.256955 - step 63 of 96 - 2979 active elements (21 deactivated)
12:20:59 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.028745815 to -0.004315992) found for ocean_vertical_diffusivity, replacing with NaN
12:20:59 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:20:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:20:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:00 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:00 INFO    opendrift:2202: 2026-05-05 19:49:01.256955 - step 64 of 96 - 2976 active elements (24 deactivated)
12:21:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:00 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:00 INFO    opendrift:2202: 2026-05-05 20:19:01.256955 - step 65 of 96 - 2972 active elements (28 deactivated)
12:21:02 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.030130222 to -0.005320375) found for ocean_vertical_diffusivity, replacing with NaN
12:21:02 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:21:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:02 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:02 INFO    opendrift:2202: 2026-05-05 20:49:01.256955 - step 66 of 96 - 2963 active elements (37 deactivated)
12:21:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:02 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:02 INFO    opendrift:2202: 2026-05-05 21:19:01.256955 - step 67 of 96 - 2959 active elements (41 deactivated)
12:21:04 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.017394489 to -0.0026395442) found for ocean_vertical_diffusivity, replacing with NaN
12:21:04 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:21:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:04 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:04 INFO    opendrift:2202: 2026-05-05 21:49:01.256955 - step 68 of 96 - 2957 active elements (43 deactivated)
12:21:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:05 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:05 INFO    opendrift:2202: 2026-05-05 22:19:01.256955 - step 69 of 96 - 2954 active elements (46 deactivated)
12:21:07 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.015562596 to -0.0014327399) found for ocean_vertical_diffusivity, replacing with NaN
12:21:07 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:21:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:07 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:07 INFO    opendrift:2202: 2026-05-05 22:49:01.256955 - step 70 of 96 - 2948 active elements (52 deactivated)
12:21:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:07 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:07 INFO    opendrift:2202: 2026-05-05 23:19:01.256955 - step 71 of 96 - 2943 active elements (57 deactivated)
12:21:09 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.013136242 to -0.001549727) found for ocean_vertical_diffusivity, replacing with NaN
12:21:09 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:21:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:09 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:09 INFO    opendrift:2202: 2026-05-05 23:49:01.256955 - step 72 of 96 - 2941 active elements (59 deactivated)
12:21:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:09 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:09 INFO    opendrift:2202: 2026-05-06 00:19:01.256955 - step 73 of 96 - 2940 active elements (60 deactivated)
12:21:11 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.0152382655 to -0.0025873221) found for ocean_vertical_diffusivity, replacing with NaN
12:21:11 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:21:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:12 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:12 INFO    opendrift:2202: 2026-05-06 00:49:01.256955 - step 74 of 96 - 2937 active elements (63 deactivated)
12:21:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:12 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:12 INFO    opendrift:2202: 2026-05-06 01:19:01.256955 - step 75 of 96 - 2932 active elements (68 deactivated)
12:21:14 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.014477154 to -0.003940332) found for ocean_vertical_diffusivity, replacing with NaN
12:21:14 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:21:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:14 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:14 INFO    opendrift:2202: 2026-05-06 01:49:01.256955 - step 76 of 96 - 2927 active elements (73 deactivated)
12:21:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:14 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:14 INFO    opendrift:2202: 2026-05-06 02:19:01.256955 - step 77 of 96 - 2920 active elements (80 deactivated)
12:21:16 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.0113596 to -0.0018011817) found for ocean_vertical_diffusivity, replacing with NaN
12:21:16 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:21:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:16 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:16 INFO    opendrift:2202: 2026-05-06 02:49:01.256955 - step 78 of 96 - 2915 active elements (85 deactivated)
12:21:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:17 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:17 INFO    opendrift:2202: 2026-05-06 03:19:01.256955 - step 79 of 96 - 2911 active elements (89 deactivated)
12:21:19 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.018706355 to -0.001920996) found for ocean_vertical_diffusivity, replacing with NaN
12:21:19 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:21:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:19 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:19 INFO    opendrift:2202: 2026-05-06 03:49:01.256955 - step 80 of 96 - 2904 active elements (96 deactivated)
12:21:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:19 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:19 INFO    opendrift:2202: 2026-05-06 04:19:01.256955 - step 81 of 96 - 2901 active elements (99 deactivated)
12:21:22 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.008149827 to -0.0007622535) found for ocean_vertical_diffusivity, replacing with NaN
12:21:22 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:21:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:22 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:22 INFO    opendrift:2202: 2026-05-06 04:49:01.256955 - step 82 of 96 - 2897 active elements (103 deactivated)
12:21:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:22 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:22 INFO    opendrift:2202: 2026-05-06 05:19:01.256955 - step 83 of 96 - 2890 active elements (110 deactivated)
12:21:24 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.003402588 to -5.353879e-05) found for ocean_vertical_diffusivity, replacing with NaN
12:21:24 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:21:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:24 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:24 INFO    opendrift:2202: 2026-05-06 05:49:01.256955 - step 84 of 96 - 2883 active elements (117 deactivated)
12:21:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:24 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:24 INFO    opendrift:2202: 2026-05-06 06:19:01.256955 - step 85 of 96 - 2881 active elements (119 deactivated)
12:21:26 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.0063029714 to -0.0013679545) found for ocean_vertical_diffusivity, replacing with NaN
12:21:26 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:21:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:27 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:27 INFO    opendrift:2202: 2026-05-06 06:49:01.256955 - step 86 of 96 - 2879 active elements (121 deactivated)
12:21:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:27 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:27 INFO    opendrift:2202: 2026-05-06 07:19:01.256955 - step 87 of 96 - 2874 active elements (126 deactivated)
12:21:29 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.023543395 to -0.00344793) found for ocean_vertical_diffusivity, replacing with NaN
12:21:29 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:21:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:29 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:29 INFO    opendrift:2202: 2026-05-06 07:49:01.256955 - step 88 of 96 - 2866 active elements (134 deactivated)
12:21:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:30 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:30 INFO    opendrift:2202: 2026-05-06 08:19:01.256955 - step 89 of 96 - 2858 active elements (142 deactivated)
12:21:32 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.035833664 to -0.005052198) found for ocean_vertical_diffusivity, replacing with NaN
12:21:32 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:21:32 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:32 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:32 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:32 INFO    opendrift:2202: 2026-05-06 08:49:01.256955 - step 90 of 96 - 2853 active elements (147 deactivated)
12:21:32 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:32 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:32 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:32 INFO    opendrift:2202: 2026-05-06 09:19:01.256955 - step 91 of 96 - 2846 active elements (154 deactivated)
12:21:34 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.02332816 to -0.0034422409) found for ocean_vertical_diffusivity, replacing with NaN
12:21:34 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:21:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:34 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:34 INFO    opendrift:2202: 2026-05-06 09:49:01.256955 - step 92 of 96 - 2841 active elements (159 deactivated)
12:21:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:35 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:35 INFO    opendrift:2202: 2026-05-06 10:19:01.256955 - step 93 of 96 - 2838 active elements (162 deactivated)
12:21:37 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.011179577 to -0.0026536076) found for ocean_vertical_diffusivity, replacing with NaN
12:21:37 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:21:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:37 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:37 INFO    opendrift:2202: 2026-05-06 10:49:01.256955 - step 94 of 96 - 2836 active elements (164 deactivated)
12:21:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:37 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:37 INFO    opendrift:2202: 2026-05-06 11:19:01.256955 - step 95 of 96 - 2830 active elements (170 deactivated)
12:21:39 WARNING opendrift.readers.basereader.variables:657: Invalid values (-0.009644279 to -0.001967327) found for ocean_vertical_diffusivity, replacing with NaN
12:21:39 WARNING opendrift.readers.basereader.variables:660: (allowed range: [0, 1])
12:21:39 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:39 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:39 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
12:21:39 INFO    opendrift:2202: 2026-05-06 11:49:01.256955 - step 96 of 96 - 2826 active elements (174 deactivated)
12:21:39 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:39 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
12:21:39 INFO    opendrift.models.openoil.openoil:1193: Ice concentration above 30%, using Nordam scheme for advection in ice
<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.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:47.8  total
 0:00:00.0  preparing
 0:01:46.7  reading
 0:00:01.8  interpolation
 0:00:00.1  interpolation_time
 0:00:01.1  rotating vectors
 0:00:00.0  masking
--------------------
Performance:
 2:38.6 total time
    4.3 configuration
    0.0 preparing main loop
      0.0 moving elements to ocean
 2:34.1 main loop
      7.3 updating elements
        0.0 oil weathering
          0.0 updating viscosities
          0.0 updating densities
        6.7 vertical mixing
    0.0 cleaning up
--------------------
===========================
Model:  OpenOil     (OpenDrift version 1.14.9)
        2819 active Oil particles  (181 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-05-04 12:19:01.256955 UTC
        Present: 2026-05-06 12:19:01.256955 UTC
        Calculation steps: 96 * 0:30:00 - total time: 2 days, 0:00:00
        Output steps: 49 * 1:00:00
===========================

12:21:49 INFO    opendrift:4768: Saving animation to /root/project/docs/source/gallery/animations/example_oil_ice_0.gif...
12:22:33 INFO    opendrift:3191: Time to make animation: 0:00:54.023032
../_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-05-04 12:19 to 2026-05-06 12:19 UTC (49 steps)
(<GeoAxes: title={'center': 'OpenDrift - OpenOil (GENERIC BUNKER C)\n2026-05-04 12:19 to 2026-05-06 12:19 UTC (49 steps)'}>, <Figure size 723.988x1100 with 2 Axes>)

Total running time of the script: (3 minutes 53.043 seconds)

Gallery generated by Sphinx-Gallery