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:08:43 INFO    opendrift:509: OpenDriftSimulation initialised (version 1.13.0 / v1.13.0-15-g93fccf7)

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:08:43 INFO    opendrift.models.openoil.openoil:1692: Oil type not specified, using default: GENERIC BUNKER C
17:08:43 INFO    opendrift.models.openoil.adios.dirjs:86: Querying ADIOS database for oil: GENERIC BUNKER C
17:08:43 INFO    opendrift.models.openoil.openoil:1701: Using density 988.1 and viscosity 0.021692333877975645 of oiltype GENERIC BUNKER C
17:08:43 INFO    opendrift.models.basemodel.environment:206: 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:08:47 INFO    opendrift.models.basemodel.environment:233: Fallback values will be used for the following variables which have no readers:
17:08:47 INFO    opendrift.models.basemodel.environment:236:    sea_surface_height: 0.000000
17:08:47 INFO    opendrift.models.basemodel.environment:236:    upward_sea_water_velocity: 0.000000
17:08:47 INFO    opendrift.models.basemodel.environment:236:    sea_surface_wave_significant_height: 0.000000
17:08:47 INFO    opendrift.models.basemodel.environment:236:    sea_surface_wave_stokes_drift_x_velocity: 0.000000
17:08:47 INFO    opendrift.models.basemodel.environment:236:    sea_surface_wave_stokes_drift_y_velocity: 0.000000
17:08:47 INFO    opendrift.models.basemodel.environment:236:    sea_surface_wave_period_at_variance_spectral_density_maximum: 0.000000
17:08:47 INFO    opendrift.models.basemodel.environment:236:    sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment: 0.000000
17:08:47 INFO    opendrift.models.basemodel.environment:236:    sea_ice_area_fraction: 0.000000
17:08:47 INFO    opendrift.models.basemodel.environment:236:    sea_ice_x_velocity: 0.000000
17:08:47 INFO    opendrift.models.basemodel.environment:236:    sea_ice_y_velocity: 0.000000
17:08:47 INFO    opendrift.models.basemodel.environment:236:    sea_water_temperature: 10.000000
17:08:47 INFO    opendrift.models.basemodel.environment:236:    sea_water_salinity: 34.000000
17:08:47 INFO    opendrift.models.basemodel.environment:236:    sea_floor_depth_below_sea_level: 10000.000000
17:08:47 INFO    opendrift.models.basemodel.environment:236:    ocean_vertical_diffusivity: 0.020000
17:08:47 INFO    opendrift.models.basemodel.environment:236:    ocean_mixed_layer_thickness: 50.000000

Running model

o.run(duration=timedelta(hours=48), time_step=1800, time_step_output=3600)
17:08:47 INFO    opendrift:919: Using existing reader for land_binary_mask
17:08:47 INFO    opendrift:930: All points are in ocean
17:08:47 INFO    opendrift.models.openoil.openoil:684: Oil-water surface tension is 0.035935 Nm
17:08:47 INFO    opendrift.models.openoil.openoil:697: Max water fraction not available for GENERIC BUNKER C, using default
17:08:47 INFO    opendrift:2056: 2025-02-11 17:08:43.922672 - step 1 of 96 - 3000 active elements (0 deactivated)
17:08:47 INFO    opendrift.readers:58: Opening file with xr.open_dataset
17:08:50 INFO    opendrift.readers.reader_netCDF_CF_generic:338: Detected dimensions: {'x': 'X', 'y': 'Y', 'z': 'depth', 'time': 'time'}
17:08:50 INFO    opendrift.readers.basereader:176: Variable x_sea_water_velocity will be rotated from eastward_sea_water_velocity
17:08:50 INFO    opendrift.readers.basereader:176: Variable y_sea_water_velocity will be rotated from northward_sea_water_velocity
17:08:54 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0030903122 to -9.041024e-05) found for ocean_vertical_diffusivity, replacing with NaN
17:08:54 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:08:57 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.021610213 to -0.005173013) found for ocean_vertical_diffusivity, replacing with NaN
17:08:57 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:08:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:08:57 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:08:57 INFO    opendrift:2056: 2025-02-11 17:38:43.922672 - step 2 of 96 - 3000 active elements (0 deactivated)
17:08:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:08:57 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:08:57 INFO    opendrift:2056: 2025-02-11 18:08:43.922672 - step 3 of 96 - 3000 active elements (0 deactivated)
17:09:00 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.037650764 to -0.009083187) found for ocean_vertical_diffusivity, replacing with NaN
17:09:00 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:09:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:00 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:00 INFO    opendrift:2056: 2025-02-11 18:38:43.922672 - step 4 of 96 - 3000 active elements (0 deactivated)
17:09:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:00 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:00 INFO    opendrift:2056: 2025-02-11 19:08:43.922672 - step 5 of 96 - 3000 active elements (0 deactivated)
17:09:05 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.029430486 to -0.010267314) found for ocean_vertical_diffusivity, replacing with NaN
17:09:05 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:09:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:05 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:05 INFO    opendrift:2056: 2025-02-11 19:38:43.922672 - step 6 of 96 - 3000 active elements (0 deactivated)
17:09:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:05 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:05 INFO    opendrift:2056: 2025-02-11 20:08:43.922672 - step 7 of 96 - 3000 active elements (0 deactivated)
17:09:08 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.020366311 to -0.0070422506) found for ocean_vertical_diffusivity, replacing with NaN
17:09:08 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:09:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:08 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:08 INFO    opendrift:2056: 2025-02-11 20:38:43.922672 - step 8 of 96 - 3000 active elements (0 deactivated)
17:09:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:08 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:08 INFO    opendrift:2056: 2025-02-11 21:08:43.922672 - step 9 of 96 - 3000 active elements (0 deactivated)
17:09:11 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.014526273 to -0.005446271) found for ocean_vertical_diffusivity, replacing with NaN
17:09:11 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:09:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:11 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:11 INFO    opendrift:2056: 2025-02-11 21:38:43.922672 - step 10 of 96 - 3000 active elements (0 deactivated)
17:09:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:11 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:12 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:12 INFO    opendrift:2056: 2025-02-11 22:08:43.922672 - step 11 of 96 - 3000 active elements (0 deactivated)
17:09:14 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.012323341 to -0.0049759997) found for ocean_vertical_diffusivity, replacing with NaN
17:09:14 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:09:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:14 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:15 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:15 INFO    opendrift:2056: 2025-02-11 22:38:43.922672 - step 12 of 96 - 3000 active elements (0 deactivated)
17:09:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:15 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:15 INFO    opendrift:2056: 2025-02-11 23:08:43.922672 - step 13 of 96 - 3000 active elements (0 deactivated)
17:09:18 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.010780106 to -0.0038185436) found for ocean_vertical_diffusivity, replacing with NaN
17:09:18 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:09:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:19 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:19 INFO    opendrift:2056: 2025-02-11 23:38:43.922672 - step 14 of 96 - 3000 active elements (0 deactivated)
17:09:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:19 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:19 INFO    opendrift:2056: 2025-02-12 00:08:43.922672 - step 15 of 96 - 3000 active elements (0 deactivated)
17:09:24 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.007589056 to -0.0024380004) found for ocean_vertical_diffusivity, replacing with NaN
17:09:24 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:09:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:24 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:24 INFO    opendrift:2056: 2025-02-12 00:38:43.922672 - step 16 of 96 - 3000 active elements (0 deactivated)
17:09:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:24 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:24 INFO    opendrift:2056: 2025-02-12 01:08:43.922672 - step 17 of 96 - 3000 active elements (0 deactivated)
17:09:27 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0042084903 to -0.0007064631) found for ocean_vertical_diffusivity, replacing with NaN
17:09:27 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:09:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:27 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:27 INFO    opendrift:2056: 2025-02-12 01:38:43.922672 - step 18 of 96 - 3000 active elements (0 deactivated)
17:09:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:28 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:28 INFO    opendrift:2056: 2025-02-12 02:08:43.922672 - step 19 of 96 - 3000 active elements (0 deactivated)
17:09:30 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.001296826 to -0.00018702145) found for ocean_vertical_diffusivity, replacing with NaN
17:09:30 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:09:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:30 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:30 INFO    opendrift:2056: 2025-02-12 02:38:43.922672 - step 20 of 96 - 3000 active elements (0 deactivated)
17:09:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:31 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:31 INFO    opendrift:2056: 2025-02-12 03:08:43.922672 - step 21 of 96 - 3000 active elements (0 deactivated)
17:09:33 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0011282009 to -1.3698564e-05) found for ocean_vertical_diffusivity, replacing with NaN
17:09:33 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:09:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:34 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:34 INFO    opendrift:2056: 2025-02-12 03:38:43.922672 - step 22 of 96 - 3000 active elements (0 deactivated)
17:09:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:34 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:34 INFO    opendrift:2056: 2025-02-12 04:08:43.922672 - step 23 of 96 - 3000 active elements (0 deactivated)
17:09:38 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0055956673 to -0.0012615736) found for ocean_vertical_diffusivity, replacing with NaN
17:09:38 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:09:38 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:38 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:38 INFO    opendrift:2056: 2025-02-12 04:38:43.922672 - step 24 of 96 - 3000 active elements (0 deactivated)
17:09:38 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:39 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:39 INFO    opendrift:2056: 2025-02-12 05:08:43.922672 - step 25 of 96 - 3000 active elements (0 deactivated)
17:09:41 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.018501032 to -0.0045931586) found for ocean_vertical_diffusivity, replacing with NaN
17:09:41 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:09:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:41 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:41 INFO    opendrift:2056: 2025-02-12 05:38:43.922672 - step 26 of 96 - 3000 active elements (0 deactivated)
17:09:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:42 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:42 INFO    opendrift:2056: 2025-02-12 06:08:43.922672 - step 27 of 96 - 3000 active elements (0 deactivated)
17:09:46 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.037383743 to -0.008441759) found for ocean_vertical_diffusivity, replacing with NaN
17:09:46 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:09:46 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:46 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:46 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:46 INFO    opendrift:2056: 2025-02-12 06:38:43.922672 - step 28 of 96 - 3000 active elements (0 deactivated)
17:09:46 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:46 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:48 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:48 INFO    opendrift:2056: 2025-02-12 07:08:43.922672 - step 29 of 96 - 2999 active elements (1 deactivated)
17:09:51 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.034090597 to -0.008371335) found for ocean_vertical_diffusivity, replacing with NaN
17:09:51 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:09:51 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:51 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:51 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:51 INFO    opendrift:2056: 2025-02-12 07:38:43.922672 - step 30 of 96 - 2999 active elements (1 deactivated)
17:09:51 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:51 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:51 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:51 INFO    opendrift:2056: 2025-02-12 08:08:43.922672 - step 31 of 96 - 2997 active elements (3 deactivated)
17:09:54 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.022566937 to -0.004588785) found for ocean_vertical_diffusivity, replacing with NaN
17:09:54 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:09:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:54 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:54 INFO    opendrift:2056: 2025-02-12 08:38:43.922672 - step 32 of 96 - 2997 active elements (3 deactivated)
17:09:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:54 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:54 INFO    opendrift:2056: 2025-02-12 09:08:43.922672 - step 33 of 96 - 2997 active elements (3 deactivated)
17:09:57 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.012419646 to -0.003276131) found for ocean_vertical_diffusivity, replacing with NaN
17:09:57 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:09:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:57 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:57 INFO    opendrift:2056: 2025-02-12 09:38:43.922672 - step 34 of 96 - 2997 active elements (3 deactivated)
17:09:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:09:57 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:09:57 INFO    opendrift:2056: 2025-02-12 10:08:43.922672 - step 35 of 96 - 2997 active elements (3 deactivated)
17:10:00 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.010421713 to -0.0016303217) found for ocean_vertical_diffusivity, replacing with NaN
17:10:00 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:00 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:00 INFO    opendrift:2056: 2025-02-12 10:38:43.922672 - step 36 of 96 - 2996 active elements (4 deactivated)
17:10:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:00 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:00 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:00 INFO    opendrift:2056: 2025-02-12 11:08:43.922672 - step 37 of 96 - 2996 active elements (4 deactivated)
17:10:03 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.008640319 to -0.0012701281) found for ocean_vertical_diffusivity, replacing with NaN
17:10:03 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:03 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:03 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:03 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:03 INFO    opendrift:2056: 2025-02-12 11:38:43.922672 - step 38 of 96 - 2996 active elements (4 deactivated)
17:10:03 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:03 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:03 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:03 INFO    opendrift:2056: 2025-02-12 12:08:43.922672 - step 39 of 96 - 2996 active elements (4 deactivated)
17:10:06 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.006638156 to -0.0009073891) found for ocean_vertical_diffusivity, replacing with NaN
17:10:06 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:06 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:06 INFO    opendrift:2056: 2025-02-12 12:38:43.922672 - step 40 of 96 - 2995 active elements (5 deactivated)
17:10:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:06 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:06 INFO    opendrift:2056: 2025-02-12 13:08:43.922672 - step 41 of 96 - 2995 active elements (5 deactivated)
17:10:09 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0047008824 to -0.00020547266) found for ocean_vertical_diffusivity, replacing with NaN
17:10:09 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:09 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:09 INFO    opendrift:2056: 2025-02-12 13:38:43.922672 - step 42 of 96 - 2993 active elements (7 deactivated)
17:10:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:09 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:09 INFO    opendrift:2056: 2025-02-12 14:08:43.922672 - step 43 of 96 - 2993 active elements (7 deactivated)
17:10:12 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.00010562864 to -0.00010562864) found for ocean_vertical_diffusivity, replacing with NaN
17:10:12 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:12 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:12 INFO    opendrift:2056: 2025-02-12 14:38:43.922672 - step 44 of 96 - 2993 active elements (7 deactivated)
17:10:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:12 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:12 INFO    opendrift:2056: 2025-02-12 15:08:43.922672 - step 45 of 96 - 2992 active elements (8 deactivated)
17:10:15 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:15 INFO    opendrift:2056: 2025-02-12 15:38:43.922672 - step 46 of 96 - 2992 active elements (8 deactivated)
17:10:15 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:15 INFO    opendrift:2056: 2025-02-12 16:08:43.922672 - step 47 of 96 - 2989 active elements (11 deactivated)
17:10:18 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0022153435 to -4.233819e-05) found for ocean_vertical_diffusivity, replacing with NaN
17:10:18 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:18 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:18 INFO    opendrift:2056: 2025-02-12 16:38:43.922672 - step 48 of 96 - 2986 active elements (14 deactivated)
17:10:19 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:19 INFO    opendrift:2056: 2025-02-12 17:08:43.922672 - step 49 of 96 - 2981 active elements (19 deactivated)
17:10:21 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.01085887 to -0.0011231884) found for ocean_vertical_diffusivity, replacing with NaN
17:10:21 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:21 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:21 INFO    opendrift:2056: 2025-02-12 17:38:43.922672 - step 50 of 96 - 2977 active elements (23 deactivated)
17:10:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:22 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:22 INFO    opendrift:2056: 2025-02-12 18:08:43.922672 - step 51 of 96 - 2974 active elements (26 deactivated)
17:10:24 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.032453276 to -0.0039020788) found for ocean_vertical_diffusivity, replacing with NaN
17:10:24 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:24 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:24 INFO    opendrift:2056: 2025-02-12 18:38:43.922672 - step 52 of 96 - 2972 active elements (28 deactivated)
17:10:24 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:25 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:25 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:25 INFO    opendrift:2056: 2025-02-12 19:08:43.922672 - step 53 of 96 - 2969 active elements (31 deactivated)
17:10:27 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.04247284 to -0.0033894663) found for ocean_vertical_diffusivity, replacing with NaN
17:10:27 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:27 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:28 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:28 INFO    opendrift:2056: 2025-02-12 19:38:43.922672 - step 54 of 96 - 2966 active elements (34 deactivated)
17:10:28 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:28 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:28 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:28 INFO    opendrift:2056: 2025-02-12 20:08:43.922672 - step 55 of 96 - 2962 active elements (38 deactivated)
17:10:31 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.036300033 to -0.0034682464) found for ocean_vertical_diffusivity, replacing with NaN
17:10:31 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:31 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:31 INFO    opendrift:2056: 2025-02-12 20:38:43.922672 - step 56 of 96 - 2956 active elements (44 deactivated)
17:10:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:31 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:31 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:31 INFO    opendrift:2056: 2025-02-12 21:08:43.922672 - step 57 of 96 - 2953 active elements (47 deactivated)
17:10:34 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.027719498 to -0.0032131842) found for ocean_vertical_diffusivity, replacing with NaN
17:10:34 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:34 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:34 INFO    opendrift:2056: 2025-02-12 21:38:43.922672 - step 58 of 96 - 2952 active elements (48 deactivated)
17:10:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:34 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:34 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:34 INFO    opendrift:2056: 2025-02-12 22:08:43.922672 - step 59 of 96 - 2949 active elements (51 deactivated)
17:10:37 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.020438854 to -0.0030585416) found for ocean_vertical_diffusivity, replacing with NaN
17:10:37 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:37 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:37 INFO    opendrift:2056: 2025-02-12 22:38:43.922672 - step 60 of 96 - 2946 active elements (54 deactivated)
17:10:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:37 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:37 INFO    opendrift:2056: 2025-02-12 23:08:43.922672 - step 61 of 96 - 2944 active elements (56 deactivated)
17:10:40 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0153683415 to -0.0021103504) found for ocean_vertical_diffusivity, replacing with NaN
17:10:40 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:40 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:40 INFO    opendrift:2056: 2025-02-12 23:38:43.922672 - step 62 of 96 - 2939 active elements (61 deactivated)
17:10:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:41 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:41 INFO    opendrift:2056: 2025-02-13 00:08:43.922672 - step 63 of 96 - 2937 active elements (63 deactivated)
17:10:43 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.01184728 to -0.0009845624) found for ocean_vertical_diffusivity, replacing with NaN
17:10:43 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:43 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:43 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:44 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:44 INFO    opendrift:2056: 2025-02-13 00:38:43.922672 - step 64 of 96 - 2935 active elements (65 deactivated)
17:10:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:44 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:44 INFO    opendrift:2056: 2025-02-13 01:08:43.922672 - step 65 of 96 - 2933 active elements (67 deactivated)
17:10:46 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.008037644 to -0.0007528288) found for ocean_vertical_diffusivity, replacing with NaN
17:10:46 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:46 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:46 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:47 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:47 INFO    opendrift:2056: 2025-02-13 01:38:43.922672 - step 66 of 96 - 2927 active elements (73 deactivated)
17:10:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:47 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:47 INFO    opendrift:2056: 2025-02-13 02:08:43.922672 - step 67 of 96 - 2926 active elements (74 deactivated)
17:10:50 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.003889107 to -0.00032084083) found for ocean_vertical_diffusivity, replacing with NaN
17:10:50 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:50 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:50 INFO    opendrift:2056: 2025-02-13 02:38:43.922672 - step 68 of 96 - 2922 active elements (78 deactivated)
17:10:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:50 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:50 INFO    opendrift:2056: 2025-02-13 03:08:43.922672 - step 69 of 96 - 2919 active elements (81 deactivated)
17:10:53 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0010958856 to -8.283798e-05) found for ocean_vertical_diffusivity, replacing with NaN
17:10:53 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:53 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:53 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:53 INFO    opendrift:2056: 2025-02-13 03:38:43.922672 - step 70 of 96 - 2914 active elements (86 deactivated)
17:10:53 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:53 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:53 INFO    opendrift:2056: 2025-02-13 04:08:43.922672 - step 71 of 96 - 2910 active elements (90 deactivated)
17:10:56 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.00366529 to -0.00030126306) found for ocean_vertical_diffusivity, replacing with NaN
17:10:56 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:56 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:56 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:56 INFO    opendrift:2056: 2025-02-13 04:38:43.922672 - step 72 of 96 - 2909 active elements (91 deactivated)
17:10:56 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:56 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:56 INFO    opendrift:2056: 2025-02-13 05:08:43.922672 - step 73 of 96 - 2908 active elements (92 deactivated)
17:10:59 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.009370171 to -0.0018539017) found for ocean_vertical_diffusivity, replacing with NaN
17:10:59 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:10:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:59 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:59 INFO    opendrift:2056: 2025-02-13 05:38:43.922672 - step 74 of 96 - 2905 active elements (95 deactivated)
17:10:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:10:59 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:10:59 INFO    opendrift:2056: 2025-02-13 06:08:43.922672 - step 75 of 96 - 2901 active elements (99 deactivated)
17:11:02 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.021884255 to -0.0035205178) found for ocean_vertical_diffusivity, replacing with NaN
17:11:02 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:11:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:02 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:02 INFO    opendrift:2056: 2025-02-13 06:38:43.922672 - step 76 of 96 - 2897 active elements (103 deactivated)
17:11:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:02 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:02 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:02 INFO    opendrift:2056: 2025-02-13 07:08:43.922672 - step 77 of 96 - 2893 active elements (107 deactivated)
17:11:06 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.030382177 to -0.0057177856) found for ocean_vertical_diffusivity, replacing with NaN
17:11:06 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:11:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:06 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:06 INFO    opendrift:2056: 2025-02-13 07:38:43.922672 - step 78 of 96 - 2886 active elements (114 deactivated)
17:11:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:06 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:06 INFO    opendrift:2056: 2025-02-13 08:08:43.922672 - step 79 of 96 - 2880 active elements (120 deactivated)
17:11:09 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.030863814 to -0.0047635334) found for ocean_vertical_diffusivity, replacing with NaN
17:11:09 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:11:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:09 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:09 INFO    opendrift:2056: 2025-02-13 08:38:43.922672 - step 80 of 96 - 2870 active elements (130 deactivated)
17:11:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:09 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:09 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:09 INFO    opendrift:2056: 2025-02-13 09:08:43.922672 - step 81 of 96 - 2865 active elements (135 deactivated)
17:11:12 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.023738196 to -0.0032799623) found for ocean_vertical_diffusivity, replacing with NaN
17:11:12 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:11:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:12 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:12 INFO    opendrift:2056: 2025-02-13 09:38:43.922672 - step 82 of 96 - 2862 active elements (138 deactivated)
17:11:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:12 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:12 INFO    opendrift:2056: 2025-02-13 10:08:43.922672 - step 83 of 96 - 2858 active elements (142 deactivated)
17:11:15 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.015232803 to -0.0026469422) found for ocean_vertical_diffusivity, replacing with NaN
17:11:15 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:11:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:15 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:15 INFO    opendrift:2056: 2025-02-13 10:38:43.922672 - step 84 of 96 - 2855 active elements (145 deactivated)
17:11:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:16 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:16 INFO    opendrift:2056: 2025-02-13 11:08:43.922672 - step 85 of 96 - 2853 active elements (147 deactivated)
17:11:18 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.008571359 to -0.00087684585) found for ocean_vertical_diffusivity, replacing with NaN
17:11:18 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:11:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:18 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:18 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:19 INFO    opendrift:2056: 2025-02-13 11:38:43.922672 - step 86 of 96 - 2850 active elements (150 deactivated)
17:11:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:19 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:19 INFO    opendrift:2056: 2025-02-13 12:08:43.922672 - step 87 of 96 - 2847 active elements (153 deactivated)
17:11:21 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0065193726 to -0.0009739) found for ocean_vertical_diffusivity, replacing with NaN
17:11:21 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:11:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:21 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:22 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:22 INFO    opendrift:2056: 2025-02-13 12:38:43.922672 - step 88 of 96 - 2841 active elements (159 deactivated)
17:11:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:22 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:22 INFO    opendrift:2056: 2025-02-13 13:08:43.922672 - step 89 of 96 - 2838 active elements (162 deactivated)
17:11:25 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0076136542 to -0.00057678664) found for ocean_vertical_diffusivity, replacing with NaN
17:11:25 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:11:25 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:25 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:25 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:25 INFO    opendrift:2056: 2025-02-13 13:38:43.922672 - step 90 of 96 - 2836 active elements (164 deactivated)
17:11:25 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:25 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:26 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:26 INFO    opendrift:2056: 2025-02-13 14:08:43.922672 - step 91 of 96 - 2833 active elements (167 deactivated)
17:11:28 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0044397935 to -3.6752655e-05) found for ocean_vertical_diffusivity, replacing with NaN
17:11:28 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:11:28 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:28 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:28 INFO    opendrift:2056: 2025-02-13 14:38:43.922672 - step 92 of 96 - 2831 active elements (169 deactivated)
17:11:28 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
17:11:29 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:29 INFO    opendrift:2056: 2025-02-13 15:08:43.922672 - step 93 of 96 - 2827 active elements (173 deactivated)
17:11:32 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:32 INFO    opendrift:2056: 2025-02-13 15:38:43.922672 - step 94 of 96 - 2824 active elements (176 deactivated)
17:11:32 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:32 INFO    opendrift:2056: 2025-02-13 16:08:43.922672 - step 95 of 96 - 2818 active elements (182 deactivated)
17:11:35 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0005507874 to -7.4293953e-06) found for ocean_vertical_diffusivity, replacing with NaN
17:11:35 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
17:11:35 INFO    opendrift.models.openoil.openoil:1181: Ice concentration above 30%, using Nordam scheme for advection in ice
17:11:35 INFO    opendrift:2056: 2025-02-13 16:38:43.922672 - step 96 of 96 - 2818 active elements (182 deactivated)
17:11:35 INFO    opendrift.models.openoil.openoil:1181: 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:28.2  total
 0:00:00.0  preparing
 0:02:25.3  reading
 0:00:01.7  interpolation
 0:00:00.1  interpolation_time
 0:00:02.8  rotating vectors
 0:00:00.0  masking
--------------------
Performance:
 2:51.6 total time
    4.1 configuration
    0.0 preparing main loop
      0.0 moving elements to ocean
 2:47.5 main loop
      7.0 updating elements
        0.0 oil weathering
          0.0 updating viscosities
          0.0 updating densities
        6.4 vertical mixing
    0.0 cleaning up
--------------------
===========================
Model:  OpenOil     (OpenDrift version 1.13.0)
        2815 active Oil particles  (185 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-02-11 17:08:43.922672 UTC
        Present: 2025-02-13 17:08:43.922672 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:11:49 INFO    opendrift:4611: Saving animation to /root/project/docs/source/gallery/animations/example_oil_ice_0.gif...
17:12:23 INFO    opendrift:3048: Time to make animation: 0:00:47.499076
../_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-02-11 17:08 to 2025-02-13 17:08 UTC (49 steps)
(<GeoAxes: title={'center': 'OpenDrift - OpenOil (GENERIC BUNKER C)\n2025-02-11 17:08 to 2025-02-13 17:08 UTC (49 steps)'}>, <Figure size 532.393x1100 with 2 Axes>)

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

Gallery generated by Sphinx-Gallery