Note
Go to the end to download the full example code.
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)
15:18:17 INFO opendrift:509: OpenDriftSimulation initialised (version 1.13.1 / v1.13.1-12-gca7f755)
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))
15:18:17 INFO opendrift.models.openoil.openoil:1701: Oil type not specified, using default: GENERIC BUNKER C
15:18:17 INFO opendrift.models.openoil.adios.dirjs:86: Querying ADIOS database for oil: GENERIC BUNKER C
15:18:17 INFO opendrift.models.openoil.openoil:1710: Using density 988.1 and viscosity 0.021692333877975645 of oiltype GENERIC BUNKER C
15:18:17 INFO opendrift.models.basemodel.environment:206: Adding a global landmask from GSHHG
15:18:21 INFO opendrift.models.basemodel.environment:229: Fallback values will be used for the following variables which have no readers:
15:18:21 INFO opendrift.models.basemodel.environment:232: sea_surface_height: 0.000000
15:18:21 INFO opendrift.models.basemodel.environment:232: upward_sea_water_velocity: 0.000000
15:18:21 INFO opendrift.models.basemodel.environment:232: sea_surface_wave_significant_height: 0.000000
15:18:21 INFO opendrift.models.basemodel.environment:232: sea_surface_wave_stokes_drift_x_velocity: 0.000000
15:18:21 INFO opendrift.models.basemodel.environment:232: sea_surface_wave_stokes_drift_y_velocity: 0.000000
15:18:21 INFO opendrift.models.basemodel.environment:232: sea_surface_wave_period_at_variance_spectral_density_maximum: 0.000000
15:18:21 INFO opendrift.models.basemodel.environment:232: sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment: 0.000000
15:18:21 INFO opendrift.models.basemodel.environment:232: sea_ice_area_fraction: 0.000000
15:18:21 INFO opendrift.models.basemodel.environment:232: sea_ice_x_velocity: 0.000000
15:18:21 INFO opendrift.models.basemodel.environment:232: sea_ice_y_velocity: 0.000000
15:18:21 INFO opendrift.models.basemodel.environment:232: sea_water_temperature: 10.000000
15:18:21 INFO opendrift.models.basemodel.environment:232: sea_water_salinity: 34.000000
15:18:21 INFO opendrift.models.basemodel.environment:232: sea_floor_depth_below_sea_level: 10000.000000
15:18:21 INFO opendrift.models.basemodel.environment:232: ocean_vertical_diffusivity: 0.020000
15:18:21 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)
15:18:21 INFO opendrift:919: Using existing reader for land_binary_mask
15:18:21 INFO opendrift:930: All points are in ocean
15:18:21 INFO opendrift.models.openoil.openoil:685: Oil-water surface tension is 0.035935 Nm
15:18:21 INFO opendrift.models.openoil.openoil:698: Max water fraction not available for GENERIC BUNKER C, using default
15:18:21 INFO opendrift:2056: 2025-03-27 15:18:17.209134 - step 1 of 96 - 3000 active elements (0 deactivated)
15:18:21 INFO opendrift.readers:61: Opening file with xr.open_dataset
15:20:23 INFO opendrift.readers.reader_netCDF_CF_generic:332: Detected dimensions: {'x': 'X', 'y': 'Y', 'z': 'depth', 'time': 'time'}
15:20:23 INFO opendrift.readers.basereader:176: Variable x_sea_water_velocity will be rotated from eastward_sea_water_velocity
15:20:23 INFO opendrift.readers.basereader:176: Variable y_sea_water_velocity will be rotated from northward_sea_water_velocity
15:20:27 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.0003610238 to -3.6268227e-07) found for ocean_vertical_diffusivity, replacing with NaN
15:20:27 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:20:30 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.0027372167 to -0.00033993289) found for ocean_vertical_diffusivity, replacing with NaN
15:20:30 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:20:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:30 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:20:30 INFO opendrift:2056: 2025-03-27 15:48:17.209134 - step 2 of 96 - 3000 active elements (0 deactivated)
15:20:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:30 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:20:30 INFO opendrift:2056: 2025-03-27 16:18:17.209134 - step 3 of 96 - 3000 active elements (0 deactivated)
15:20:33 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.02604523 to -0.0030932112) found for ocean_vertical_diffusivity, replacing with NaN
15:20:33 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:20:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:33 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:20:33 INFO opendrift:2056: 2025-03-27 16:48:17.209134 - step 4 of 96 - 3000 active elements (0 deactivated)
15:20:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:33 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:20:33 INFO opendrift:2056: 2025-03-27 17:18:17.209134 - step 5 of 96 - 3000 active elements (0 deactivated)
15:20:37 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.05120443 to -0.006118676) found for ocean_vertical_diffusivity, replacing with NaN
15:20:37 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:20:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:37 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:20:37 INFO opendrift:2056: 2025-03-27 17:48:17.209134 - step 6 of 96 - 3000 active elements (0 deactivated)
15:20:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:37 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:20:37 INFO opendrift:2056: 2025-03-27 18:18:17.209134 - step 7 of 96 - 3000 active elements (0 deactivated)
15:20:40 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.039279774 to -0.0064136153) found for ocean_vertical_diffusivity, replacing with NaN
15:20:40 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:20:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:40 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:20:40 INFO opendrift:2056: 2025-03-27 18:48:17.209134 - step 8 of 96 - 3000 active elements (0 deactivated)
15:20:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:42 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:43 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:20:43 INFO opendrift:2056: 2025-03-27 19:18:17.209134 - step 9 of 96 - 2999 active elements (1 deactivated)
15:20:47 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.016999327 to -0.004190925) found for ocean_vertical_diffusivity, replacing with NaN
15:20:47 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:20:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:47 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:20:47 INFO opendrift:2056: 2025-03-27 19:48:17.209134 - step 10 of 96 - 2999 active elements (1 deactivated)
15:20:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:47 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:20:47 INFO opendrift:2056: 2025-03-27 20:18:17.209134 - step 11 of 96 - 2997 active elements (3 deactivated)
15:20:50 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.009858792 to -0.003799685) found for ocean_vertical_diffusivity, replacing with NaN
15:20:50 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:20:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:50 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:20:50 INFO opendrift:2056: 2025-03-27 20:48:17.209134 - step 12 of 96 - 2995 active elements (5 deactivated)
15:20:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:50 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:50 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:20:50 INFO opendrift:2056: 2025-03-27 21:18:17.209134 - step 13 of 96 - 2991 active elements (9 deactivated)
15:20:54 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.008204452 to -0.0034688797) found for ocean_vertical_diffusivity, replacing with NaN
15:20:54 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:20:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:54 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:20:54 INFO opendrift:2056: 2025-03-27 21:48:17.209134 - step 14 of 96 - 2979 active elements (21 deactivated)
15:20:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:54 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:20:54 INFO opendrift:2056: 2025-03-27 22:18:17.209134 - step 15 of 96 - 2972 active elements (28 deactivated)
15:20:57 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.012582601 to -0.0042569116) found for ocean_vertical_diffusivity, replacing with NaN
15:20:57 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:20:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:57 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:20:57 INFO opendrift:2056: 2025-03-27 22:48:17.209134 - step 16 of 96 - 2961 active elements (39 deactivated)
15:20:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:57 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:20:58 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:20:58 INFO opendrift:2056: 2025-03-27 23:18:17.209134 - step 17 of 96 - 2944 active elements (56 deactivated)
15:21:01 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.01044945 to -0.0026618347) found for ocean_vertical_diffusivity, replacing with NaN
15:21:01 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:21:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:01 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:01 INFO opendrift:2056: 2025-03-27 23:48:17.209134 - step 18 of 96 - 2938 active elements (62 deactivated)
15:21:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:01 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:01 INFO opendrift:2056: 2025-03-28 00:18:17.209134 - step 19 of 96 - 2929 active elements (71 deactivated)
15:21:05 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.009848064 to -0.0016612484) found for ocean_vertical_diffusivity, replacing with NaN
15:21:05 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:21:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:05 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:05 INFO opendrift:2056: 2025-03-28 00:48:17.209134 - step 20 of 96 - 2918 active elements (82 deactivated)
15:21:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:05 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:05 INFO opendrift:2056: 2025-03-28 01:18:17.209134 - step 21 of 96 - 2915 active elements (85 deactivated)
15:21:08 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.009609729 to -0.0006919717) found for ocean_vertical_diffusivity, replacing with NaN
15:21:08 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:21:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:08 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:08 INFO opendrift:2056: 2025-03-28 01:48:17.209134 - step 22 of 96 - 2911 active elements (89 deactivated)
15:21:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:08 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:08 INFO opendrift:2056: 2025-03-28 02:18:17.209134 - step 23 of 96 - 2904 active elements (96 deactivated)
15:21:12 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.002400813 to -3.9718412e-05) found for ocean_vertical_diffusivity, replacing with NaN
15:21:12 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:21:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:12 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:12 INFO opendrift:2056: 2025-03-28 02:48:17.209134 - step 24 of 96 - 2896 active elements (104 deactivated)
15:21:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:12 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:12 INFO opendrift:2056: 2025-03-28 03:18:17.209134 - step 25 of 96 - 2892 active elements (108 deactivated)
15:21:15 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.0027180186 to -3.6463443e-06) found for ocean_vertical_diffusivity, replacing with NaN
15:21:15 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:21:15 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:15 INFO opendrift:2056: 2025-03-28 03:48:17.209134 - step 26 of 96 - 2879 active elements (121 deactivated)
15:21:15 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:15 INFO opendrift:2056: 2025-03-28 04:18:17.209134 - step 27 of 96 - 2874 active elements (126 deactivated)
15:21:19 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.017467154 to -0.0029561822) found for ocean_vertical_diffusivity, replacing with NaN
15:21:19 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:21:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:19 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:19 INFO opendrift:2056: 2025-03-28 04:48:17.209134 - step 28 of 96 - 2862 active elements (138 deactivated)
15:21:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:19 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:19 INFO opendrift:2056: 2025-03-28 05:18:17.209134 - step 29 of 96 - 2857 active elements (143 deactivated)
15:21:22 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.047463994 to -0.0066782907) found for ocean_vertical_diffusivity, replacing with NaN
15:21:22 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:21:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:22 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:22 INFO opendrift:2056: 2025-03-28 05:48:17.209134 - step 30 of 96 - 2850 active elements (150 deactivated)
15:21:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:23 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:23 INFO opendrift:2056: 2025-03-28 06:18:17.209134 - step 31 of 96 - 2846 active elements (154 deactivated)
15:21:26 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.04395428 to -0.007816557) found for ocean_vertical_diffusivity, replacing with NaN
15:21:26 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:21:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:26 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:26 INFO opendrift:2056: 2025-03-28 06:48:17.209134 - step 32 of 96 - 2841 active elements (159 deactivated)
15:21:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:26 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:26 INFO opendrift:2056: 2025-03-28 07:18:17.209134 - step 33 of 96 - 2837 active elements (163 deactivated)
15:21:30 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.019060358 to -0.002278598) found for ocean_vertical_diffusivity, replacing with NaN
15:21:30 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:21:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:30 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:30 INFO opendrift:2056: 2025-03-28 07:48:17.209134 - step 34 of 96 - 2835 active elements (165 deactivated)
15:21:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:30 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:30 INFO opendrift:2056: 2025-03-28 08:18:17.209134 - step 35 of 96 - 2835 active elements (165 deactivated)
15:21:33 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.013104989 to -0.0017008776) found for ocean_vertical_diffusivity, replacing with NaN
15:21:33 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:21:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:33 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:33 INFO opendrift:2056: 2025-03-28 08:48:17.209134 - step 36 of 96 - 2835 active elements (165 deactivated)
15:21:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:33 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:34 INFO opendrift:2056: 2025-03-28 09:18:17.209134 - step 37 of 96 - 2834 active elements (166 deactivated)
15:21:37 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.011059331 to -0.0012137312) found for ocean_vertical_diffusivity, replacing with NaN
15:21:37 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:21:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:37 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:37 INFO opendrift:2056: 2025-03-28 09:48:17.209134 - step 38 of 96 - 2833 active elements (167 deactivated)
15:21:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:37 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:37 INFO opendrift:2056: 2025-03-28 10:18:17.209134 - step 39 of 96 - 2831 active elements (169 deactivated)
15:21:40 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.011342908 to -0.0014484846) found for ocean_vertical_diffusivity, replacing with NaN
15:21:40 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:21:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:40 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:41 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:41 INFO opendrift:2056: 2025-03-28 10:48:17.209134 - step 40 of 96 - 2828 active elements (172 deactivated)
15:21:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:41 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:41 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:41 INFO opendrift:2056: 2025-03-28 11:18:17.209134 - step 41 of 96 - 2827 active elements (173 deactivated)
15:21:44 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.011752667 to -0.0010711044) found for ocean_vertical_diffusivity, replacing with NaN
15:21:44 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:21:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:44 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:44 INFO opendrift:2056: 2025-03-28 11:48:17.209134 - step 42 of 96 - 2825 active elements (175 deactivated)
15:21:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:44 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:44 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:44 INFO opendrift:2056: 2025-03-28 12:18:17.209134 - step 43 of 96 - 2823 active elements (177 deactivated)
15:21:47 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.01379464 to -0.0011370624) found for ocean_vertical_diffusivity, replacing with NaN
15:21:47 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:21:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:47 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:47 INFO opendrift:2056: 2025-03-28 12:48:17.209134 - step 44 of 96 - 2821 active elements (179 deactivated)
15:21:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:47 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:48 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:48 INFO opendrift:2056: 2025-03-28 13:18:17.209134 - step 45 of 96 - 2815 active elements (185 deactivated)
15:21:51 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.012695961 to -0.00019790627) found for ocean_vertical_diffusivity, replacing with NaN
15:21:51 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:21:51 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:51 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:51 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:51 INFO opendrift:2056: 2025-03-28 13:48:17.209134 - step 46 of 96 - 2813 active elements (187 deactivated)
15:21:51 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:51 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:51 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:51 INFO opendrift:2056: 2025-03-28 14:18:17.209134 - step 47 of 96 - 2807 active elements (193 deactivated)
15:21:54 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.0015077526 to -1.3774286e-05) found for ocean_vertical_diffusivity, replacing with NaN
15:21:54 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:21:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:54 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:54 INFO opendrift:2056: 2025-03-28 14:48:17.209134 - step 48 of 96 - 2801 active elements (199 deactivated)
15:21:54 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:21:55 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:55 INFO opendrift:2056: 2025-03-28 15:18:17.209134 - step 49 of 96 - 2794 active elements (206 deactivated)
15:21:58 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.0022711365 to -2.1834626e-06) found for ocean_vertical_diffusivity, replacing with NaN
15:21:58 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:21:58 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:58 INFO opendrift:2056: 2025-03-28 15:48:17.209134 - step 50 of 96 - 2781 active elements (219 deactivated)
15:21:58 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:21:58 INFO opendrift:2056: 2025-03-28 16:18:17.209134 - step 51 of 96 - 2764 active elements (236 deactivated)
15:22:01 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.012082136 to -0.0015956464) found for ocean_vertical_diffusivity, replacing with NaN
15:22:01 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:22:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:01 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:01 INFO opendrift:2056: 2025-03-28 16:48:17.209134 - step 52 of 96 - 2749 active elements (251 deactivated)
15:22:01 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:01 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:01 INFO opendrift:2056: 2025-03-28 17:18:17.209134 - step 53 of 96 - 2735 active elements (265 deactivated)
15:22:04 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.05509226 to -0.006366697) found for ocean_vertical_diffusivity, replacing with NaN
15:22:04 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:22:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:04 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:05 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:05 INFO opendrift:2056: 2025-03-28 17:48:17.209134 - step 54 of 96 - 2707 active elements (293 deactivated)
15:22:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:05 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:05 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:05 INFO opendrift:2056: 2025-03-28 18:18:17.209134 - step 55 of 96 - 2693 active elements (307 deactivated)
15:22:08 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.07306447 to -0.0025496795) found for ocean_vertical_diffusivity, replacing with NaN
15:22:08 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:22:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:08 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:08 INFO opendrift:2056: 2025-03-28 18:48:17.209134 - step 56 of 96 - 2672 active elements (328 deactivated)
15:22:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:08 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:08 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:08 INFO opendrift:2056: 2025-03-28 19:18:17.209134 - step 57 of 96 - 2662 active elements (338 deactivated)
15:22:12 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.04268506 to -0.0014226226) found for ocean_vertical_diffusivity, replacing with NaN
15:22:12 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:22:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:12 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:12 INFO opendrift:2056: 2025-03-28 19:48:17.209134 - step 58 of 96 - 2640 active elements (360 deactivated)
15:22:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:12 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:12 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:12 INFO opendrift:2056: 2025-03-28 20:18:17.209134 - step 59 of 96 - 2614 active elements (386 deactivated)
15:22:15 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.025209092 to -0.0035906238) found for ocean_vertical_diffusivity, replacing with NaN
15:22:15 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:22:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:15 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:15 INFO opendrift:2056: 2025-03-28 20:48:17.209134 - step 60 of 96 - 2597 active elements (403 deactivated)
15:22:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:15 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:16 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:16 INFO opendrift:2056: 2025-03-28 21:18:17.209134 - step 61 of 96 - 2572 active elements (428 deactivated)
15:22:19 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.01700509 to -0.0012391782) found for ocean_vertical_diffusivity, replacing with NaN
15:22:19 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:22:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:19 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:19 INFO opendrift:2056: 2025-03-28 21:48:17.209134 - step 62 of 96 - 2542 active elements (458 deactivated)
15:22:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:19 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:19 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:19 INFO opendrift:2056: 2025-03-28 22:18:17.209134 - step 63 of 96 - 2514 active elements (486 deactivated)
15:22:22 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.014875397 to -0.00093947904) found for ocean_vertical_diffusivity, replacing with NaN
15:22:22 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:22:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:22 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:23 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:23 INFO opendrift:2056: 2025-03-28 22:48:17.209134 - step 64 of 96 - 2491 active elements (509 deactivated)
15:22:23 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:23 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:23 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:23 INFO opendrift:2056: 2025-03-28 23:18:17.209134 - step 65 of 96 - 2460 active elements (540 deactivated)
15:22:26 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.015767789 to -0.0014557505) found for ocean_vertical_diffusivity, replacing with NaN
15:22:26 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:22:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:26 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:26 INFO opendrift:2056: 2025-03-28 23:48:17.209134 - step 66 of 96 - 2423 active elements (577 deactivated)
15:22:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:26 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:27 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:27 INFO opendrift:2056: 2025-03-29 00:18:17.209134 - step 67 of 96 - 2397 active elements (603 deactivated)
15:22:30 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.013832853 to -0.0017330198) found for ocean_vertical_diffusivity, replacing with NaN
15:22:30 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:22:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:30 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:30 INFO opendrift:2056: 2025-03-29 00:48:17.209134 - step 68 of 96 - 2364 active elements (636 deactivated)
15:22:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:30 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:30 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:30 INFO opendrift:2056: 2025-03-29 01:18:17.209134 - step 69 of 96 - 2336 active elements (664 deactivated)
15:22:33 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.02184638 to -0.001083417) found for ocean_vertical_diffusivity, replacing with NaN
15:22:33 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:22:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:33 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:33 INFO opendrift:2056: 2025-03-29 01:48:17.209134 - step 70 of 96 - 2316 active elements (684 deactivated)
15:22:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:33 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:34 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:34 INFO opendrift:2056: 2025-03-29 02:18:17.209134 - step 71 of 96 - 2296 active elements (704 deactivated)
15:22:37 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.010133364 to -1.1579495e-05) found for ocean_vertical_diffusivity, replacing with NaN
15:22:37 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:22:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:37 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:37 INFO opendrift:2056: 2025-03-29 02:48:17.209134 - step 72 of 96 - 2268 active elements (732 deactivated)
15:22:37 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:37 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:37 INFO opendrift:2056: 2025-03-29 03:18:17.209134 - step 73 of 96 - 2246 active elements (754 deactivated)
15:22:41 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.0010443755 to -1.7887218e-06) found for ocean_vertical_diffusivity, replacing with NaN
15:22:41 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:22:41 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:41 INFO opendrift:2056: 2025-03-29 03:48:17.209134 - step 74 of 96 - 2233 active elements (767 deactivated)
15:22:41 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:41 INFO opendrift:2056: 2025-03-29 04:18:17.209134 - step 75 of 96 - 2214 active elements (786 deactivated)
15:22:45 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.006274988 to -1.791827e-05) found for ocean_vertical_diffusivity, replacing with NaN
15:22:45 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:22:45 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:45 INFO opendrift:2056: 2025-03-29 04:48:17.209134 - step 76 of 96 - 2203 active elements (797 deactivated)
15:22:45 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:45 INFO opendrift:2056: 2025-03-29 05:18:17.209134 - step 77 of 96 - 2188 active elements (812 deactivated)
15:22:48 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.040637493 to -0.0057002828) found for ocean_vertical_diffusivity, replacing with NaN
15:22:48 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:22:48 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:48 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:48 INFO opendrift:2056: 2025-03-29 05:48:17.209134 - step 78 of 96 - 2179 active elements (821 deactivated)
15:22:48 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:48 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:48 INFO opendrift:2056: 2025-03-29 06:18:17.209134 - step 79 of 96 - 2167 active elements (833 deactivated)
15:22:52 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.084265284 to -0.002408678) found for ocean_vertical_diffusivity, replacing with NaN
15:22:52 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:22:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:52 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:52 INFO opendrift:2056: 2025-03-29 06:48:17.209134 - step 80 of 96 - 2160 active elements (840 deactivated)
15:22:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:52 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:52 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:52 INFO opendrift:2056: 2025-03-29 07:18:17.209134 - step 81 of 96 - 2155 active elements (845 deactivated)
15:22:55 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.0764121 to -0.0012011089) found for ocean_vertical_diffusivity, replacing with NaN
15:22:55 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:22:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:55 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:56 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:56 INFO opendrift:2056: 2025-03-29 07:48:17.209134 - step 82 of 96 - 2154 active elements (846 deactivated)
15:22:56 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:56 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:56 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:56 INFO opendrift:2056: 2025-03-29 08:18:17.209134 - step 83 of 96 - 2150 active elements (850 deactivated)
15:22:59 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.026207607 to -0.0046728775) found for ocean_vertical_diffusivity, replacing with NaN
15:22:59 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:22:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:59 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:59 INFO opendrift:2056: 2025-03-29 08:48:17.209134 - step 84 of 96 - 2147 active elements (853 deactivated)
15:22:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:59 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:22:59 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:22:59 INFO opendrift:2056: 2025-03-29 09:18:17.209134 - step 85 of 96 - 2145 active elements (855 deactivated)
15:23:03 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.01353099 to -0.0008871437) found for ocean_vertical_diffusivity, replacing with NaN
15:23:03 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:23:03 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:03 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:03 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:23:03 INFO opendrift:2056: 2025-03-29 09:48:17.209134 - step 86 of 96 - 2144 active elements (856 deactivated)
15:23:03 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:03 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:03 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:23:03 INFO opendrift:2056: 2025-03-29 10:18:17.209134 - step 87 of 96 - 2144 active elements (856 deactivated)
15:23:06 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.011299693 to -0.0003592298) found for ocean_vertical_diffusivity, replacing with NaN
15:23:06 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:23:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:06 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:23:06 INFO opendrift:2056: 2025-03-29 10:48:17.209134 - step 88 of 96 - 2139 active elements (861 deactivated)
15:23:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:06 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:06 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:23:06 INFO opendrift:2056: 2025-03-29 11:18:17.209134 - step 89 of 96 - 2139 active elements (861 deactivated)
15:23:10 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.010986348 to -0.00032930812) found for ocean_vertical_diffusivity, replacing with NaN
15:23:10 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:23:10 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:10 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:10 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:23:10 INFO opendrift:2056: 2025-03-29 11:48:17.209134 - step 90 of 96 - 2138 active elements (862 deactivated)
15:23:10 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:10 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:10 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:23:10 INFO opendrift:2056: 2025-03-29 12:18:17.209134 - step 91 of 96 - 2137 active elements (863 deactivated)
15:23:13 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.010658032 to -0.0007045887) found for ocean_vertical_diffusivity, replacing with NaN
15:23:13 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:23:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:13 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:23:13 INFO opendrift:2056: 2025-03-29 12:48:17.209134 - step 92 of 96 - 2137 active elements (863 deactivated)
15:23:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:13 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:13 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:23:13 INFO opendrift:2056: 2025-03-29 13:18:17.209134 - step 93 of 96 - 2137 active elements (863 deactivated)
15:23:17 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.030265233 to -0.00043276537) found for ocean_vertical_diffusivity, replacing with NaN
15:23:17 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:23:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:17 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:23:17 INFO opendrift:2056: 2025-03-29 13:48:17.209134 - step 94 of 96 - 2137 active elements (863 deactivated)
15:23:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:17 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:17 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:23:17 INFO opendrift:2056: 2025-03-29 14:18:17.209134 - step 95 of 96 - 2136 active elements (864 deactivated)
15:23:20 WARNING opendrift.readers.basereader.variables:654: Invalid values (-0.023258379 to -2.6015156e-05) found for ocean_vertical_diffusivity, replacing with NaN
15:23:20 WARNING opendrift.readers.basereader.variables:657: (allowed range: [0, 1])
15:23:20 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:20 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
15:23:20 INFO opendrift:2056: 2025-03-29 14:48:17.209134 - step 96 of 96 - 2135 active elements (865 deactivated)
15:23:20 WARNING opendrift.readers.interpolation.interpolators:118: Only NaNs input to linearNDFast - returning
15:23:20 INFO opendrift.models.openoil.openoil:1182: Ice concentration above 30%, using Nordam scheme for advection in ice
Print and plot results
print(o)
o.animation(background='sea_ice_area_fraction', cmap=cmocean.cm.ice,
vmin=0, vmax=1, bgalpha=1, fast=False)
===========================
--------------------
Reader performance:
--------------------
global_landmask
0:00:01.5 total
0:00:00.0 preparing
0:00:01.5 reading
0:00:00.0 masking
--------------------
https://thredds.met.no/thredds/dodsC/fou-hi/barents_eps_zdepth_be
0:02:43.7 total
0:00:00.0 preparing
0:02:40.9 reading
0:00:01.6 interpolation
0:00:00.1 interpolation_time
0:00:02.7 rotating vectors
0:00:00.0 masking
--------------------
Performance:
5:03.7 total time
4.2 configuration
0.1 preparing main loop
0.0 moving elements to ocean
4:59.3 main loop
5.4 updating elements
0.0 oil weathering
0.0 updating viscosities
0.0 updating densities
4.9 vertical mixing
0.0 cleaning up
--------------------
===========================
Model: OpenOil (OpenDrift version 1.13.1)
2135 active Oil particles (865 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-03-27 15:18:17.209134 UTC
Present: 2025-03-29 15:18:17.209134 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)
15:23:34 INFO opendrift:4600: Saving animation to /root/project/docs/source/gallery/animations/example_oil_ice_0.gif...
15:24:09 INFO opendrift:3036: Time to make animation: 0:00:48.910043

o.plot(background='sea_ice_area_fraction', cmap=cmocean.cm.ice,
vmin=0, vmax=1, bgalpha=1, fast=False)

(<GeoAxes: title={'center': 'OpenDrift - OpenOil (GENERIC BUNKER C)\n2025-03-27 15:18 to 2025-03-29 15:18 UTC (49 steps)'}>, <Figure size 477.789x1100 with 2 Axes>)
Total running time of the script: (6 minutes 11.500 seconds)