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)
17:18:54 INFO    opendrift.models.basemodel:512: OpenDriftSimulation initialised (version 1.12.0 / v1.12.0-55-g4faa301)

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.utcnow() - timedelta(days=7))
17:18:54 INFO    opendrift.models.openoil.openoil:1706: Oil type not specified, using default: GENERIC BUNKER C
17:18:54 INFO    opendrift.models.openoil.adios.dirjs:86: Querying ADIOS database for oil: GENERIC BUNKER C
17:18:54 INFO    opendrift.models.openoil.openoil:1715: Using density 988.1 and viscosity 0.021692333877975645 of oiltype GENERIC BUNKER C
17:18:54 INFO    opendrift.models.basemodel.environment:218: Adding a dynamical landmask with max. priority based on assumed maximum speed of 1.3 m/s. Adding a customised landmask may be faster...
17:18:57 INFO    opendrift.models.basemodel.environment:245: Fallback values will be used for the following variables which have no readers:
17:18:57 INFO    opendrift.models.basemodel.environment:248:    sea_surface_height: 0.000000
17:18:57 INFO    opendrift.models.basemodel.environment:248:    upward_sea_water_velocity: 0.000000
17:18:57 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_significant_height: 0.000000
17:18:57 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_stokes_drift_x_velocity: 0.000000
17:18:57 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_stokes_drift_y_velocity: 0.000000
17:18:57 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_period_at_variance_spectral_density_maximum: 0.000000
17:18:57 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment: 0.000000
17:18:57 INFO    opendrift.models.basemodel.environment:248:    sea_ice_area_fraction: 0.000000
17:18:57 INFO    opendrift.models.basemodel.environment:248:    sea_ice_x_velocity: 0.000000
17:18:57 INFO    opendrift.models.basemodel.environment:248:    sea_ice_y_velocity: 0.000000
17:18:57 INFO    opendrift.models.basemodel.environment:248:    sea_water_temperature: 10.000000
17:18:57 INFO    opendrift.models.basemodel.environment:248:    sea_water_salinity: 34.000000
17:18:57 INFO    opendrift.models.basemodel.environment:248:    sea_floor_depth_below_sea_level: 10000.000000
17:18:57 INFO    opendrift.models.basemodel.environment:248:    ocean_vertical_diffusivity: 0.020000
17:18:57 INFO    opendrift.models.basemodel.environment:248:    ocean_mixed_layer_thickness: 50.000000

Running model

o.run(duration=timedelta(hours=48), time_step=1800, time_step_output=3600)
17:18:59 INFO    opendrift.models.basemodel:932: Using existing reader for land_binary_mask
17:18:59 INFO    opendrift.models.basemodel:943: All points are in ocean
17:18:59 INFO    opendrift.models.openoil.openoil:684: Oil-water surface tension is 0.035935 Nm
17:18:59 INFO    opendrift.models.openoil.openoil:697: Max water fraction not available for GENERIC BUNKER C, using default
17:18:59 INFO    opendrift.models.basemodel:2032: 2025-01-07 17:18:54.666305 - step 1 of 96 - 3000 active elements (0 deactivated)
17:18:59 INFO    opendrift.readers:58: Opening file with xr.open_dataset
17:19:02 INFO    opendrift.readers.reader_netCDF_CF_generic:338: Detected dimensions: {'x': 'X', 'y': 'Y', 'z': 'depth', 'time': 'time'}
17:19:02 INFO    opendrift.readers.basereader:176: Variable x_sea_water_velocity will be rotated from eastward_sea_water_velocity
17:19:02 INFO    opendrift.readers.basereader:176: Variable y_sea_water_velocity will be rotated from northward_sea_water_velocity
17:19:05 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.011093851 to -0.0026489964) found for ocean_vertical_diffusivity, replacing with NaN
17:19:05 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:19:10 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.014061124 to -0.0018893247) found for ocean_vertical_diffusivity, replacing with NaN
17:19:10 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:19:10 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:10 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:10 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:10 INFO    opendrift.models.basemodel:2032: 2025-01-07 17:48:54.666305 - step 2 of 96 - 3000 active elements (0 deactivated)
17:19:10 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:10 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:10 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:10 INFO    opendrift.models.basemodel:2032: 2025-01-07 18:18:54.666305 - step 3 of 96 - 3000 active elements (0 deactivated)
17:19:14 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.009603046 to -0.0014140275) found for ocean_vertical_diffusivity, replacing with NaN
17:19:14 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:19:14 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:14 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:14 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:14 INFO    opendrift.models.basemodel:2032: 2025-01-07 18:48:54.666305 - step 4 of 96 - 3000 active elements (0 deactivated)
17:19:14 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:14 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:14 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:14 INFO    opendrift.models.basemodel:2032: 2025-01-07 19:18:54.666305 - step 5 of 96 - 3000 active elements (0 deactivated)
17:19:17 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0058200867 to -0.0007436568) found for ocean_vertical_diffusivity, replacing with NaN
17:19:17 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:19:17 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:17 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:18 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:18 INFO    opendrift.models.basemodel:2032: 2025-01-07 19:48:54.666305 - step 6 of 96 - 3000 active elements (0 deactivated)
17:19:19 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:19 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:19 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:19 INFO    opendrift.models.basemodel:2032: 2025-01-07 20:18:54.666305 - step 7 of 96 - 3000 active elements (0 deactivated)
17:19:22 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0044223885 to -0.0004254309) found for ocean_vertical_diffusivity, replacing with NaN
17:19:22 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:19:22 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:22 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:24 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:24 INFO    opendrift.models.basemodel:2032: 2025-01-07 20:48:54.666305 - step 8 of 96 - 2993 active elements (7 deactivated)
17:19:24 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:24 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:24 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:24 INFO    opendrift.models.basemodel:2032: 2025-01-07 21:18:54.666305 - step 9 of 96 - 2964 active elements (36 deactivated)
17:19:28 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0054655294 to -0.00069727027) found for ocean_vertical_diffusivity, replacing with NaN
17:19:28 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:19:28 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:28 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:28 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:28 INFO    opendrift.models.basemodel:2032: 2025-01-07 21:48:54.666305 - step 10 of 96 - 2904 active elements (96 deactivated)
17:19:28 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:28 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:28 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:28 INFO    opendrift.models.basemodel:2032: 2025-01-07 22:18:54.666305 - step 11 of 96 - 2813 active elements (187 deactivated)
17:19:31 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.005320742 to -0.00042640095) found for ocean_vertical_diffusivity, replacing with NaN
17:19:31 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:19:31 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:32 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:32 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:32 INFO    opendrift.models.basemodel:2032: 2025-01-07 22:48:54.666305 - step 12 of 96 - 2695 active elements (305 deactivated)
17:19:32 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:32 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:32 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:32 INFO    opendrift.models.basemodel:2032: 2025-01-07 23:18:54.666305 - step 13 of 96 - 2531 active elements (469 deactivated)
17:19:36 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.007259415 to -0.0004940444) found for ocean_vertical_diffusivity, replacing with NaN
17:19:36 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:19:36 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:36 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:36 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:36 INFO    opendrift.models.basemodel:2032: 2025-01-07 23:48:54.666305 - step 14 of 96 - 2355 active elements (645 deactivated)
17:19:36 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:36 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:36 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:36 INFO    opendrift.models.basemodel:2032: 2025-01-08 00:18:54.666305 - step 15 of 96 - 2176 active elements (824 deactivated)
17:19:39 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.014933255 to -0.0019892184) found for ocean_vertical_diffusivity, replacing with NaN
17:19:39 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:19:39 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:39 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:39 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:39 INFO    opendrift.models.basemodel:2032: 2025-01-08 00:48:54.666305 - step 16 of 96 - 2030 active elements (970 deactivated)
17:19:39 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:39 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:39 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:39 INFO    opendrift.models.basemodel:2032: 2025-01-08 01:18:54.666305 - step 17 of 96 - 1881 active elements (1119 deactivated)
17:19:43 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.03163735 to -0.0048088543) found for ocean_vertical_diffusivity, replacing with NaN
17:19:43 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:19:43 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:43 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:43 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:43 INFO    opendrift.models.basemodel:2032: 2025-01-08 01:48:54.666305 - step 18 of 96 - 1772 active elements (1228 deactivated)
17:19:43 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:43 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:43 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:43 INFO    opendrift.models.basemodel:2032: 2025-01-08 02:18:54.666305 - step 19 of 96 - 1702 active elements (1298 deactivated)
17:19:46 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.04354687 to -0.0047957846) found for ocean_vertical_diffusivity, replacing with NaN
17:19:46 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:19:46 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:46 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:46 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:46 INFO    opendrift.models.basemodel:2032: 2025-01-08 02:48:54.666305 - step 20 of 96 - 1665 active elements (1335 deactivated)
17:19:46 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:46 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:46 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:46 INFO    opendrift.models.basemodel:2032: 2025-01-08 03:18:54.666305 - step 21 of 96 - 1640 active elements (1360 deactivated)
17:19:50 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.038597953 to -0.00367992) found for ocean_vertical_diffusivity, replacing with NaN
17:19:50 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:19:50 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:50 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:50 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:50 INFO    opendrift.models.basemodel:2032: 2025-01-08 03:48:54.666305 - step 22 of 96 - 1628 active elements (1372 deactivated)
17:19:50 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:50 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:50 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:50 INFO    opendrift.models.basemodel:2032: 2025-01-08 04:18:54.666305 - step 23 of 96 - 1624 active elements (1376 deactivated)
17:19:53 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.013653988 to -0.0036035555) found for ocean_vertical_diffusivity, replacing with NaN
17:19:53 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:19:53 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:53 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:53 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:53 INFO    opendrift.models.basemodel:2032: 2025-01-08 04:48:54.666305 - step 24 of 96 - 1616 active elements (1384 deactivated)
17:19:53 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:53 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:53 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:53 INFO    opendrift.models.basemodel:2032: 2025-01-08 05:18:54.666305 - step 25 of 96 - 1613 active elements (1387 deactivated)
17:19:56 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.020417066 to -0.0029665846) found for ocean_vertical_diffusivity, replacing with NaN
17:19:56 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:19:56 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:56 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:57 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:57 INFO    opendrift.models.basemodel:2032: 2025-01-08 05:48:54.666305 - step 26 of 96 - 1613 active elements (1387 deactivated)
17:19:57 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:57 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:19:57 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:19:57 INFO    opendrift.models.basemodel:2032: 2025-01-08 06:18:54.666305 - step 27 of 96 - 1612 active elements (1388 deactivated)
17:20:00 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.015410669 to -0.002624178) found for ocean_vertical_diffusivity, replacing with NaN
17:20:00 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:20:00 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:00 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:00 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:00 INFO    opendrift.models.basemodel:2032: 2025-01-08 06:48:54.666305 - step 28 of 96 - 1611 active elements (1389 deactivated)
17:20:00 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:00 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:00 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:00 INFO    opendrift.models.basemodel:2032: 2025-01-08 07:18:54.666305 - step 29 of 96 - 1611 active elements (1389 deactivated)
17:20:03 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.009865745 to -0.00059857126) found for ocean_vertical_diffusivity, replacing with NaN
17:20:03 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:20:03 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:03 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:04 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:04 INFO    opendrift.models.basemodel:2032: 2025-01-08 07:48:54.666305 - step 30 of 96 - 1611 active elements (1389 deactivated)
17:20:04 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:04 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:04 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:04 INFO    opendrift.models.basemodel:2032: 2025-01-08 08:18:54.666305 - step 31 of 96 - 1611 active elements (1389 deactivated)
17:20:07 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.00760074 to -0.00057607703) found for ocean_vertical_diffusivity, replacing with NaN
17:20:07 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:20:07 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:07 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:07 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:07 INFO    opendrift.models.basemodel:2032: 2025-01-08 08:48:54.666305 - step 32 of 96 - 1611 active elements (1389 deactivated)
17:20:07 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:07 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:07 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:07 INFO    opendrift.models.basemodel:2032: 2025-01-08 09:18:54.666305 - step 33 of 96 - 1611 active elements (1389 deactivated)
17:20:11 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.008017818 to -0.00075999013) found for ocean_vertical_diffusivity, replacing with NaN
17:20:11 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:20:11 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:11 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:11 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:11 INFO    opendrift.models.basemodel:2032: 2025-01-08 09:48:54.666305 - step 34 of 96 - 1611 active elements (1389 deactivated)
17:20:11 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:11 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:11 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:11 INFO    opendrift.models.basemodel:2032: 2025-01-08 10:18:54.666305 - step 35 of 96 - 1611 active elements (1389 deactivated)
17:20:14 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.010442649 to -0.0008035513) found for ocean_vertical_diffusivity, replacing with NaN
17:20:14 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:20:14 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:14 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:14 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:14 INFO    opendrift.models.basemodel:2032: 2025-01-08 10:48:54.666305 - step 36 of 96 - 1611 active elements (1389 deactivated)
17:20:14 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:14 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:14 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:14 INFO    opendrift.models.basemodel:2032: 2025-01-08 11:18:54.666305 - step 37 of 96 - 1611 active elements (1389 deactivated)
17:20:18 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.010500153 to -0.0005875669) found for ocean_vertical_diffusivity, replacing with NaN
17:20:18 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:20:18 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:18 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:18 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:18 INFO    opendrift.models.basemodel:2032: 2025-01-08 11:48:54.666305 - step 38 of 96 - 1611 active elements (1389 deactivated)
17:20:18 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:18 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:18 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:18 INFO    opendrift.models.basemodel:2032: 2025-01-08 12:18:54.666305 - step 39 of 96 - 1611 active elements (1389 deactivated)
17:20:21 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0074074785 to -0.0009680397) found for ocean_vertical_diffusivity, replacing with NaN
17:20:21 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:20:21 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:21 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:21 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:21 INFO    opendrift.models.basemodel:2032: 2025-01-08 12:48:54.666305 - step 40 of 96 - 1611 active elements (1389 deactivated)
17:20:21 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:21 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:21 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:21 INFO    opendrift.models.basemodel:2032: 2025-01-08 13:18:54.666305 - step 41 of 96 - 1611 active elements (1389 deactivated)
17:20:24 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.012114519 to -0.00164014) found for ocean_vertical_diffusivity, replacing with NaN
17:20:24 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:20:24 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:24 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:25 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:25 INFO    opendrift.models.basemodel:2032: 2025-01-08 13:48:54.666305 - step 42 of 96 - 1611 active elements (1389 deactivated)
17:20:25 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:25 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:25 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:25 INFO    opendrift.models.basemodel:2032: 2025-01-08 14:18:54.666305 - step 43 of 96 - 1611 active elements (1389 deactivated)
17:20:28 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.023757882 to -0.0023288454) found for ocean_vertical_diffusivity, replacing with NaN
17:20:28 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:20:28 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:28 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:28 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:28 INFO    opendrift.models.basemodel:2032: 2025-01-08 14:48:54.666305 - step 44 of 96 - 1611 active elements (1389 deactivated)
17:20:28 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:28 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:28 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:28 INFO    opendrift.models.basemodel:2032: 2025-01-08 15:18:54.666305 - step 45 of 96 - 1611 active elements (1389 deactivated)
17:20:32 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.020503134 to -0.0012763465) found for ocean_vertical_diffusivity, replacing with NaN
17:20:32 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:20:32 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:32 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:32 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:32 INFO    opendrift.models.basemodel:2032: 2025-01-08 15:48:54.666305 - step 46 of 96 - 1611 active elements (1389 deactivated)
17:20:32 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:32 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:32 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:32 INFO    opendrift.models.basemodel:2032: 2025-01-08 16:18:54.666305 - step 47 of 96 - 1611 active elements (1389 deactivated)
17:20:35 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0147723565 to -0.0031080362) found for ocean_vertical_diffusivity, replacing with NaN
17:20:35 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:20:35 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:35 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:36 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:36 INFO    opendrift.models.basemodel:2032: 2025-01-08 16:48:54.666305 - step 48 of 96 - 1611 active elements (1389 deactivated)
17:20:36 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:36 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:36 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:36 INFO    opendrift.models.basemodel:2032: 2025-01-08 17:18:54.666305 - step 49 of 96 - 1611 active elements (1389 deactivated)
17:20:39 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.015865158 to -0.0013338164) found for ocean_vertical_diffusivity, replacing with NaN
17:20:39 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:20:39 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:39 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:39 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:39 INFO    opendrift.models.basemodel:2032: 2025-01-08 17:48:54.666305 - step 50 of 96 - 1611 active elements (1389 deactivated)
17:20:39 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:39 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:39 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:39 INFO    opendrift.models.basemodel:2032: 2025-01-08 18:18:54.666305 - step 51 of 96 - 1611 active elements (1389 deactivated)
17:20:43 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.013727732 to -0.00070678705) found for ocean_vertical_diffusivity, replacing with NaN
17:20:43 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:20:43 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:43 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:43 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:43 INFO    opendrift.models.basemodel:2032: 2025-01-08 18:48:54.666305 - step 52 of 96 - 1611 active elements (1389 deactivated)
17:20:43 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:43 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:43 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:43 INFO    opendrift.models.basemodel:2032: 2025-01-08 19:18:54.666305 - step 53 of 96 - 1611 active elements (1389 deactivated)
17:20:46 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0077331592 to -0.00042930286) found for ocean_vertical_diffusivity, replacing with NaN
17:20:46 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:20:46 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:46 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:46 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:46 INFO    opendrift.models.basemodel:2032: 2025-01-08 19:48:54.666305 - step 54 of 96 - 1611 active elements (1389 deactivated)
17:20:46 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:46 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:46 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:46 INFO    opendrift.models.basemodel:2032: 2025-01-08 20:18:54.666305 - step 55 of 96 - 1611 active elements (1389 deactivated)
17:20:49 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.007397738 to -0.00046937386) found for ocean_vertical_diffusivity, replacing with NaN
17:20:49 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:20:49 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:49 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:50 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:50 INFO    opendrift.models.basemodel:2032: 2025-01-08 20:48:54.666305 - step 56 of 96 - 1611 active elements (1389 deactivated)
17:20:50 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:50 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:50 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:50 INFO    opendrift.models.basemodel:2032: 2025-01-08 21:18:54.666305 - step 57 of 96 - 1611 active elements (1389 deactivated)
17:20:53 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.008759668 to -0.0005316897) found for ocean_vertical_diffusivity, replacing with NaN
17:20:53 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:20:53 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:53 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:53 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:53 INFO    opendrift.models.basemodel:2032: 2025-01-08 21:48:54.666305 - step 58 of 96 - 1611 active elements (1389 deactivated)
17:20:53 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:53 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:53 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:53 INFO    opendrift.models.basemodel:2032: 2025-01-08 22:18:54.666305 - step 59 of 96 - 1611 active elements (1389 deactivated)
17:20:57 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.00969082 to -0.0004460742) found for ocean_vertical_diffusivity, replacing with NaN
17:20:57 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:20:57 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:57 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:57 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:57 INFO    opendrift.models.basemodel:2032: 2025-01-08 22:48:54.666305 - step 60 of 96 - 1611 active elements (1389 deactivated)
17:20:57 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:57 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:20:57 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:20:57 INFO    opendrift.models.basemodel:2032: 2025-01-08 23:18:54.666305 - step 61 of 96 - 1611 active elements (1389 deactivated)
17:21:01 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.010087698 to -0.00047580857) found for ocean_vertical_diffusivity, replacing with NaN
17:21:01 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:21:01 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:01 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:01 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:01 INFO    opendrift.models.basemodel:2032: 2025-01-08 23:48:54.666305 - step 62 of 96 - 1611 active elements (1389 deactivated)
17:21:01 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:01 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:01 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:01 INFO    opendrift.models.basemodel:2032: 2025-01-09 00:18:54.666305 - step 63 of 96 - 1611 active elements (1389 deactivated)
17:21:04 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.009918414 to -0.00049816776) found for ocean_vertical_diffusivity, replacing with NaN
17:21:04 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:21:04 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:04 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:04 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:04 INFO    opendrift.models.basemodel:2032: 2025-01-09 00:48:54.666305 - step 64 of 96 - 1611 active elements (1389 deactivated)
17:21:04 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:04 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:04 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:04 INFO    opendrift.models.basemodel:2032: 2025-01-09 01:18:54.666305 - step 65 of 96 - 1611 active elements (1389 deactivated)
17:21:07 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.010871108 to -0.0012971396) found for ocean_vertical_diffusivity, replacing with NaN
17:21:07 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:21:07 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:07 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:07 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:07 INFO    opendrift.models.basemodel:2032: 2025-01-09 01:48:54.666305 - step 66 of 96 - 1611 active elements (1389 deactivated)
17:21:07 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:07 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:07 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:07 INFO    opendrift.models.basemodel:2032: 2025-01-09 02:18:54.666305 - step 67 of 96 - 1611 active elements (1389 deactivated)
17:21:11 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.023733208 to -0.003424828) found for ocean_vertical_diffusivity, replacing with NaN
17:21:11 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:21:11 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:11 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:11 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:11 INFO    opendrift.models.basemodel:2032: 2025-01-09 02:48:54.666305 - step 68 of 96 - 1611 active elements (1389 deactivated)
17:21:11 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:11 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:11 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:11 INFO    opendrift.models.basemodel:2032: 2025-01-09 03:18:54.666305 - step 69 of 96 - 1611 active elements (1389 deactivated)
17:21:14 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.028606739 to -0.001518444) found for ocean_vertical_diffusivity, replacing with NaN
17:21:14 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:21:14 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:14 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:14 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:14 INFO    opendrift.models.basemodel:2032: 2025-01-09 03:48:54.666305 - step 70 of 96 - 1611 active elements (1389 deactivated)
17:21:14 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:14 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:14 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:14 INFO    opendrift.models.basemodel:2032: 2025-01-09 04:18:54.666305 - step 71 of 96 - 1611 active elements (1389 deactivated)
17:21:18 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.020848246 to -0.0016542404) found for ocean_vertical_diffusivity, replacing with NaN
17:21:18 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:21:18 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:18 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:18 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:18 INFO    opendrift.models.basemodel:2032: 2025-01-09 04:48:54.666305 - step 72 of 96 - 1611 active elements (1389 deactivated)
17:21:18 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:18 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:18 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:18 INFO    opendrift.models.basemodel:2032: 2025-01-09 05:18:54.666305 - step 73 of 96 - 1611 active elements (1389 deactivated)
17:21:21 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.021234984 to -0.0012594957) found for ocean_vertical_diffusivity, replacing with NaN
17:21:21 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:21:21 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:21 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:22 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:22 INFO    opendrift.models.basemodel:2032: 2025-01-09 05:48:54.666305 - step 74 of 96 - 1611 active elements (1389 deactivated)
17:21:22 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:22 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:22 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:22 INFO    opendrift.models.basemodel:2032: 2025-01-09 06:18:54.666305 - step 75 of 96 - 1611 active elements (1389 deactivated)
17:21:25 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.02067747 to -0.0011293669) found for ocean_vertical_diffusivity, replacing with NaN
17:21:25 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:21:25 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:25 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:25 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:25 INFO    opendrift.models.basemodel:2032: 2025-01-09 06:48:54.666305 - step 76 of 96 - 1611 active elements (1389 deactivated)
17:21:25 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:25 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:25 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:25 INFO    opendrift.models.basemodel:2032: 2025-01-09 07:18:54.666305 - step 77 of 96 - 1611 active elements (1389 deactivated)
17:21:29 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.012011412 to -0.00068374915) found for ocean_vertical_diffusivity, replacing with NaN
17:21:29 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:21:29 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:29 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:29 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:29 INFO    opendrift.models.basemodel:2032: 2025-01-09 07:48:54.666305 - step 78 of 96 - 1611 active elements (1389 deactivated)
17:21:29 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:29 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:29 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:29 INFO    opendrift.models.basemodel:2032: 2025-01-09 08:18:54.666305 - step 79 of 96 - 1611 active elements (1389 deactivated)
17:21:32 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.010244137 to -0.00049795344) found for ocean_vertical_diffusivity, replacing with NaN
17:21:32 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:21:32 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:32 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:32 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:32 INFO    opendrift.models.basemodel:2032: 2025-01-09 08:48:54.666305 - step 80 of 96 - 1611 active elements (1389 deactivated)
17:21:32 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:32 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:32 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:32 INFO    opendrift.models.basemodel:2032: 2025-01-09 09:18:54.666305 - step 81 of 96 - 1611 active elements (1389 deactivated)
17:21:36 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.007974043 to -0.00053484424) found for ocean_vertical_diffusivity, replacing with NaN
17:21:36 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:21:36 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:36 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:36 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:36 INFO    opendrift.models.basemodel:2032: 2025-01-09 09:48:54.666305 - step 82 of 96 - 1611 active elements (1389 deactivated)
17:21:36 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:36 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:36 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:36 INFO    opendrift.models.basemodel:2032: 2025-01-09 10:18:54.666305 - step 83 of 96 - 1611 active elements (1389 deactivated)
17:21:39 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0093221 to -0.000495033) found for ocean_vertical_diffusivity, replacing with NaN
17:21:39 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:21:39 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:39 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:39 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:39 INFO    opendrift.models.basemodel:2032: 2025-01-09 10:48:54.666305 - step 84 of 96 - 1611 active elements (1389 deactivated)
17:21:39 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:39 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:39 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:39 INFO    opendrift.models.basemodel:2032: 2025-01-09 11:18:54.666305 - step 85 of 96 - 1611 active elements (1389 deactivated)
17:21:43 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.008702208 to -0.00035485724) found for ocean_vertical_diffusivity, replacing with NaN
17:21:43 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:21:43 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:43 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:43 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:43 INFO    opendrift.models.basemodel:2032: 2025-01-09 11:48:54.666305 - step 86 of 96 - 1611 active elements (1389 deactivated)
17:21:43 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:43 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:43 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:43 INFO    opendrift.models.basemodel:2032: 2025-01-09 12:18:54.666305 - step 87 of 96 - 1611 active elements (1389 deactivated)
17:21:47 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0058906996 to -0.00023562119) found for ocean_vertical_diffusivity, replacing with NaN
17:21:47 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:21:47 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:47 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:48 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:48 INFO    opendrift.models.basemodel:2032: 2025-01-09 12:48:54.666305 - step 88 of 96 - 1611 active elements (1389 deactivated)
17:21:48 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:48 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:48 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:48 INFO    opendrift.models.basemodel:2032: 2025-01-09 13:18:54.666305 - step 89 of 96 - 1611 active elements (1389 deactivated)
17:21:51 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.007164927 to -0.0006974674) found for ocean_vertical_diffusivity, replacing with NaN
17:21:51 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:21:51 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:51 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:51 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:51 INFO    opendrift.models.basemodel:2032: 2025-01-09 13:48:54.666305 - step 90 of 96 - 1611 active elements (1389 deactivated)
17:21:51 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:51 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:51 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:51 INFO    opendrift.models.basemodel:2032: 2025-01-09 14:18:54.666305 - step 91 of 96 - 1611 active elements (1389 deactivated)
17:21:55 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0130099105 to -0.0021758052) found for ocean_vertical_diffusivity, replacing with NaN
17:21:55 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:21:55 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:55 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:55 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:55 INFO    opendrift.models.basemodel:2032: 2025-01-09 14:48:54.666305 - step 92 of 96 - 1611 active elements (1389 deactivated)
17:21:55 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:55 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:55 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:55 INFO    opendrift.models.basemodel:2032: 2025-01-09 15:18:54.666305 - step 93 of 96 - 1611 active elements (1389 deactivated)
17:21:59 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.015341199 to -0.0012670909) found for ocean_vertical_diffusivity, replacing with NaN
17:21:59 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:21:59 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:59 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:59 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:59 INFO    opendrift.models.basemodel:2032: 2025-01-09 15:48:54.666305 - step 94 of 96 - 1611 active elements (1389 deactivated)
17:21:59 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:59 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:21:59 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:21:59 INFO    opendrift.models.basemodel:2032: 2025-01-09 16:18:54.666305 - step 95 of 96 - 1611 active elements (1389 deactivated)
17:22:02 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.01428081 to -0.0021219344) found for ocean_vertical_diffusivity, replacing with NaN
17:22:02 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:22:02 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:22:02 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:22:03 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:22:03 INFO    opendrift.models.basemodel:2032: 2025-01-09 16:48:54.666305 - step 96 of 96 - 1611 active elements (1389 deactivated)
17:22:03 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:22:03 WARNING opendrift:123: Only NaNs input to linearNDFast - returning
17:22:03 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice

Print and plot results

print(o)
o.animation(background='sea_ice_area_fraction', cmap=cmocean.cm.ice,
            vmin=0, vmax=1, bgalpha=1, fast=False)
===========================
--------------------
Reader performance:
--------------------
global_landmask
 0:00:01.5  total
 0:00:00.0  preparing
 0:00:01.5  reading
 0:00:00.0  masking
--------------------
https://thredds.met.no/thredds/dodsC/fou-hi/barents_eps_zdepth_be
 0:02:49.5  total
 0:00:00.0  preparing
 0:02:46.8  reading
 0:00:01.2  interpolation
 0:00:00.1  interpolation_time
 0:00:02.7  rotating vectors
 0:00:00.0  masking
--------------------
Performance:
 3:08.6 total time
    4.3 configuration
    0.2 preparing main loop
      0.0 moving elements to ocean
 3:04.1 main loop
      5.5 updating elements
        0.0 oil weathering
          0.0 updating viscosities
          0.0 updating densities
        5.1 vertical mixing
    0.0 cleaning up
--------------------
===========================
Model:  OpenOil     (OpenDrift version 1.12.0)
        1611 active Oil particles  (1389 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
  upward_sea_water_velocity
  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-01-07 17:18:54.666305 UTC
        Present: 2025-01-09 17:18:54.666305 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.11/site-packages/cartopy/mpl/geoaxes.py:1692: UserWarning: No data for colormapping provided via 'c'. Parameters 'cmap', 'vmin', 'vmax' will be ignored
  result = super().scatter(*args, **kwargs)
17:22:18 INFO    opendrift.models.basemodel:4606: Saving animation to /root/project/docs/source/gallery/animations/example_oil_ice_0.gif...
17:22:59 INFO    opendrift.models.basemodel:3034: Time to make animation: 0:00:55.703170
../_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-01-07 17:18 to 2025-01-09 17:18 UTC (49 steps)
(<GeoAxes: title={'center': 'OpenDrift - OpenOil (GENERIC BUNKER C)\n2025-01-07 17:18 to 2025-01-09 17:18 UTC (49 steps)'}>, <Figure size 670.874x1100 with 2 Axes>)

Total running time of the script: (4 minutes 22.165 seconds)

Gallery generated by Sphinx-Gallery