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)
10:42:13 INFO    opendrift:509: OpenDriftSimulation initialised (version 1.13.1 / v1.13.1-25-g5021161)

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))
10:42:13 INFO    opendrift.models.openoil.openoil:1701: Oil type not specified, using default: GENERIC BUNKER C
10:42:13 INFO    opendrift.models.openoil.adios.dirjs:86: Querying ADIOS database for oil: GENERIC BUNKER C
10:42:13 INFO    opendrift.models.openoil.openoil:1710: Using density 988.1 and viscosity 0.021692333877975645 of oiltype GENERIC BUNKER C
10:42:13 INFO    opendrift.models.basemodel.environment:206: Adding a global landmask from GSHHG
10:42:17 INFO    opendrift.models.basemodel.environment:229: Fallback values will be used for the following variables which have no readers:
10:42:17 INFO    opendrift.models.basemodel.environment:232:    sea_surface_height: 0.000000
10:42:17 INFO    opendrift.models.basemodel.environment:232:    upward_sea_water_velocity: 0.000000
10:42:17 INFO    opendrift.models.basemodel.environment:232:    sea_surface_wave_significant_height: 0.000000
10:42:17 INFO    opendrift.models.basemodel.environment:232:    sea_surface_wave_stokes_drift_x_velocity: 0.000000
10:42:17 INFO    opendrift.models.basemodel.environment:232:    sea_surface_wave_stokes_drift_y_velocity: 0.000000
10:42:17 INFO    opendrift.models.basemodel.environment:232:    sea_surface_wave_period_at_variance_spectral_density_maximum: 0.000000
10:42:17 INFO    opendrift.models.basemodel.environment:232:    sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment: 0.000000
10:42:17 INFO    opendrift.models.basemodel.environment:232:    sea_ice_area_fraction: 0.000000
10:42:17 INFO    opendrift.models.basemodel.environment:232:    sea_ice_x_velocity: 0.000000
10:42:17 INFO    opendrift.models.basemodel.environment:232:    sea_ice_y_velocity: 0.000000
10:42:17 INFO    opendrift.models.basemodel.environment:232:    sea_water_temperature: 10.000000
10:42:17 INFO    opendrift.models.basemodel.environment:232:    sea_water_salinity: 34.000000
10:42:17 INFO    opendrift.models.basemodel.environment:232:    sea_floor_depth_below_sea_level: 10000.000000
10:42:17 INFO    opendrift.models.basemodel.environment:232:    ocean_vertical_diffusivity: 0.020000
10:42:17 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)
10:42:17 INFO    opendrift:923: Using existing reader for land_binary_mask
10:42:17 INFO    opendrift:934: All points are in ocean
10:42:17 INFO    opendrift.models.openoil.openoil:685: Oil-water surface tension is 0.035935 Nm
10:42:17 INFO    opendrift.models.openoil.openoil:698: Max water fraction not available for GENERIC BUNKER C, using default
10:42:17 INFO    opendrift:2060: 2025-04-15 10:42:13.199109 - step 1 of 96 - 3000 active elements (0 deactivated)
10:42:17 INFO    opendrift.readers:61: Opening file with xr.open_dataset
10:44:21 INFO    opendrift.readers.reader_netCDF_CF_generic:332: Detected dimensions: {'x': 'X', 'y': 'Y', 'z': 'depth', 'time': 'time'}
10:44:21 INFO    opendrift.readers.basereader:176: Variable x_sea_water_velocity will be rotated from eastward_sea_water_velocity
10:44:21 INFO    opendrift.readers.basereader:176: Variable y_sea_water_velocity will be rotated from northward_sea_water_velocity
10:44:25 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.023232596 to -0.008693128) found for ocean_vertical_diffusivity, replacing with NaN
10:44:25 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:44:28 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.020554576 to -0.007160908) found for ocean_vertical_diffusivity, replacing with NaN
10:44:28 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:44:28 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:28 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:29 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:44:29 INFO    opendrift:2060: 2025-04-15 11:12:13.199109 - step 2 of 96 - 3000 active elements (0 deactivated)
10:44:32 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.02203545 to -0.0069221016) found for ocean_vertical_diffusivity, replacing with NaN
10:44:32 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:44:32 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:32 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:32 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:44:32 INFO    opendrift:2060: 2025-04-15 11:42:13.199109 - step 3 of 96 - 3000 active elements (0 deactivated)
10:44:32 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:32 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:32 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:44:32 INFO    opendrift:2060: 2025-04-15 12:12:13.199109 - step 4 of 96 - 3000 active elements (0 deactivated)
10:44:36 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.020334808 to -0.0065830494) found for ocean_vertical_diffusivity, replacing with NaN
10:44:36 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:44:36 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:36 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:36 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:44:36 INFO    opendrift:2060: 2025-04-15 12:42:13.199109 - step 5 of 96 - 3000 active elements (0 deactivated)
10:44:36 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:36 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:36 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:44:36 INFO    opendrift:2060: 2025-04-15 13:12:13.199109 - step 6 of 96 - 3000 active elements (0 deactivated)
10:44:41 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.014581103 to -0.0031379983) found for ocean_vertical_diffusivity, replacing with NaN
10:44:41 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:44:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:41 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:44:41 INFO    opendrift:2060: 2025-04-15 13:42:13.199109 - step 7 of 96 - 3000 active elements (0 deactivated)
10:44:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:43 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:44:43 INFO    opendrift:2060: 2025-04-15 14:12:13.199109 - step 8 of 96 - 2992 active elements (8 deactivated)
10:44:46 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.01692625 to -0.0020106237) found for ocean_vertical_diffusivity, replacing with NaN
10:44:46 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:44:46 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:46 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:46 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:44:46 INFO    opendrift:2060: 2025-04-15 14:42:13.199109 - step 9 of 96 - 2950 active elements (50 deactivated)
10:44:46 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:46 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:46 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:44:46 INFO    opendrift:2060: 2025-04-15 15:12:13.199109 - step 10 of 96 - 2821 active elements (179 deactivated)
10:44:50 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.00987304 to -0.0009097695) found for ocean_vertical_diffusivity, replacing with NaN
10:44:50 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:44:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:50 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:44:50 INFO    opendrift:2060: 2025-04-15 15:42:13.199109 - step 11 of 96 - 2407 active elements (593 deactivated)
10:44:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:50 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:44:50 INFO    opendrift:2060: 2025-04-15 16:12:13.199109 - step 12 of 96 - 1605 active elements (1395 deactivated)
10:44:54 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.0022823378 to -8.664061e-05) found for ocean_vertical_diffusivity, replacing with NaN
10:44:54 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:44:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:54 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:44:54 INFO    opendrift:2060: 2025-04-15 16:42:13.199109 - step 13 of 96 - 981 active elements (2019 deactivated)
10:44:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:54 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:44:54 INFO    opendrift:2060: 2025-04-15 17:12:13.199109 - step 14 of 96 - 748 active elements (2252 deactivated)
10:44:58 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.0075751264 to -0.00036183893) found for ocean_vertical_diffusivity, replacing with NaN
10:44:58 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:44:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:58 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:44:58 INFO    opendrift:2060: 2025-04-15 17:42:13.199109 - step 15 of 96 - 699 active elements (2301 deactivated)
10:44:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:44:58 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:44:58 INFO    opendrift:2060: 2025-04-15 18:12:13.199109 - step 16 of 96 - 690 active elements (2310 deactivated)
10:45:01 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.027409438 to -0.0050631505) found for ocean_vertical_diffusivity, replacing with NaN
10:45:01 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:45:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:01 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:01 INFO    opendrift:2060: 2025-04-15 18:42:13.199109 - step 17 of 96 - 690 active elements (2310 deactivated)
10:45:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:02 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:02 INFO    opendrift:2060: 2025-04-15 19:12:13.199109 - step 18 of 96 - 690 active elements (2310 deactivated)
10:45:05 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.054884337 to -0.00808725) found for ocean_vertical_diffusivity, replacing with NaN
10:45:05 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:45:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:05 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:05 INFO    opendrift:2060: 2025-04-15 19:42:13.199109 - step 19 of 96 - 690 active elements (2310 deactivated)
10:45:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:05 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:05 INFO    opendrift:2060: 2025-04-15 20:12:13.199109 - step 20 of 96 - 690 active elements (2310 deactivated)
10:45:08 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.060725242 to -0.0071044015) found for ocean_vertical_diffusivity, replacing with NaN
10:45:08 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:45:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:08 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:08 INFO    opendrift:2060: 2025-04-15 20:42:13.199109 - step 21 of 96 - 690 active elements (2310 deactivated)
10:45:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:08 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:08 INFO    opendrift:2060: 2025-04-15 21:12:13.199109 - step 22 of 96 - 690 active elements (2310 deactivated)
10:45:12 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.03675153 to -0.0064130346) found for ocean_vertical_diffusivity, replacing with NaN
10:45:12 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:45:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:12 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:12 INFO    opendrift:2060: 2025-04-15 21:42:13.199109 - step 23 of 96 - 689 active elements (2311 deactivated)
10:45:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:12 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:12 INFO    opendrift:2060: 2025-04-15 22:12:13.199109 - step 24 of 96 - 688 active elements (2312 deactivated)
10:45:15 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.02451388 to -0.004208894) found for ocean_vertical_diffusivity, replacing with NaN
10:45:15 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:45:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:15 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:15 INFO    opendrift:2060: 2025-04-15 22:42:13.199109 - step 25 of 96 - 687 active elements (2313 deactivated)
10:45:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:15 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:15 INFO    opendrift:2060: 2025-04-15 23:12:13.199109 - step 26 of 96 - 687 active elements (2313 deactivated)
10:45:19 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.025568208 to -0.0049204812) found for ocean_vertical_diffusivity, replacing with NaN
10:45:19 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:45:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:19 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:19 INFO    opendrift:2060: 2025-04-15 23:42:13.199109 - step 27 of 96 - 686 active elements (2314 deactivated)
10:45:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:19 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:19 INFO    opendrift:2060: 2025-04-16 00:12:13.199109 - step 28 of 96 - 686 active elements (2314 deactivated)
10:45:23 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.027030472 to -0.0040096208) found for ocean_vertical_diffusivity, replacing with NaN
10:45:23 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:45:23 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:23 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:23 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:23 INFO    opendrift:2060: 2025-04-16 00:42:13.199109 - step 29 of 96 - 684 active elements (2316 deactivated)
10:45:23 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:23 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:23 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:23 INFO    opendrift:2060: 2025-04-16 01:12:13.199109 - step 30 of 96 - 681 active elements (2319 deactivated)
10:45:26 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.010905786 to -0.0021344358) found for ocean_vertical_diffusivity, replacing with NaN
10:45:26 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:45:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:27 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:27 INFO    opendrift:2060: 2025-04-16 01:42:13.199109 - step 31 of 96 - 680 active elements (2320 deactivated)
10:45:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:27 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:27 INFO    opendrift:2060: 2025-04-16 02:12:13.199109 - step 32 of 96 - 678 active elements (2322 deactivated)
10:45:30 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.035197396 to -0.0030690653) found for ocean_vertical_diffusivity, replacing with NaN
10:45:30 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:45:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:30 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:30 INFO    opendrift:2060: 2025-04-16 02:42:13.199109 - step 33 of 96 - 675 active elements (2325 deactivated)
10:45:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:30 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:30 INFO    opendrift:2060: 2025-04-16 03:12:13.199109 - step 34 of 96 - 674 active elements (2326 deactivated)
10:45:34 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.042591322 to -0.0021715811) found for ocean_vertical_diffusivity, replacing with NaN
10:45:34 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:45:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:34 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:34 INFO    opendrift:2060: 2025-04-16 03:42:13.199109 - step 35 of 96 - 674 active elements (2326 deactivated)
10:45:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:34 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:34 INFO    opendrift:2060: 2025-04-16 04:12:13.199109 - step 36 of 96 - 674 active elements (2326 deactivated)
10:45:37 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.010347886 to -4.0621558e-08) found for ocean_vertical_diffusivity, replacing with NaN
10:45:37 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:45:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:37 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:37 INFO    opendrift:2060: 2025-04-16 04:42:13.199109 - step 37 of 96 - 674 active elements (2326 deactivated)
10:45:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:37 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:37 INFO    opendrift:2060: 2025-04-16 05:12:13.199109 - step 38 of 96 - 674 active elements (2326 deactivated)
10:45:41 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.0042191683 to -3.3445776e-05) found for ocean_vertical_diffusivity, replacing with NaN
10:45:41 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:45:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:41 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:41 INFO    opendrift:2060: 2025-04-16 05:42:13.199109 - step 39 of 96 - 674 active elements (2326 deactivated)
10:45:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:41 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:41 INFO    opendrift:2060: 2025-04-16 06:12:13.199109 - step 40 of 96 - 674 active elements (2326 deactivated)
10:45:44 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.018587235 to -0.0016179766) found for ocean_vertical_diffusivity, replacing with NaN
10:45:44 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:45:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:44 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:44 INFO    opendrift:2060: 2025-04-16 06:42:13.199109 - step 41 of 96 - 674 active elements (2326 deactivated)
10:45:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:45 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:45 INFO    opendrift:2060: 2025-04-16 07:12:13.199109 - step 42 of 96 - 674 active elements (2326 deactivated)
10:45:48 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.05319534 to -0.008703328) found for ocean_vertical_diffusivity, replacing with NaN
10:45:48 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:45:48 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:48 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:48 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:48 INFO    opendrift:2060: 2025-04-16 07:42:13.199109 - step 43 of 96 - 674 active elements (2326 deactivated)
10:45:48 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:48 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:48 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:48 INFO    opendrift:2060: 2025-04-16 08:12:13.199109 - step 44 of 96 - 674 active elements (2326 deactivated)
10:45:52 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.074085385 to -0.011065249) found for ocean_vertical_diffusivity, replacing with NaN
10:45:52 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:45:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:52 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:52 INFO    opendrift:2060: 2025-04-16 08:42:13.199109 - step 45 of 96 - 674 active elements (2326 deactivated)
10:45:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:52 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:52 INFO    opendrift:2060: 2025-04-16 09:12:13.199109 - step 46 of 96 - 674 active elements (2326 deactivated)
10:45:55 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.045180272 to -0.00668235) found for ocean_vertical_diffusivity, replacing with NaN
10:45:55 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:45:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:55 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:55 INFO    opendrift:2060: 2025-04-16 09:42:13.199109 - step 47 of 96 - 673 active elements (2327 deactivated)
10:45:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:56 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:56 INFO    opendrift:2060: 2025-04-16 10:12:13.199109 - step 48 of 96 - 673 active elements (2327 deactivated)
10:45:59 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.023205828 to -0.0036193759) found for ocean_vertical_diffusivity, replacing with NaN
10:45:59 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:45:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:59 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:59 INFO    opendrift:2060: 2025-04-16 10:42:13.199109 - step 49 of 96 - 673 active elements (2327 deactivated)
10:45:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:45:59 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:45:59 INFO    opendrift:2060: 2025-04-16 11:12:13.199109 - step 50 of 96 - 673 active elements (2327 deactivated)
10:46:02 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.020356791 to -0.004235998) found for ocean_vertical_diffusivity, replacing with NaN
10:46:02 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:46:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:02 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:02 INFO    opendrift:2060: 2025-04-16 11:42:13.199109 - step 51 of 96 - 673 active elements (2327 deactivated)
10:46:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:02 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:02 INFO    opendrift:2060: 2025-04-16 12:12:13.199109 - step 52 of 96 - 673 active elements (2327 deactivated)
10:46:06 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.026898561 to -0.006439332) found for ocean_vertical_diffusivity, replacing with NaN
10:46:06 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:46:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:06 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:06 INFO    opendrift:2060: 2025-04-16 12:42:13.199109 - step 53 of 96 - 673 active elements (2327 deactivated)
10:46:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:06 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:06 INFO    opendrift:2060: 2025-04-16 13:12:13.199109 - step 54 of 96 - 673 active elements (2327 deactivated)
10:46:09 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.020340214 to -0.0042644255) found for ocean_vertical_diffusivity, replacing with NaN
10:46:09 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:46:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:09 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:09 INFO    opendrift:2060: 2025-04-16 13:42:13.199109 - step 55 of 96 - 673 active elements (2327 deactivated)
10:46:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:09 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:09 INFO    opendrift:2060: 2025-04-16 14:12:13.199109 - step 56 of 96 - 673 active elements (2327 deactivated)
10:46:13 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.017066047 to -0.0018836863) found for ocean_vertical_diffusivity, replacing with NaN
10:46:13 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:46:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:13 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:13 INFO    opendrift:2060: 2025-04-16 14:42:13.199109 - step 57 of 96 - 673 active elements (2327 deactivated)
10:46:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:13 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:13 INFO    opendrift:2060: 2025-04-16 15:12:13.199109 - step 58 of 96 - 673 active elements (2327 deactivated)
10:46:16 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.043863684 to -0.002366939) found for ocean_vertical_diffusivity, replacing with NaN
10:46:16 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:46:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:16 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:16 INFO    opendrift:2060: 2025-04-16 15:42:13.199109 - step 59 of 96 - 673 active elements (2327 deactivated)
10:46:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:16 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:17 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:17 INFO    opendrift:2060: 2025-04-16 16:12:13.199109 - step 60 of 96 - 673 active elements (2327 deactivated)
10:46:20 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.018755559 to -0.00014393454) found for ocean_vertical_diffusivity, replacing with NaN
10:46:20 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:46:20 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:20 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:20 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:20 INFO    opendrift:2060: 2025-04-16 16:42:13.199109 - step 61 of 96 - 673 active elements (2327 deactivated)
10:46:20 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:20 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:20 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:20 INFO    opendrift:2060: 2025-04-16 17:12:13.199109 - step 62 of 96 - 673 active elements (2327 deactivated)
10:46:23 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.003610649 to -9.763554e-05) found for ocean_vertical_diffusivity, replacing with NaN
10:46:23 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:46:23 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:24 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:24 INFO    opendrift:2060: 2025-04-16 17:42:13.199109 - step 63 of 96 - 672 active elements (2328 deactivated)
10:46:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:24 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:24 INFO    opendrift:2060: 2025-04-16 18:12:13.199109 - step 64 of 96 - 672 active elements (2328 deactivated)
10:46:27 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.015019829 to -0.0007694382) found for ocean_vertical_diffusivity, replacing with NaN
10:46:27 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:46:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:27 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:27 INFO    opendrift:2060: 2025-04-16 18:42:13.199109 - step 65 of 96 - 667 active elements (2333 deactivated)
10:46:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:27 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:27 INFO    opendrift:2060: 2025-04-16 19:12:13.199109 - step 66 of 96 - 662 active elements (2338 deactivated)
10:46:31 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.045749053 to -0.009084556) found for ocean_vertical_diffusivity, replacing with NaN
10:46:31 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:46:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:31 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:31 INFO    opendrift:2060: 2025-04-16 19:42:13.199109 - step 67 of 96 - 657 active elements (2343 deactivated)
10:46:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:31 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:31 INFO    opendrift:2060: 2025-04-16 20:12:13.199109 - step 68 of 96 - 652 active elements (2348 deactivated)
10:46:34 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.08142556 to -0.01063766) found for ocean_vertical_diffusivity, replacing with NaN
10:46:34 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:46:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:34 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:34 INFO    opendrift:2060: 2025-04-16 20:42:13.199109 - step 69 of 96 - 649 active elements (2351 deactivated)
10:46:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:34 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:34 INFO    opendrift:2060: 2025-04-16 21:12:13.199109 - step 70 of 96 - 646 active elements (2354 deactivated)
10:46:37 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.053144593 to -0.004590991) found for ocean_vertical_diffusivity, replacing with NaN
10:46:37 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:46:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:38 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:38 INFO    opendrift:2060: 2025-04-16 21:42:13.199109 - step 71 of 96 - 646 active elements (2354 deactivated)
10:46:38 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:38 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:38 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:38 INFO    opendrift:2060: 2025-04-16 22:12:13.199109 - step 72 of 96 - 645 active elements (2355 deactivated)
10:46:41 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.020528592 to -0.0020537677) found for ocean_vertical_diffusivity, replacing with NaN
10:46:41 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:46:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:41 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:41 INFO    opendrift:2060: 2025-04-16 22:42:13.199109 - step 73 of 96 - 645 active elements (2355 deactivated)
10:46:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:41 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:41 INFO    opendrift:2060: 2025-04-16 23:12:13.199109 - step 74 of 96 - 644 active elements (2356 deactivated)
10:46:45 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.0122265415 to -0.0008995257) found for ocean_vertical_diffusivity, replacing with NaN
10:46:45 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:46:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:45 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:45 INFO    opendrift:2060: 2025-04-16 23:42:13.199109 - step 75 of 96 - 643 active elements (2357 deactivated)
10:46:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:45 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:45 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:45 INFO    opendrift:2060: 2025-04-17 00:12:13.199109 - step 76 of 96 - 641 active elements (2359 deactivated)
10:46:48 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.016721627 to -0.0015802095) found for ocean_vertical_diffusivity, replacing with NaN
10:46:48 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:46:48 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:48 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:48 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:48 INFO    opendrift:2060: 2025-04-17 00:42:13.199109 - step 77 of 96 - 640 active elements (2360 deactivated)
10:46:48 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:48 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:48 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:48 INFO    opendrift:2060: 2025-04-17 01:12:13.199109 - step 78 of 96 - 640 active elements (2360 deactivated)
10:46:51 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.016959222 to -0.0019105582) found for ocean_vertical_diffusivity, replacing with NaN
10:46:51 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:46:51 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:51 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:51 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:51 INFO    opendrift:2060: 2025-04-17 01:42:13.199109 - step 79 of 96 - 639 active elements (2361 deactivated)
10:46:51 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:51 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:51 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:51 INFO    opendrift:2060: 2025-04-17 02:12:13.199109 - step 80 of 96 - 638 active elements (2362 deactivated)
10:46:54 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.01823335 to -0.0028670642) found for ocean_vertical_diffusivity, replacing with NaN
10:46:54 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:46:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:55 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:55 INFO    opendrift:2060: 2025-04-17 02:42:13.199109 - step 81 of 96 - 637 active elements (2363 deactivated)
10:46:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:55 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:55 INFO    opendrift:2060: 2025-04-17 03:12:13.199109 - step 82 of 96 - 636 active elements (2364 deactivated)
10:46:58 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.060356494 to -0.0036902875) found for ocean_vertical_diffusivity, replacing with NaN
10:46:58 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:46:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:58 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:58 INFO    opendrift:2060: 2025-04-17 03:42:13.199109 - step 83 of 96 - 636 active elements (2364 deactivated)
10:46:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:58 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:46:58 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:46:58 INFO    opendrift:2060: 2025-04-17 04:12:13.199109 - step 84 of 96 - 636 active elements (2364 deactivated)
10:47:01 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.040430922 to -0.001962274) found for ocean_vertical_diffusivity, replacing with NaN
10:47:01 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:47:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:01 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:47:01 INFO    opendrift:2060: 2025-04-17 04:42:13.199109 - step 85 of 96 - 636 active elements (2364 deactivated)
10:47:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:01 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:47:01 INFO    opendrift:2060: 2025-04-17 05:12:13.199109 - step 86 of 96 - 635 active elements (2365 deactivated)
10:47:04 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.0061856257 to -7.329144e-05) found for ocean_vertical_diffusivity, replacing with NaN
10:47:04 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:47:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:04 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:47:04 INFO    opendrift:2060: 2025-04-17 05:42:13.199109 - step 87 of 96 - 635 active elements (2365 deactivated)
10:47:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:04 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:47:04 INFO    opendrift:2060: 2025-04-17 06:12:13.199109 - step 88 of 96 - 634 active elements (2366 deactivated)
10:47:08 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.006496333 to -0.00020889477) found for ocean_vertical_diffusivity, replacing with NaN
10:47:08 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:47:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:08 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:47:08 INFO    opendrift:2060: 2025-04-17 06:42:13.199109 - step 89 of 96 - 634 active elements (2366 deactivated)
10:47:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:08 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:47:08 INFO    opendrift:2060: 2025-04-17 07:12:13.199109 - step 90 of 96 - 631 active elements (2369 deactivated)
10:47:11 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.026302902 to -0.0027662294) found for ocean_vertical_diffusivity, replacing with NaN
10:47:11 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:47:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:11 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:47:11 INFO    opendrift:2060: 2025-04-17 07:42:13.199109 - step 91 of 96 - 631 active elements (2369 deactivated)
10:47:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:11 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:47:11 INFO    opendrift:2060: 2025-04-17 08:12:13.199109 - step 92 of 96 - 630 active elements (2370 deactivated)
10:47:14 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.067141116 to -0.0039811367) found for ocean_vertical_diffusivity, replacing with NaN
10:47:14 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:47:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:14 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:47:14 INFO    opendrift:2060: 2025-04-17 08:42:13.199109 - step 93 of 96 - 629 active elements (2371 deactivated)
10:47:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:14 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:47:14 INFO    opendrift:2060: 2025-04-17 09:12:13.199109 - step 94 of 96 - 628 active elements (2372 deactivated)
10:47:18 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.05949098 to -0.004379324) found for ocean_vertical_diffusivity, replacing with NaN
10:47:18 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:47:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:18 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:47:18 INFO    opendrift:2060: 2025-04-17 09:42:13.199109 - step 95 of 96 - 628 active elements (2372 deactivated)
10:47:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:18 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
10:47:18 INFO    opendrift:2060: 2025-04-17 10:12:13.199109 - step 96 of 96 - 628 active elements (2372 deactivated)
10:47:22 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.025502563 to -0.0029360608) found for ocean_vertical_diffusivity, replacing with NaN
10:47:22 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
10:47:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
10:47:22 INFO    opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
<xarray.Dataset> Size: 26MB
Dimensions:                                                                              (
                                                                                          trajectory: 3000,
                                                                                          time: 49)
Coordinates:
  * trajectory                                                                           (trajectory) int64 24kB ...
  * time                                                                                 (time) datetime64[ns] 392B ...
Data variables: (12/44)
    status                                                                               (trajectory, time) float32 588kB ...
    moving                                                                               (trajectory, time) float32 588kB ...
    age_seconds                                                                          (trajectory, time) float32 588kB ...
    origin_marker                                                                        (trajectory, time) float32 588kB ...
    lon                                                                                  (trajectory, time) float32 588kB ...
    lat                                                                                  (trajectory, time) float32 588kB ...
    ...                                                                                   ...
    sea_water_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/162)
    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.6  total
 0:00:00.0  preparing
 0:00:01.6  reading
 0:00:00.0  masking
--------------------
https://thredds.met.no/thredds/dodsC/fou-hi/barents_eps_zdepth_be
 0:02:49.5  total
 0:00:00.0  preparing
 0:02:47.4  reading
 0:00:00.7  interpolation
 0:00:00.1  interpolation_time
 0:00:02.0  rotating vectors
 0:00:00.0  masking
--------------------
Performance:
 5:09.5 total time
    4.6 configuration
    0.1 preparing main loop
      0.0 moving elements to ocean
 5:04.8 main loop
      3.8 updating elements
        0.0 oil weathering
          0.0 updating viscosities
          0.0 updating densities
        3.5 vertical mixing
    0.0 cleaning up
--------------------
===========================
Model:  OpenOil     (OpenDrift version 1.13.1)
        628 active Oil particles  (2372 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-04-15 10:42:13.199109 UTC
        Present: 2025-04-17 10:42:13.199109 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 'vmin', 'vmax' will be ignored
  result = super().scatter(*args, **kwargs)
10:47:35 INFO    opendrift:4607: Saving animation to /root/project/docs/source/gallery/animations/example_oil_ice_0.gif...
10:48:10 INFO    opendrift:3043: Time to make animation: 0:00:47.809461
../_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-04-15 10:42 to 2025-04-17 10:42 UTC (49 steps)
(<GeoAxes: title={'center': 'OpenDrift - OpenOil (GENERIC BUNKER C)\n2025-04-15 10:42 to 2025-04-17 10:42 UTC (49 steps)'}>, <Figure size 555.436x1100 with 2 Axes>)

Total running time of the script: (6 minutes 13.612 seconds)

Gallery generated by Sphinx-Gallery