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)
09:33:52 INFO    opendrift:569: OpenDriftSimulation initialised (version 1.14.3 / v1.14.3-46-g60beecd)

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))
09:33:52 INFO    opendrift.models.openoil.openoil:1708: Oil type not specified, using default: GENERIC BUNKER C
09:33:52 INFO    opendrift.models.openoil.adios.dirjs:86: Querying ADIOS database for oil: GENERIC BUNKER C
09:33:52 INFO    opendrift.models.openoil.openoil:1717: Using density 988.1 and viscosity 0.02169233387797564 of oiltype GENERIC BUNKER C
09:33:52 INFO    opendrift.models.basemodel.environment:206: Adding a global landmask from GSHHG
09:33:57 INFO    opendrift.models.basemodel.environment:229: Fallback values will be used for the following variables which have no readers:
09:33:57 INFO    opendrift.models.basemodel.environment:232:    sea_surface_height: 0.000000
09:33:57 INFO    opendrift.models.basemodel.environment:232:    upward_sea_water_velocity: 0.000000
09:33:57 INFO    opendrift.models.basemodel.environment:232:    sea_surface_wave_significant_height: 0.000000
09:33:57 INFO    opendrift.models.basemodel.environment:232:    sea_surface_wave_stokes_drift_x_velocity: 0.000000
09:33:57 INFO    opendrift.models.basemodel.environment:232:    sea_surface_wave_stokes_drift_y_velocity: 0.000000
09:33:57 INFO    opendrift.models.basemodel.environment:232:    sea_surface_wave_period_at_variance_spectral_density_maximum: 0.000000
09:33:57 INFO    opendrift.models.basemodel.environment:232:    sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment: 0.000000
09:33:57 INFO    opendrift.models.basemodel.environment:232:    sea_ice_area_fraction: 0.000000
09:33:57 INFO    opendrift.models.basemodel.environment:232:    sea_ice_x_velocity: 0.000000
09:33:57 INFO    opendrift.models.basemodel.environment:232:    sea_ice_y_velocity: 0.000000
09:33:57 INFO    opendrift.models.basemodel.environment:232:    sea_water_temperature: 10.000000
09:33:57 INFO    opendrift.models.basemodel.environment:232:    sea_water_salinity: 34.000000
09:33:57 INFO    opendrift.models.basemodel.environment:232:    sea_floor_depth_below_sea_level: 10000.000000
09:33:57 INFO    opendrift.models.basemodel.environment:232:    ocean_vertical_diffusivity: 0.020000
09:33:57 INFO    opendrift.models.basemodel.environment:232:    ocean_mixed_layer_thickness: 50.000000

Running model

o.run(duration=timedelta(hours=48), time_step=1800, time_step_output=3600)
09:33:57 INFO    opendrift:1783: Skipping environment variable upward_sea_water_velocity because of condition ['drift:vertical_advection', 'is', False]
09:33:57 INFO    opendrift:1794: Storing previous values of element property lon because of condition (('general:coastline_action', 'in', ['stranding', 'previous']), 'or', ('general:seafloor_action', 'in', ['previous']))
09:33:57 INFO    opendrift:1794: Storing previous values of element property lat because of condition (('general:coastline_action', 'in', ['stranding', 'previous']), 'or', ('general:seafloor_action', 'in', ['previous']))
09:33:57 INFO    opendrift:945: Using existing reader for land_binary_mask to move elements to ocean
09:33:57 INFO    opendrift:975: All points are in ocean
09:33:57 INFO    opendrift.models.openoil.openoil:692: Oil-water surface tension is 0.035935 Nm
09:33:57 INFO    opendrift.models.openoil.openoil:705: Max water fraction not available for GENERIC BUNKER C, using default
09:33:57 INFO    opendrift:2090: 2025-10-15 09:33:52.750373 - step 1 of 96 - 3000 active elements (0 deactivated)
09:33:57 INFO    opendrift.readers:63: Opening file with xr.open_dataset
09:33:59 INFO    opendrift.readers.reader_netCDF_CF_generic:332: Detected dimensions: {'x': 'X', 'y': 'Y', 'z': 'depth', 'time': 'time'}
09:33:59 INFO    opendrift.readers.basereader:176: Variable x_sea_water_velocity will be rotated from eastward_sea_water_velocity
09:33:59 INFO    opendrift.readers.basereader:176: Variable y_sea_water_velocity will be rotated from northward_sea_water_velocity
09:34:02 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0045078485 to -0.001300254) found for ocean_vertical_diffusivity, replacing with NaN
09:34:02 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:04 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.006827468 to -0.0030626976) found for ocean_vertical_diffusivity, replacing with NaN
09:34:04 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:04 INFO    opendrift:2090: 2025-10-15 10:03:52.750373 - step 2 of 96 - 3000 active elements (0 deactivated)
09:34:07 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.008243669 to -0.0033506793) found for ocean_vertical_diffusivity, replacing with NaN
09:34:07 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:07 INFO    opendrift:2090: 2025-10-15 10:33:52.750373 - step 3 of 96 - 3000 active elements (0 deactivated)
09:34:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:07 INFO    opendrift:2090: 2025-10-15 11:03:52.750373 - step 4 of 96 - 3000 active elements (0 deactivated)
09:34:11 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.009075188 to -0.0039458317) found for ocean_vertical_diffusivity, replacing with NaN
09:34:11 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:13 INFO    opendrift:2090: 2025-10-15 11:33:52.750373 - step 5 of 96 - 2998 active elements (2 deactivated)
09:34:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:13 INFO    opendrift:2090: 2025-10-15 12:03:52.750373 - step 6 of 96 - 2527 active elements (473 deactivated)
09:34:15 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.009031119 to -0.0039974237) found for ocean_vertical_diffusivity, replacing with NaN
09:34:15 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:15 INFO    opendrift:2090: 2025-10-15 12:33:52.750373 - step 7 of 96 - 975 active elements (2025 deactivated)
09:34:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:16 INFO    opendrift:2090: 2025-10-15 13:03:52.750373 - step 8 of 96 - 639 active elements (2361 deactivated)
09:34:18 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.012427715 to -0.0051438347) found for ocean_vertical_diffusivity, replacing with NaN
09:34:18 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:18 INFO    opendrift:2090: 2025-10-15 13:33:52.750373 - step 9 of 96 - 629 active elements (2371 deactivated)
09:34:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:18 INFO    opendrift:2090: 2025-10-15 14:03:52.750373 - step 10 of 96 - 626 active elements (2374 deactivated)
09:34:21 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.01718498 to -0.008718253) found for ocean_vertical_diffusivity, replacing with NaN
09:34:21 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:21 INFO    opendrift:2090: 2025-10-15 14:33:52.750373 - step 11 of 96 - 626 active elements (2374 deactivated)
09:34:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:21 INFO    opendrift:2090: 2025-10-15 15:03:52.750373 - step 12 of 96 - 624 active elements (2376 deactivated)
09:34:24 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.023673698 to -0.012402371) found for ocean_vertical_diffusivity, replacing with NaN
09:34:24 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:25 INFO    opendrift:2090: 2025-10-15 15:33:52.750373 - step 13 of 96 - 624 active elements (2376 deactivated)
09:34:25 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:25 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:25 INFO    opendrift:2090: 2025-10-15 16:03:52.750373 - step 14 of 96 - 624 active elements (2376 deactivated)
09:34:27 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.025875932 to -0.012508002) found for ocean_vertical_diffusivity, replacing with NaN
09:34:27 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:27 INFO    opendrift:2090: 2025-10-15 16:33:52.750373 - step 15 of 96 - 623 active elements (2377 deactivated)
09:34:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:27 INFO    opendrift:2090: 2025-10-15 17:03:52.750373 - step 16 of 96 - 623 active elements (2377 deactivated)
09:34:29 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.018470425 to -0.008549434) found for ocean_vertical_diffusivity, replacing with NaN
09:34:29 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:29 INFO    opendrift:2090: 2025-10-15 17:33:52.750373 - step 17 of 96 - 622 active elements (2378 deactivated)
09:34:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:30 INFO    opendrift:2090: 2025-10-15 18:03:52.750373 - step 18 of 96 - 622 active elements (2378 deactivated)
09:34:32 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.008201935 to -0.0024679678) found for ocean_vertical_diffusivity, replacing with NaN
09:34:32 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:32 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:32 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:32 INFO    opendrift:2090: 2025-10-15 18:33:52.750373 - step 19 of 96 - 622 active elements (2378 deactivated)
09:34:32 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:32 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:32 INFO    opendrift:2090: 2025-10-15 19:03:52.750373 - step 20 of 96 - 622 active elements (2378 deactivated)
09:34:34 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.00383533 to -0.00013617605) found for ocean_vertical_diffusivity, replacing with NaN
09:34:34 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:34 INFO    opendrift:2090: 2025-10-15 19:33:52.750373 - step 21 of 96 - 622 active elements (2378 deactivated)
09:34:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:34 INFO    opendrift:2090: 2025-10-15 20:03:52.750373 - step 22 of 96 - 621 active elements (2379 deactivated)
09:34:37 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0068947957 to -2.453511e-05) found for ocean_vertical_diffusivity, replacing with NaN
09:34:37 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:37 INFO    opendrift:2090: 2025-10-15 20:33:52.750373 - step 23 of 96 - 619 active elements (2381 deactivated)
09:34:37 INFO    opendrift:2090: 2025-10-15 21:03:52.750373 - step 24 of 96 - 619 active elements (2381 deactivated)
09:34:39 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.011396763 to -0.0050698607) found for ocean_vertical_diffusivity, replacing with NaN
09:34:39 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:39 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:39 INFO    opendrift:2090: 2025-10-15 21:33:52.750373 - step 25 of 96 - 619 active elements (2381 deactivated)
09:34:39 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:39 INFO    opendrift:2090: 2025-10-15 22:03:52.750373 - step 26 of 96 - 619 active elements (2381 deactivated)
09:34:41 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.021640494 to -0.005760548) found for ocean_vertical_diffusivity, replacing with NaN
09:34:41 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:41 INFO    opendrift:2090: 2025-10-15 22:33:52.750373 - step 27 of 96 - 619 active elements (2381 deactivated)
09:34:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:41 INFO    opendrift:2090: 2025-10-15 23:03:52.750373 - step 28 of 96 - 619 active elements (2381 deactivated)
09:34:44 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.016547596 to -0.003653008) found for ocean_vertical_diffusivity, replacing with NaN
09:34:44 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:44 INFO    opendrift:2090: 2025-10-15 23:33:52.750373 - step 29 of 96 - 617 active elements (2383 deactivated)
09:34:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:44 INFO    opendrift:2090: 2025-10-16 00:03:52.750373 - step 30 of 96 - 617 active elements (2383 deactivated)
09:34:47 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0069782613 to -1.1025153e-06) found for ocean_vertical_diffusivity, replacing with NaN
09:34:47 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:47 WARNING opendrift.readers.interpolation.interpolators:129: Still NaN-values after 10 iterations, exiting!
09:34:47 INFO    opendrift:2090: 2025-10-16 00:33:52.750373 - step 31 of 96 - 617 active elements (2383 deactivated)
09:34:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:47 INFO    opendrift:2090: 2025-10-16 01:03:52.750373 - step 32 of 96 - 616 active elements (2384 deactivated)
09:34:49 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0109773055 to -0.00025802062) found for ocean_vertical_diffusivity, replacing with NaN
09:34:49 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:49 INFO    opendrift:2090: 2025-10-16 01:33:52.750373 - step 33 of 96 - 616 active elements (2384 deactivated)
09:34:49 INFO    opendrift:2090: 2025-10-16 02:03:52.750373 - step 34 of 96 - 615 active elements (2385 deactivated)
09:34:51 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.020049235 to -0.00020844622) found for ocean_vertical_diffusivity, replacing with NaN
09:34:51 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:51 INFO    opendrift:2090: 2025-10-16 02:33:52.750373 - step 35 of 96 - 615 active elements (2385 deactivated)
09:34:52 INFO    opendrift:2090: 2025-10-16 03:03:52.750373 - step 36 of 96 - 615 active elements (2385 deactivated)
09:34:54 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.028325299 to -0.010723218) found for ocean_vertical_diffusivity, replacing with NaN
09:34:54 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:54 INFO    opendrift:2090: 2025-10-16 03:33:52.750373 - step 37 of 96 - 615 active elements (2385 deactivated)
09:34:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:54 INFO    opendrift:2090: 2025-10-16 04:03:52.750373 - step 38 of 96 - 614 active elements (2386 deactivated)
09:34:56 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.052513693 to -0.019231921) found for ocean_vertical_diffusivity, replacing with NaN
09:34:56 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:56 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:56 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:56 INFO    opendrift:2090: 2025-10-16 04:33:52.750373 - step 39 of 96 - 612 active elements (2388 deactivated)
09:34:56 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:56 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:57 INFO    opendrift:2090: 2025-10-16 05:03:52.750373 - step 40 of 96 - 610 active elements (2390 deactivated)
09:34:59 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.059223264 to -0.014346675) found for ocean_vertical_diffusivity, replacing with NaN
09:34:59 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:34:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:59 INFO    opendrift:2090: 2025-10-16 05:33:52.750373 - step 41 of 96 - 609 active elements (2391 deactivated)
09:34:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:34:59 INFO    opendrift:2090: 2025-10-16 06:03:52.750373 - step 42 of 96 - 609 active elements (2391 deactivated)
09:35:02 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.028199326 to -0.006875938) found for ocean_vertical_diffusivity, replacing with NaN
09:35:02 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:35:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:02 INFO    opendrift:2090: 2025-10-16 06:33:52.750373 - step 43 of 96 - 608 active elements (2392 deactivated)
09:35:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:02 INFO    opendrift:2090: 2025-10-16 07:03:52.750373 - step 44 of 96 - 606 active elements (2394 deactivated)
09:35:04 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.006733353 to -9.871324e-05) found for ocean_vertical_diffusivity, replacing with NaN
09:35:04 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:35:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:04 INFO    opendrift:2090: 2025-10-16 07:33:52.750373 - step 45 of 96 - 604 active elements (2396 deactivated)
09:35:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:04 INFO    opendrift:2090: 2025-10-16 08:03:52.750373 - step 46 of 96 - 603 active elements (2397 deactivated)
09:35:08 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0056845886 to -1.7832064e-05) found for ocean_vertical_diffusivity, replacing with NaN
09:35:08 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:35:08 INFO    opendrift:2090: 2025-10-16 08:33:52.750373 - step 47 of 96 - 603 active elements (2397 deactivated)
09:35:08 INFO    opendrift:2090: 2025-10-16 09:03:52.750373 - step 48 of 96 - 602 active elements (2398 deactivated)
09:35:10 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.012736122 to -0.00083028636) found for ocean_vertical_diffusivity, replacing with NaN
09:35:10 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:35:10 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:10 INFO    opendrift:2090: 2025-10-16 09:33:52.750373 - step 49 of 96 - 602 active elements (2398 deactivated)
09:35:10 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:10 INFO    opendrift:2090: 2025-10-16 10:03:52.750373 - step 50 of 96 - 602 active elements (2398 deactivated)
09:35:13 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.035056382 to -0.008240962) found for ocean_vertical_diffusivity, replacing with NaN
09:35:13 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:35:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:13 INFO    opendrift:2090: 2025-10-16 10:33:52.750373 - step 51 of 96 - 600 active elements (2400 deactivated)
09:35:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:13 INFO    opendrift:2090: 2025-10-16 11:03:52.750373 - step 52 of 96 - 600 active elements (2400 deactivated)
09:35:16 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.030349512 to -0.006813088) found for ocean_vertical_diffusivity, replacing with NaN
09:35:16 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:35:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:16 INFO    opendrift:2090: 2025-10-16 11:33:52.750373 - step 53 of 96 - 600 active elements (2400 deactivated)
09:35:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:16 INFO    opendrift:2090: 2025-10-16 12:03:52.750373 - step 54 of 96 - 599 active elements (2401 deactivated)
09:35:18 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.011915026 to -3.6135643e-05) found for ocean_vertical_diffusivity, replacing with NaN
09:35:18 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:35:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:18 WARNING opendrift.readers.interpolation.interpolators:129: Still NaN-values after 10 iterations, exiting!
09:35:18 INFO    opendrift:2090: 2025-10-16 12:33:52.750373 - step 55 of 96 - 598 active elements (2402 deactivated)
09:35:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:18 WARNING opendrift.readers.interpolation.interpolators:129: Still NaN-values after 10 iterations, exiting!
09:35:19 INFO    opendrift:2090: 2025-10-16 13:03:52.750373 - step 56 of 96 - 595 active elements (2405 deactivated)
09:35:21 INFO    opendrift:2090: 2025-10-16 13:33:52.750373 - step 57 of 96 - 592 active elements (2408 deactivated)
09:35:21 INFO    opendrift:2090: 2025-10-16 14:03:52.750373 - step 58 of 96 - 585 active elements (2415 deactivated)
09:35:24 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.001021364 to -0.00014115682) found for ocean_vertical_diffusivity, replacing with NaN
09:35:24 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:35:24 INFO    opendrift:2090: 2025-10-16 14:33:52.750373 - step 59 of 96 - 576 active elements (2424 deactivated)
09:35:24 INFO    opendrift:2090: 2025-10-16 15:03:52.750373 - step 60 of 96 - 568 active elements (2432 deactivated)
09:35:26 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.022208579 to -0.0011192297) found for ocean_vertical_diffusivity, replacing with NaN
09:35:26 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:35:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:26 INFO    opendrift:2090: 2025-10-16 15:33:52.750373 - step 61 of 96 - 556 active elements (2444 deactivated)
09:35:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:26 INFO    opendrift:2090: 2025-10-16 16:03:52.750373 - step 62 of 96 - 540 active elements (2460 deactivated)
09:35:29 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0474609 to -0.019466428) found for ocean_vertical_diffusivity, replacing with NaN
09:35:29 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:35:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:29 INFO    opendrift:2090: 2025-10-16 16:33:52.750373 - step 63 of 96 - 524 active elements (2476 deactivated)
09:35:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:29 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:29 INFO    opendrift:2090: 2025-10-16 17:03:52.750373 - step 64 of 96 - 510 active elements (2490 deactivated)
09:35:31 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.061677694 to -0.02142643) found for ocean_vertical_diffusivity, replacing with NaN
09:35:31 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:35:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:31 INFO    opendrift:2090: 2025-10-16 17:33:52.750373 - step 65 of 96 - 499 active elements (2501 deactivated)
09:35:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:31 INFO    opendrift:2090: 2025-10-16 18:03:52.750373 - step 66 of 96 - 493 active elements (2507 deactivated)
09:35:34 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.04048174 to -0.011184028) found for ocean_vertical_diffusivity, replacing with NaN
09:35:34 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:35:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:34 INFO    opendrift:2090: 2025-10-16 18:33:52.750373 - step 67 of 96 - 489 active elements (2511 deactivated)
09:35:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:34 INFO    opendrift:2090: 2025-10-16 19:03:52.750373 - step 68 of 96 - 484 active elements (2516 deactivated)
09:35:36 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.01467536 to -0.00023894139) found for ocean_vertical_diffusivity, replacing with NaN
09:35:36 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:35:36 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:36 WARNING opendrift.readers.interpolation.interpolators:129: Still NaN-values after 10 iterations, exiting!
09:35:36 INFO    opendrift:2090: 2025-10-16 19:33:52.750373 - step 69 of 96 - 481 active elements (2519 deactivated)
09:35:36 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:37 INFO    opendrift:2090: 2025-10-16 20:03:52.750373 - step 70 of 96 - 480 active elements (2520 deactivated)
09:35:39 INFO    opendrift:2090: 2025-10-16 20:33:52.750373 - step 71 of 96 - 478 active elements (2522 deactivated)
09:35:39 INFO    opendrift:2090: 2025-10-16 21:03:52.750373 - step 72 of 96 - 474 active elements (2526 deactivated)
09:35:42 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.002589327 to -2.0797684e-06) found for ocean_vertical_diffusivity, replacing with NaN
09:35:42 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:35:42 INFO    opendrift:2090: 2025-10-16 21:33:52.750373 - step 73 of 96 - 473 active elements (2527 deactivated)
09:35:42 INFO    opendrift:2090: 2025-10-16 22:03:52.750373 - step 74 of 96 - 472 active elements (2528 deactivated)
09:35:45 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.018002583 to -0.0030096944) found for ocean_vertical_diffusivity, replacing with NaN
09:35:45 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:35:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:45 INFO    opendrift:2090: 2025-10-16 22:33:52.750373 - step 75 of 96 - 469 active elements (2531 deactivated)
09:35:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:45 INFO    opendrift:2090: 2025-10-16 23:03:52.750373 - step 76 of 96 - 464 active elements (2536 deactivated)
09:35:47 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.026932336 to -0.0051196986) found for ocean_vertical_diffusivity, replacing with NaN
09:35:47 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:35:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:47 INFO    opendrift:2090: 2025-10-16 23:33:52.750373 - step 77 of 96 - 463 active elements (2537 deactivated)
09:35:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:47 INFO    opendrift:2090: 2025-10-17 00:03:52.750373 - step 78 of 96 - 460 active elements (2540 deactivated)
09:35:49 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.009043386 to -0.00033342815) found for ocean_vertical_diffusivity, replacing with NaN
09:35:49 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:35:49 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:49 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:49 INFO    opendrift:2090: 2025-10-17 00:33:52.750373 - step 79 of 96 - 458 active elements (2542 deactivated)
09:35:49 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:49 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:49 INFO    opendrift:2090: 2025-10-17 01:03:52.750373 - step 80 of 96 - 455 active elements (2545 deactivated)
09:35:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:52 INFO    opendrift:2090: 2025-10-17 01:33:52.750373 - step 81 of 96 - 452 active elements (2548 deactivated)
09:35:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:35:52 INFO    opendrift:2090: 2025-10-17 02:03:52.750373 - step 82 of 96 - 451 active elements (2549 deactivated)
09:35:54 INFO    opendrift:2090: 2025-10-17 02:33:52.750373 - step 83 of 96 - 448 active elements (2552 deactivated)
09:35:54 INFO    opendrift:2090: 2025-10-17 03:03:52.750373 - step 84 of 96 - 448 active elements (2552 deactivated)
09:35:57 INFO    opendrift:2090: 2025-10-17 03:33:52.750373 - step 85 of 96 - 445 active elements (2555 deactivated)
09:35:57 INFO    opendrift:2090: 2025-10-17 04:03:52.750373 - step 86 of 96 - 441 active elements (2559 deactivated)
09:36:00 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.02562871 to -0.0028621918) found for ocean_vertical_diffusivity, replacing with NaN
09:36:00 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:36:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:36:00 INFO    opendrift:2090: 2025-10-17 04:33:52.750373 - step 87 of 96 - 439 active elements (2561 deactivated)
09:36:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:36:00 INFO    opendrift:2090: 2025-10-17 05:03:52.750373 - step 88 of 96 - 436 active elements (2564 deactivated)
09:36:02 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.047830418 to -0.010581085) found for ocean_vertical_diffusivity, replacing with NaN
09:36:02 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:36:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:36:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:36:02 INFO    opendrift:2090: 2025-10-17 05:33:52.750373 - step 89 of 96 - 436 active elements (2564 deactivated)
09:36:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:36:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:36:02 INFO    opendrift:2090: 2025-10-17 06:03:52.750373 - step 90 of 96 - 434 active elements (2566 deactivated)
09:36:04 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.04497202 to -0.0070312098) found for ocean_vertical_diffusivity, replacing with NaN
09:36:04 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:36:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:36:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:36:04 INFO    opendrift:2090: 2025-10-17 06:33:52.750373 - step 91 of 96 - 433 active elements (2567 deactivated)
09:36:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:36:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:36:05 INFO    opendrift:2090: 2025-10-17 07:03:52.750373 - step 92 of 96 - 432 active elements (2568 deactivated)
09:36:07 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.021272248 to -0.0027422777) found for ocean_vertical_diffusivity, replacing with NaN
09:36:07 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:36:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:36:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:36:07 INFO    opendrift:2090: 2025-10-17 07:33:52.750373 - step 93 of 96 - 432 active elements (2568 deactivated)
09:36:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:36:07 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:36:07 INFO    opendrift:2090: 2025-10-17 08:03:52.750373 - step 94 of 96 - 432 active elements (2568 deactivated)
09:36:09 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0050101676 to -3.300798e-05) found for ocean_vertical_diffusivity, replacing with NaN
09:36:09 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
09:36:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:36:09 INFO    opendrift:2090: 2025-10-17 08:33:52.750373 - step 95 of 96 - 432 active elements (2568 deactivated)
09:36:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
09:36:09 INFO    opendrift:2090: 2025-10-17 09:03:52.750373 - step 96 of 96 - 432 active elements (2568 deactivated)
09:36:12 WARNING opendrift.readers.basereader.variables:656: Invalid values (-0.0025837412 to -1.1186486e-06) found for ocean_vertical_diffusivity, replacing with NaN
09:36:12 WARNING opendrift.readers.basereader.variables:659: (allowed range: [0, 1])
<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.9  total
 0:00:00.0  preparing
 0:00:01.9  reading
 0:00:00.0  masking
--------------------
https://thredds.met.no/thredds/dodsC/fou-hi/barents_eps_zdepth_be
 0:02:00.0  total
 0:00:00.0  preparing
 0:01:59.5  reading
 0:00:00.7  interpolation
 0:00:00.1  interpolation_time
 0:00:00.5  rotating vectors
 0:00:00.0  masking
--------------------
Performance:
 2:19.4 total time
    4.3 configuration
    0.0 preparing main loop
      0.0 moving elements to ocean
 2:15.0 main loop
      4.6 updating elements
        0.0 oil weathering
          0.0 updating viscosities
          0.0 updating densities
        4.3 vertical mixing
    0.0 cleaning up
--------------------
===========================
Model:  OpenOil     (OpenDrift version 1.14.3)
        432 active Oil particles  (2568 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-10-15 09:33:52.750373 UTC
        Present: 2025-10-17 09:33:52.750373 UTC
        Calculation steps: 96 * 0:30:00 - total time: 2 days, 0:00:00
        Output steps: 49 * 1:00:00
===========================

/opt/conda/envs/opendrift/lib/python3.13/site-packages/cartopy/mpl/geoaxes.py:1677: UserWarning: No data for colormapping provided via 'c'. Parameters 'vmin', 'vmax' will be ignored
  result = super().scatter(*args, **kwargs)
09:36:26 INFO    opendrift:4617: Saving animation to /root/project/docs/source/gallery/animations/example_oil_ice_0.gif...
09:37:12 INFO    opendrift:3058: Time to make animation: 0:01:00.629367
../_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-10-15 09:33 to 2025-10-17 09:33 UTC (49 steps)
(<GeoAxes: title={'center': 'OpenDrift - OpenOil (GENERIC BUNKER C)\n2025-10-15 09:33 to 2025-10-17 09:33 UTC (49 steps)'}>, <Figure size 631.314x1100 with 2 Axes>)

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

Gallery generated by Sphinx-Gallery