Oil in ice

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

o = OpenOil(loglevel=20)
13:50:43 INFO    opendrift:576: OpenDriftSimulation initialised (version 1.14.7 / v1.14.7-15-g2988cd4)

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('drift:horizontal_diffusivity', 10)
o.set_config('drift:truncate_ocean_model_below_m', 3)

Imaginary oil spill in Hinlopen strait

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

Running model

o.run(duration=timedelta(hours=48), time_step=1800, time_step_output=3600)
13:50:48 INFO    opendrift:1803: Skipping environment variable upward_sea_water_velocity because of condition ['drift:vertical_advection', 'is', False]
13:50:48 INFO    opendrift:1814: Storing previous values of element property lon because of condition (('general:coastline_action', 'in', ['stranding', 'previous']), 'or', ('general:seafloor_action', 'in', ['previous']))
13:50:48 INFO    opendrift:1814: Storing previous values of element property lat because of condition (('general:coastline_action', 'in', ['stranding', 'previous']), 'or', ('general:seafloor_action', 'in', ['previous']))
13:50:48 INFO    opendrift:952: Using existing reader for land_binary_mask to move elements to ocean
13:50:48 INFO    opendrift:982: All points are in ocean
13:50:48 INFO    opendrift.models.openoil.openoil:692: Oil-water surface tension is 0.035935 Nm
13:50:48 INFO    opendrift.models.openoil.openoil:705: Max water fraction not available for GENERIC BUNKER C, using default
13:50:48 INFO    opendrift:2111: 2025-12-09 13:50:43.939787 - step 1 of 96 - 3000 active elements (0 deactivated)
13:50:48 INFO    opendrift.readers:63: Opening file with xr.open_dataset
13:50:51 INFO    opendrift.readers.reader_netCDF_CF_generic:332: Detected dimensions: {'x': 'X', 'y': 'Y', 'z': 'depth', 'time': 'time'}
13:50:51 INFO    opendrift.readers.basereader:176: Variable x_sea_water_velocity will be rotated from eastward_sea_water_velocity
13:50:51 INFO    opendrift.readers.basereader:176: Variable y_sea_water_velocity will be rotated from northward_sea_water_velocity
13:50:55 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.010476603 to -0.0023701536) found for ocean_vertical_diffusivity, replacing with NaN
13:50:55 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:50:57 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.009612147 to -0.002447895) found for ocean_vertical_diffusivity, replacing with NaN
13:50:57 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:50:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:50:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:50:57 INFO    opendrift:2111: 2025-12-09 14:20:43.939787 - step 2 of 96 - 3000 active elements (0 deactivated)
13:51:00 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.008075659 to -0.0018657603) found for ocean_vertical_diffusivity, replacing with NaN
13:51:00 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:00 INFO    opendrift:2111: 2025-12-09 14:50:43.939787 - step 3 of 96 - 3000 active elements (0 deactivated)
13:51:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:00 INFO    opendrift:2111: 2025-12-09 15:20:43.939787 - step 4 of 96 - 3000 active elements (0 deactivated)
13:51:02 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.005026889 to -0.0012187747) found for ocean_vertical_diffusivity, replacing with NaN
13:51:02 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:02 INFO    opendrift:2111: 2025-12-09 15:50:43.939787 - step 5 of 96 - 3000 active elements (0 deactivated)
13:51:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:03 INFO    opendrift:2111: 2025-12-09 16:20:43.939787 - step 6 of 96 - 3000 active elements (0 deactivated)
13:51:07 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.002544912 to -0.00047396286) found for ocean_vertical_diffusivity, replacing with NaN
13:51:07 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:09 INFO    opendrift:2111: 2025-12-09 16:50:43.939787 - step 7 of 96 - 2999 active elements (1 deactivated)
13:51:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:09 INFO    opendrift:2111: 2025-12-09 17:20:43.939787 - step 8 of 96 - 2967 active elements (33 deactivated)
13:51:11 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0013180607 to -0.00021271949) found for ocean_vertical_diffusivity, replacing with NaN
13:51:11 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:11 INFO    opendrift:2111: 2025-12-09 17:50:43.939787 - step 9 of 96 - 2696 active elements (304 deactivated)
13:51:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:12 INFO    opendrift:2111: 2025-12-09 18:20:43.939787 - step 10 of 96 - 2205 active elements (795 deactivated)
13:51:14 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0019980574 to -0.0004811797) found for ocean_vertical_diffusivity, replacing with NaN
13:51:14 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:14 INFO    opendrift:2111: 2025-12-09 18:50:43.939787 - step 11 of 96 - 1817 active elements (1183 deactivated)
13:51:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:15 INFO    opendrift:2111: 2025-12-09 19:20:43.939787 - step 12 of 96 - 1643 active elements (1357 deactivated)
13:51:17 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0042834417 to -0.0011818648) found for ocean_vertical_diffusivity, replacing with NaN
13:51:17 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:17 INFO    opendrift:2111: 2025-12-09 19:50:43.939787 - step 13 of 96 - 1589 active elements (1411 deactivated)
13:51:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:17 INFO    opendrift:2111: 2025-12-09 20:20:43.939787 - step 14 of 96 - 1565 active elements (1435 deactivated)
13:51:21 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0070529 to -0.0012001814) found for ocean_vertical_diffusivity, replacing with NaN
13:51:21 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:21 INFO    opendrift:2111: 2025-12-09 20:50:43.939787 - step 15 of 96 - 1561 active elements (1439 deactivated)
13:51:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:21 INFO    opendrift:2111: 2025-12-09 21:20:43.939787 - step 16 of 96 - 1559 active elements (1441 deactivated)
13:51:23 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.009614366 to -0.0014920095) found for ocean_vertical_diffusivity, replacing with NaN
13:51:23 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:23 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:23 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:23 INFO    opendrift:2111: 2025-12-09 21:50:43.939787 - step 17 of 96 - 1558 active elements (1442 deactivated)
13:51:23 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:23 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:23 INFO    opendrift:2111: 2025-12-09 22:20:43.939787 - step 18 of 96 - 1558 active elements (1442 deactivated)
13:51:26 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.010822952 to -0.0019242986) found for ocean_vertical_diffusivity, replacing with NaN
13:51:26 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:26 INFO    opendrift:2111: 2025-12-09 22:50:43.939787 - step 19 of 96 - 1558 active elements (1442 deactivated)
13:51:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:26 INFO    opendrift:2111: 2025-12-09 23:20:43.939787 - step 20 of 96 - 1558 active elements (1442 deactivated)
13:51:29 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.011456842 to -0.0025908295) found for ocean_vertical_diffusivity, replacing with NaN
13:51:29 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:29 INFO    opendrift:2111: 2025-12-09 23:50:43.939787 - step 21 of 96 - 1557 active elements (1443 deactivated)
13:51:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:29 INFO    opendrift:2111: 2025-12-10 00:20:43.939787 - step 22 of 96 - 1557 active elements (1443 deactivated)
13:51:31 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0139277885 to -0.0025465752) found for ocean_vertical_diffusivity, replacing with NaN
13:51:31 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:31 INFO    opendrift:2111: 2025-12-10 00:50:43.939787 - step 23 of 96 - 1557 active elements (1443 deactivated)
13:51:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:32 INFO    opendrift:2111: 2025-12-10 01:20:43.939787 - step 24 of 96 - 1557 active elements (1443 deactivated)
13:51:34 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.01478635 to -0.0022433798) found for ocean_vertical_diffusivity, replacing with NaN
13:51:34 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:34 INFO    opendrift:2111: 2025-12-10 01:50:43.939787 - step 25 of 96 - 1557 active elements (1443 deactivated)
13:51:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:34 INFO    opendrift:2111: 2025-12-10 02:20:43.939787 - step 26 of 96 - 1557 active elements (1443 deactivated)
13:51:36 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.013612992 to -0.0021732396) found for ocean_vertical_diffusivity, replacing with NaN
13:51:36 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:36 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:36 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:36 INFO    opendrift:2111: 2025-12-10 02:50:43.939787 - step 27 of 96 - 1557 active elements (1443 deactivated)
13:51:36 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:36 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:37 INFO    opendrift:2111: 2025-12-10 03:20:43.939787 - step 28 of 96 - 1557 active elements (1443 deactivated)
13:51:39 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0102647245 to -0.0018974994) found for ocean_vertical_diffusivity, replacing with NaN
13:51:39 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:39 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:39 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:39 INFO    opendrift:2111: 2025-12-10 03:50:43.939787 - step 29 of 96 - 1557 active elements (1443 deactivated)
13:51:39 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:39 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:39 INFO    opendrift:2111: 2025-12-10 04:20:43.939787 - step 30 of 96 - 1557 active elements (1443 deactivated)
13:51:42 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.007059658 to -0.00095628493) found for ocean_vertical_diffusivity, replacing with NaN
13:51:42 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:42 INFO    opendrift:2111: 2025-12-10 04:50:43.939787 - step 31 of 96 - 1557 active elements (1443 deactivated)
13:51:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:42 INFO    opendrift:2111: 2025-12-10 05:20:43.939787 - step 32 of 96 - 1557 active elements (1443 deactivated)
13:51:44 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0046234033 to -0.00060337887) found for ocean_vertical_diffusivity, replacing with NaN
13:51:44 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:44 INFO    opendrift:2111: 2025-12-10 05:50:43.939787 - step 33 of 96 - 1557 active elements (1443 deactivated)
13:51:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:45 INFO    opendrift:2111: 2025-12-10 06:20:43.939787 - step 34 of 96 - 1557 active elements (1443 deactivated)
13:51:47 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.005421038 to -0.00094032835) found for ocean_vertical_diffusivity, replacing with NaN
13:51:47 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:47 INFO    opendrift:2111: 2025-12-10 06:50:43.939787 - step 35 of 96 - 1557 active elements (1443 deactivated)
13:51:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:47 INFO    opendrift:2111: 2025-12-10 07:20:43.939787 - step 36 of 96 - 1557 active elements (1443 deactivated)
13:51:50 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.00680867 to -0.0008816579) found for ocean_vertical_diffusivity, replacing with NaN
13:51:50 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:50 INFO    opendrift:2111: 2025-12-10 07:50:43.939787 - step 37 of 96 - 1557 active elements (1443 deactivated)
13:51:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:50 INFO    opendrift:2111: 2025-12-10 08:20:43.939787 - step 38 of 96 - 1557 active elements (1443 deactivated)
13:51:53 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0092988545 to -0.0018833883) found for ocean_vertical_diffusivity, replacing with NaN
13:51:53 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:53 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:53 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:53 INFO    opendrift:2111: 2025-12-10 08:50:43.939787 - step 39 of 96 - 1557 active elements (1443 deactivated)
13:51:53 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:53 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:53 INFO    opendrift:2111: 2025-12-10 09:20:43.939787 - step 40 of 96 - 1557 active elements (1443 deactivated)
13:51:55 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.010726811 to -0.0012735456) found for ocean_vertical_diffusivity, replacing with NaN
13:51:55 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:55 INFO    opendrift:2111: 2025-12-10 09:50:43.939787 - step 41 of 96 - 1557 active elements (1443 deactivated)
13:51:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:56 INFO    opendrift:2111: 2025-12-10 10:20:43.939787 - step 42 of 96 - 1557 active elements (1443 deactivated)
13:51:58 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0120592965 to -0.00090785435) found for ocean_vertical_diffusivity, replacing with NaN
13:51:58 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:51:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:58 INFO    opendrift:2111: 2025-12-10 10:50:43.939787 - step 43 of 96 - 1557 active elements (1443 deactivated)
13:51:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:51:58 INFO    opendrift:2111: 2025-12-10 11:20:43.939787 - step 44 of 96 - 1557 active elements (1443 deactivated)
13:52:01 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.012173303 to -0.0015821628) found for ocean_vertical_diffusivity, replacing with NaN
13:52:01 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:01 INFO    opendrift:2111: 2025-12-10 11:50:43.939787 - step 45 of 96 - 1557 active elements (1443 deactivated)
13:52:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:01 INFO    opendrift:2111: 2025-12-10 12:20:43.939787 - step 46 of 96 - 1557 active elements (1443 deactivated)
13:52:03 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.012493687 to -0.0015446678) found for ocean_vertical_diffusivity, replacing with NaN
13:52:03 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:03 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:03 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:03 INFO    opendrift:2111: 2025-12-10 12:50:43.939787 - step 47 of 96 - 1557 active elements (1443 deactivated)
13:52:03 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:03 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:04 INFO    opendrift:2111: 2025-12-10 13:20:43.939787 - step 48 of 96 - 1557 active elements (1443 deactivated)
13:52:06 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.011995294 to -0.0015613668) found for ocean_vertical_diffusivity, replacing with NaN
13:52:06 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:06 INFO    opendrift:2111: 2025-12-10 13:50:43.939787 - step 49 of 96 - 1557 active elements (1443 deactivated)
13:52:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:06 INFO    opendrift:2111: 2025-12-10 14:20:43.939787 - step 50 of 96 - 1557 active elements (1443 deactivated)
13:52:08 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.010438122 to -0.0025474504) found for ocean_vertical_diffusivity, replacing with NaN
13:52:08 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:09 INFO    opendrift:2111: 2025-12-10 14:50:43.939787 - step 51 of 96 - 1557 active elements (1443 deactivated)
13:52:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:09 INFO    opendrift:2111: 2025-12-10 15:20:43.939787 - step 52 of 96 - 1557 active elements (1443 deactivated)
13:52:11 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.007718426 to -0.0013320418) found for ocean_vertical_diffusivity, replacing with NaN
13:52:11 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:11 INFO    opendrift:2111: 2025-12-10 15:50:43.939787 - step 53 of 96 - 1557 active elements (1443 deactivated)
13:52:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:11 INFO    opendrift:2111: 2025-12-10 16:20:43.939787 - step 54 of 96 - 1557 active elements (1443 deactivated)
13:52:14 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.004921337 to -0.0011187592) found for ocean_vertical_diffusivity, replacing with NaN
13:52:14 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:14 INFO    opendrift:2111: 2025-12-10 16:50:43.939787 - step 55 of 96 - 1557 active elements (1443 deactivated)
13:52:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:14 INFO    opendrift:2111: 2025-12-10 17:20:43.939787 - step 56 of 96 - 1557 active elements (1443 deactivated)
13:52:17 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.004156104 to -0.0006267975) found for ocean_vertical_diffusivity, replacing with NaN
13:52:17 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:17 INFO    opendrift:2111: 2025-12-10 17:50:43.939787 - step 57 of 96 - 1557 active elements (1443 deactivated)
13:52:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:17 INFO    opendrift:2111: 2025-12-10 18:20:43.939787 - step 58 of 96 - 1557 active elements (1443 deactivated)
13:52:19 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0043098032 to -0.0008154284) found for ocean_vertical_diffusivity, replacing with NaN
13:52:19 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:19 INFO    opendrift:2111: 2025-12-10 18:50:43.939787 - step 59 of 96 - 1557 active elements (1443 deactivated)
13:52:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:19 INFO    opendrift:2111: 2025-12-10 19:20:43.939787 - step 60 of 96 - 1557 active elements (1443 deactivated)
13:52:22 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0067687193 to -0.0013994476) found for ocean_vertical_diffusivity, replacing with NaN
13:52:22 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:22 INFO    opendrift:2111: 2025-12-10 19:50:43.939787 - step 61 of 96 - 1557 active elements (1443 deactivated)
13:52:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:22 INFO    opendrift:2111: 2025-12-10 20:20:43.939787 - step 62 of 96 - 1557 active elements (1443 deactivated)
13:52:24 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.009558479 to -0.0020647815) found for ocean_vertical_diffusivity, replacing with NaN
13:52:24 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:24 INFO    opendrift:2111: 2025-12-10 20:50:43.939787 - step 63 of 96 - 1557 active elements (1443 deactivated)
13:52:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:25 INFO    opendrift:2111: 2025-12-10 21:20:43.939787 - step 64 of 96 - 1556 active elements (1444 deactivated)
13:52:27 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.011648568 to -0.0024313496) found for ocean_vertical_diffusivity, replacing with NaN
13:52:27 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:27 INFO    opendrift:2111: 2025-12-10 21:50:43.939787 - step 65 of 96 - 1556 active elements (1444 deactivated)
13:52:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:27 INFO    opendrift:2111: 2025-12-10 22:20:43.939787 - step 66 of 96 - 1556 active elements (1444 deactivated)
13:52:30 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.012797238 to -0.0026342964) found for ocean_vertical_diffusivity, replacing with NaN
13:52:30 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:30 INFO    opendrift:2111: 2025-12-10 22:50:43.939787 - step 67 of 96 - 1554 active elements (1446 deactivated)
13:52:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:30 INFO    opendrift:2111: 2025-12-10 23:20:43.939787 - step 68 of 96 - 1554 active elements (1446 deactivated)
13:52:33 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.017103847 to -0.0027950045) found for ocean_vertical_diffusivity, replacing with NaN
13:52:33 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:33 INFO    opendrift:2111: 2025-12-10 23:50:43.939787 - step 69 of 96 - 1554 active elements (1446 deactivated)
13:52:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:33 INFO    opendrift:2111: 2025-12-11 00:20:43.939787 - step 70 of 96 - 1553 active elements (1447 deactivated)
13:52:35 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.016479056 to -0.0038252953) found for ocean_vertical_diffusivity, replacing with NaN
13:52:35 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:35 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:35 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:35 INFO    opendrift:2111: 2025-12-11 00:50:43.939787 - step 71 of 96 - 1549 active elements (1451 deactivated)
13:52:35 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:35 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:35 INFO    opendrift:2111: 2025-12-11 01:20:43.939787 - step 72 of 96 - 1546 active elements (1454 deactivated)
13:52:37 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.018067304 to -0.00323275) found for ocean_vertical_diffusivity, replacing with NaN
13:52:37 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:38 INFO    opendrift:2111: 2025-12-11 01:50:43.939787 - step 73 of 96 - 1539 active elements (1461 deactivated)
13:52:38 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:38 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:38 INFO    opendrift:2111: 2025-12-11 02:20:43.939787 - step 74 of 96 - 1533 active elements (1467 deactivated)
13:52:40 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.015525835 to -0.003287039) found for ocean_vertical_diffusivity, replacing with NaN
13:52:40 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:40 INFO    opendrift:2111: 2025-12-11 02:50:43.939787 - step 75 of 96 - 1531 active elements (1469 deactivated)
13:52:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:40 INFO    opendrift:2111: 2025-12-11 03:20:43.939787 - step 76 of 96 - 1530 active elements (1470 deactivated)
13:52:42 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.012161441 to -0.0028824056) found for ocean_vertical_diffusivity, replacing with NaN
13:52:42 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:42 INFO    opendrift:2111: 2025-12-11 03:50:43.939787 - step 77 of 96 - 1528 active elements (1472 deactivated)
13:52:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:42 INFO    opendrift:2111: 2025-12-11 04:20:43.939787 - step 78 of 96 - 1528 active elements (1472 deactivated)
13:52:45 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.009276141 to -0.0016857365) found for ocean_vertical_diffusivity, replacing with NaN
13:52:45 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:45 INFO    opendrift:2111: 2025-12-11 04:50:43.939787 - step 79 of 96 - 1528 active elements (1472 deactivated)
13:52:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:45 INFO    opendrift:2111: 2025-12-11 05:20:43.939787 - step 80 of 96 - 1528 active elements (1472 deactivated)
13:52:47 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0074663507 to -0.0009660067) found for ocean_vertical_diffusivity, replacing with NaN
13:52:47 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:48 INFO    opendrift:2111: 2025-12-11 05:50:43.939787 - step 81 of 96 - 1528 active elements (1472 deactivated)
13:52:48 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:48 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:48 INFO    opendrift:2111: 2025-12-11 06:20:43.939787 - step 82 of 96 - 1528 active elements (1472 deactivated)
13:52:50 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0072873905 to -0.0010959395) found for ocean_vertical_diffusivity, replacing with NaN
13:52:50 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:50 INFO    opendrift:2111: 2025-12-11 06:50:43.939787 - step 83 of 96 - 1528 active elements (1472 deactivated)
13:52:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:50 INFO    opendrift:2111: 2025-12-11 07:20:43.939787 - step 84 of 96 - 1527 active elements (1473 deactivated)
13:52:53 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.007519722 to -0.0007659003) found for ocean_vertical_diffusivity, replacing with NaN
13:52:53 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:53 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:53 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:53 INFO    opendrift:2111: 2025-12-11 07:50:43.939787 - step 85 of 96 - 1526 active elements (1474 deactivated)
13:52:53 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:53 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:53 INFO    opendrift:2111: 2025-12-11 08:20:43.939787 - step 86 of 96 - 1525 active elements (1475 deactivated)
13:52:55 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.008229474 to -0.0016921724) found for ocean_vertical_diffusivity, replacing with NaN
13:52:55 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:56 INFO    opendrift:2111: 2025-12-11 08:50:43.939787 - step 87 of 96 - 1524 active elements (1476 deactivated)
13:52:56 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:56 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:56 INFO    opendrift:2111: 2025-12-11 09:20:43.939787 - step 88 of 96 - 1523 active elements (1477 deactivated)
13:52:58 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.011215512 to -0.0017815083) found for ocean_vertical_diffusivity, replacing with NaN
13:52:58 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:52:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:58 INFO    opendrift:2111: 2025-12-11 09:50:43.939787 - step 89 of 96 - 1517 active elements (1483 deactivated)
13:52:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:52:58 INFO    opendrift:2111: 2025-12-11 10:20:43.939787 - step 90 of 96 - 1512 active elements (1488 deactivated)
13:53:01 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0126090385 to -0.0020051124) found for ocean_vertical_diffusivity, replacing with NaN
13:53:01 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:53:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:53:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:53:01 INFO    opendrift:2111: 2025-12-11 10:50:43.939787 - step 91 of 96 - 1503 active elements (1497 deactivated)
13:53:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:53:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:53:01 INFO    opendrift:2111: 2025-12-11 11:20:43.939787 - step 92 of 96 - 1501 active elements (1499 deactivated)
13:53:03 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.014098457 to -0.0016772362) found for ocean_vertical_diffusivity, replacing with NaN
13:53:03 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:53:03 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:53:03 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:53:04 INFO    opendrift:2111: 2025-12-11 11:50:43.939787 - step 93 of 96 - 1500 active elements (1500 deactivated)
13:53:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:53:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:53:04 INFO    opendrift:2111: 2025-12-11 12:20:43.939787 - step 94 of 96 - 1499 active elements (1501 deactivated)
13:53:06 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.014878233 to -0.00094262854) found for ocean_vertical_diffusivity, replacing with NaN
13:53:06 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:53:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:53:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:53:06 INFO    opendrift:2111: 2025-12-11 12:50:43.939787 - step 95 of 96 - 1499 active elements (1501 deactivated)
13:53:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:53:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:53:06 INFO    opendrift:2111: 2025-12-11 13:20:43.939787 - step 96 of 96 - 1499 active elements (1501 deactivated)
13:53:10 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.015567615 to -0.0010407055) found for ocean_vertical_diffusivity, replacing with NaN
13:53:10 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
13:53:10 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
13:53:10 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
<xarray.Dataset> Size: 25MB
Dimensions:                                                                              (
                                                                                          trajectory: 3000,
                                                                                          time: 49)
Coordinates:
  * trajectory                                                                           (trajectory) int64 24kB ...
  * time                                                                                 (time) datetime64[ns] 392B ...
Data variables: (12/43)
    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_temperature                                                                (trajectory, time) float32 588kB ...
    sea_water_salinity                                                                   (trajectory, time) float32 588kB ...
    sea_floor_depth_below_sea_level                                                      (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/165)
    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:
--------------------
global_landmask
 0:00:01.7  total
 0:00:00.0  preparing
 0:00:01.7  reading
 0:00:00.0  masking
--------------------
https://thredds.met.no/thredds/dodsC/fou-hi/barents_eps_zdepth_be
 0:02:05.1  total
 0:00:00.0  preparing
 0:02:04.3  reading
 0:00:01.3  interpolation
 0:00:00.1  interpolation_time
 0:00:00.8  rotating vectors
 0:00:00.0  masking
--------------------
Performance:
 2:26.3 total time
    4.9 configuration
    0.0 preparing main loop
      0.0 moving elements to ocean
 2:21.3 main loop
      5.8 updating elements
        0.0 oil weathering
          0.0 updating viscosities
          0.0 updating densities
        5.4 vertical mixing
    0.0 cleaning up
--------------------
===========================
Model:  OpenOil     (OpenDrift version 1.14.7)
        1499 active Oil particles  (1501 deactivated, 0 scheduled)
-------------------
Environment variables:
  -----
  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: 2025-12-09 13:50:43.939787 UTC
        Present: 2025-12-11 13:50:43.939787 UTC
        Calculation steps: 96 * 0:30:00 - total time: 2 days, 0:00:00
        Output steps: 49 * 1:00:00
===========================

13:53:21 INFO    opendrift:4660: Saving animation to /root/project/docs/source/gallery/animations/example_oil_ice_0.gif...
13:54:05 INFO    opendrift:3094: Time to make animation: 0:00:55.223169
../_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) 2025-12-09 13:50 to 2025-12-11 13:50 UTC (49 steps)
(<GeoAxes: title={'center': 'OpenDrift - OpenOil (GENERIC BUNKER C)\n2025-12-09 13:50 to 2025-12-11 13:50 UTC (49 steps)'}>, <Figure size 560.947x1100 with 2 Axes>)

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

Gallery generated by Sphinx-Gallery