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:25:51 INFO    opendrift.models.basemodel:533: OpenDriftSimulation initialised (version 1.11.2 / v1.11.2-34-g74f61eb)

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

Running model

o.run(duration=timedelta(hours=48), time_step=1800, time_step_output=3600)
15:25:57 INFO    opendrift.models.basemodel:911: Using existing reader for land_binary_mask
15:25:57 INFO    opendrift.models.basemodel:922: All points are in ocean
15:25:57 INFO    opendrift.models.openoil.openoil:687: Oil-water surface tension is 0.035282 Nm
15:25:57 INFO    opendrift.models.openoil.openoil:700: Max water fraction not available for GENERIC BUNKER C, using default
15:25:57 INFO    opendrift.models.basemodel:2011: 2024-04-18 15:25:51.341897 - step 1 of 96 - 3000 active elements (0 deactivated)
15:25:57 INFO    opendrift.readers.reader_netCDF_CF_generic:102: Opening dataset: https://thredds.met.no/thredds/dodsC/fou-hi/barents_eps_zdepth_be
/opt/conda/envs/opendrift/lib/python3.11/site-packages/pyproj/crs/crs.py:1286: UserWarning: You will likely lose important projection information when converting to a PROJ string from another format. See: https://proj.org/faq.html#what-is-the-best-format-for-describing-coordinate-reference-systems
  proj = self._crs.to_proj4(version=version)
15:26:27 INFO    opendrift.readers.reader_netCDF_CF_generic:314: Detected dimensions: {'x': 'X', 'y': 'Y', 'z': 'depth', 'time': 'time'}
15:26:27 INFO    opendrift.readers.basereader:166: Variable x_sea_water_velocity will be rotated from eastward_sea_water_velocity
15:26:27 INFO    opendrift.readers.basereader:166: Variable y_sea_water_velocity will be rotated from northward_sea_water_velocity
15:26:29 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.0047712936 to -0.0016741172) found for ocean_vertical_diffusivity, replacing with NaN
15:26:29 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:26:31 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.021408578 to -0.0027152793) found for ocean_vertical_diffusivity, replacing with NaN
15:26:31 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:26:31 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:31 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:32 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:32 INFO    opendrift.models.basemodel:2011: 2024-04-18 15:55:51.341897 - step 2 of 96 - 3000 active elements (0 deactivated)
15:26:32 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:32 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:32 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:32 INFO    opendrift.models.basemodel:2011: 2024-04-18 16:25:51.341897 - step 3 of 96 - 3000 active elements (0 deactivated)
15:26:34 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.03130773 to -0.0028756107) found for ocean_vertical_diffusivity, replacing with NaN
15:26:34 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:26:34 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:34 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:34 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:34 INFO    opendrift.models.basemodel:2011: 2024-04-18 16:55:51.341897 - step 4 of 96 - 3000 active elements (0 deactivated)
15:26:34 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:34 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:34 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:34 INFO    opendrift.models.basemodel:2011: 2024-04-18 17:25:51.341897 - step 5 of 96 - 3000 active elements (0 deactivated)
15:26:37 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.024516713 to -0.0032391746) found for ocean_vertical_diffusivity, replacing with NaN
15:26:37 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:26:37 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:37 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:37 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:37 INFO    opendrift.models.basemodel:2011: 2024-04-18 17:55:51.341897 - step 6 of 96 - 3000 active elements (0 deactivated)
15:26:37 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:37 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:37 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:37 INFO    opendrift.models.basemodel:2011: 2024-04-18 18:25:51.341897 - step 7 of 96 - 3000 active elements (0 deactivated)
15:26:39 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.013512624 to -0.0025035825) found for ocean_vertical_diffusivity, replacing with NaN
15:26:39 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:26:39 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:39 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:39 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:39 INFO    opendrift.models.basemodel:2011: 2024-04-18 18:55:51.341897 - step 8 of 96 - 3000 active elements (0 deactivated)
15:26:39 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:39 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:40 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:40 INFO    opendrift.models.basemodel:2011: 2024-04-18 19:25:51.341897 - step 9 of 96 - 3000 active elements (0 deactivated)
15:26:42 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.015804453 to -0.0022331313) found for ocean_vertical_diffusivity, replacing with NaN
15:26:42 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:26:42 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:42 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:42 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:42 INFO    opendrift.models.basemodel:2011: 2024-04-18 19:55:51.341897 - step 10 of 96 - 3000 active elements (0 deactivated)
15:26:42 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:42 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:42 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:42 INFO    opendrift.models.basemodel:2011: 2024-04-18 20:25:51.341897 - step 11 of 96 - 3000 active elements (0 deactivated)
15:26:45 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.009829376 to -0.0021171933) found for ocean_vertical_diffusivity, replacing with NaN
15:26:45 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:26:45 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:45 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:45 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:45 INFO    opendrift.models.basemodel:2011: 2024-04-18 20:55:51.341897 - step 12 of 96 - 3000 active elements (0 deactivated)
15:26:45 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:45 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:45 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:45 INFO    opendrift.models.basemodel:2011: 2024-04-18 21:25:51.341897 - step 13 of 96 - 3000 active elements (0 deactivated)
15:26:47 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.0067664515 to -0.0016045575) found for ocean_vertical_diffusivity, replacing with NaN
15:26:47 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:26:47 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:47 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:47 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:47 INFO    opendrift.models.basemodel:2011: 2024-04-18 21:55:51.341897 - step 14 of 96 - 3000 active elements (0 deactivated)
15:26:47 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:47 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:48 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:48 INFO    opendrift.models.basemodel:2011: 2024-04-18 22:25:51.341897 - step 15 of 96 - 3000 active elements (0 deactivated)
15:26:50 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.007339532 to -0.0017231196) found for ocean_vertical_diffusivity, replacing with NaN
15:26:50 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:26:50 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:50 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:50 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:50 INFO    opendrift.models.basemodel:2011: 2024-04-18 22:55:51.341897 - step 16 of 96 - 3000 active elements (0 deactivated)
15:26:50 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:50 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:50 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:50 INFO    opendrift.models.basemodel:2011: 2024-04-18 23:25:51.341897 - step 17 of 96 - 3000 active elements (0 deactivated)
15:26:53 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.015002813 to -0.0013730767) found for ocean_vertical_diffusivity, replacing with NaN
15:26:53 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:26:53 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:53 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:53 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:53 INFO    opendrift.models.basemodel:2011: 2024-04-18 23:55:51.341897 - step 18 of 96 - 3000 active elements (0 deactivated)
15:26:53 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:53 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:53 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:53 INFO    opendrift.models.basemodel:2011: 2024-04-19 00:25:51.341897 - step 19 of 96 - 3000 active elements (0 deactivated)
15:26:53 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:53 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:53 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:53 INFO    opendrift.models.basemodel:2011: 2024-04-19 00:55:51.341897 - step 20 of 96 - 3000 active elements (0 deactivated)
15:26:53 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:53 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:53 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:53 INFO    opendrift.models.basemodel:2011: 2024-04-19 01:25:51.341897 - step 21 of 96 - 3000 active elements (0 deactivated)
15:26:53 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:53 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:53 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:53 INFO    opendrift.models.basemodel:2011: 2024-04-19 01:55:51.341897 - step 22 of 96 - 3000 active elements (0 deactivated)
15:26:53 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:53 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:53 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:53 INFO    opendrift.models.basemodel:2011: 2024-04-19 02:25:51.341897 - step 23 of 96 - 3000 active elements (0 deactivated)
15:26:53 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:53 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:54 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:54 INFO    opendrift.models.basemodel:2011: 2024-04-19 02:55:51.341897 - step 24 of 96 - 3000 active elements (0 deactivated)
15:26:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:54 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:54 INFO    opendrift.models.basemodel:2011: 2024-04-19 03:25:51.341897 - step 25 of 96 - 3000 active elements (0 deactivated)
15:26:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:54 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:54 INFO    opendrift.models.basemodel:2011: 2024-04-19 03:55:51.341897 - step 26 of 96 - 3000 active elements (0 deactivated)
15:26:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:54 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:54 INFO    opendrift.models.basemodel:2011: 2024-04-19 04:25:51.341897 - step 27 of 96 - 3000 active elements (0 deactivated)
15:26:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:54 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:54 INFO    opendrift.models.basemodel:2011: 2024-04-19 04:55:51.341897 - step 28 of 96 - 3000 active elements (0 deactivated)
15:26:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:54 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:54 INFO    opendrift.models.basemodel:2011: 2024-04-19 05:25:51.341897 - step 29 of 96 - 3000 active elements (0 deactivated)
15:26:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:54 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:54 INFO    opendrift.models.basemodel:2011: 2024-04-19 05:55:51.341897 - step 30 of 96 - 3000 active elements (0 deactivated)
15:26:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:54 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:54 INFO    opendrift.models.basemodel:2011: 2024-04-19 06:25:51.341897 - step 31 of 96 - 3000 active elements (0 deactivated)
15:26:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:55 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:55 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:55 INFO    opendrift.models.basemodel:2011: 2024-04-19 06:55:51.341897 - step 32 of 96 - 3000 active elements (0 deactivated)
15:26:55 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:55 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:55 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:55 INFO    opendrift.models.basemodel:2011: 2024-04-19 07:25:51.341897 - step 33 of 96 - 3000 active elements (0 deactivated)
15:26:55 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:55 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:55 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:55 INFO    opendrift.models.basemodel:2011: 2024-04-19 07:55:51.341897 - step 34 of 96 - 3000 active elements (0 deactivated)
15:26:55 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:55 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:55 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:55 INFO    opendrift.models.basemodel:2011: 2024-04-19 08:25:51.341897 - step 35 of 96 - 3000 active elements (0 deactivated)
15:26:55 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:55 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:55 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:55 INFO    opendrift.models.basemodel:2011: 2024-04-19 08:55:51.341897 - step 36 of 96 - 3000 active elements (0 deactivated)
15:26:55 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:55 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:55 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:55 INFO    opendrift.models.basemodel:2011: 2024-04-19 09:25:51.341897 - step 37 of 96 - 3000 active elements (0 deactivated)
15:26:55 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:55 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:55 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:55 INFO    opendrift.models.basemodel:2011: 2024-04-19 09:55:51.341897 - step 38 of 96 - 3000 active elements (0 deactivated)
15:26:55 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:55 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:56 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:56 INFO    opendrift.models.basemodel:2011: 2024-04-19 10:25:51.341897 - step 39 of 96 - 3000 active elements (0 deactivated)
15:26:56 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:56 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:56 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:56 INFO    opendrift.models.basemodel:2011: 2024-04-19 10:55:51.341897 - step 40 of 96 - 3000 active elements (0 deactivated)
15:26:56 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:56 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:56 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:56 INFO    opendrift.models.basemodel:2011: 2024-04-19 11:25:51.341897 - step 41 of 96 - 3000 active elements (0 deactivated)
15:26:56 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:56 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:56 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:56 INFO    opendrift.models.basemodel:2011: 2024-04-19 11:55:51.341897 - step 42 of 96 - 3000 active elements (0 deactivated)
15:26:56 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:56 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:56 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:56 INFO    opendrift.models.basemodel:2011: 2024-04-19 12:25:51.341897 - step 43 of 96 - 3000 active elements (0 deactivated)
15:26:56 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:56 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:56 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:56 INFO    opendrift.models.basemodel:2011: 2024-04-19 12:55:51.341897 - step 44 of 96 - 3000 active elements (0 deactivated)
15:26:56 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:56 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:56 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:56 INFO    opendrift.models.basemodel:2011: 2024-04-19 13:25:51.341897 - step 45 of 96 - 3000 active elements (0 deactivated)
15:26:56 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:56 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:57 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:57 INFO    opendrift.models.basemodel:2011: 2024-04-19 13:55:51.341897 - step 46 of 96 - 3000 active elements (0 deactivated)
15:26:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:57 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:57 INFO    opendrift.models.basemodel:2011: 2024-04-19 14:25:51.341897 - step 47 of 96 - 3000 active elements (0 deactivated)
15:26:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:57 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:57 INFO    opendrift.models.basemodel:2011: 2024-04-19 14:55:51.341897 - step 48 of 96 - 3000 active elements (0 deactivated)
15:26:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:57 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:57 INFO    opendrift.models.basemodel:2011: 2024-04-19 15:25:51.341897 - step 49 of 96 - 3000 active elements (0 deactivated)
15:26:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:57 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:57 INFO    opendrift.models.basemodel:2011: 2024-04-19 15:55:51.341897 - step 50 of 96 - 3000 active elements (0 deactivated)
15:26:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:57 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:57 INFO    opendrift.models.basemodel:2011: 2024-04-19 16:25:51.341897 - step 51 of 96 - 3000 active elements (0 deactivated)
15:26:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:57 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:57 INFO    opendrift.models.basemodel:2011: 2024-04-19 16:55:51.341897 - step 52 of 96 - 3000 active elements (0 deactivated)
15:26:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:57 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:57 INFO    opendrift.models.basemodel:2011: 2024-04-19 17:25:51.341897 - step 53 of 96 - 3000 active elements (0 deactivated)
15:26:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:58 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:58 INFO    opendrift.models.basemodel:2011: 2024-04-19 17:55:51.341897 - step 54 of 96 - 3000 active elements (0 deactivated)
15:26:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:58 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:58 INFO    opendrift.models.basemodel:2011: 2024-04-19 18:25:51.341897 - step 55 of 96 - 3000 active elements (0 deactivated)
15:26:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:58 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:58 INFO    opendrift.models.basemodel:2011: 2024-04-19 18:55:51.341897 - step 56 of 96 - 3000 active elements (0 deactivated)
15:26:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:58 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:58 INFO    opendrift.models.basemodel:2011: 2024-04-19 19:25:51.341897 - step 57 of 96 - 3000 active elements (0 deactivated)
15:26:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:58 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:58 INFO    opendrift.models.basemodel:2011: 2024-04-19 19:55:51.341897 - step 58 of 96 - 3000 active elements (0 deactivated)
15:26:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:58 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:58 INFO    opendrift.models.basemodel:2011: 2024-04-19 20:25:51.341897 - step 59 of 96 - 3000 active elements (0 deactivated)
15:26:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:58 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:58 INFO    opendrift.models.basemodel:2011: 2024-04-19 20:55:51.341897 - step 60 of 96 - 3000 active elements (0 deactivated)
15:26:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:58 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:58 INFO    opendrift.models.basemodel:2011: 2024-04-19 21:25:51.341897 - step 61 of 96 - 3000 active elements (0 deactivated)
15:26:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:59 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:59 INFO    opendrift.models.basemodel:2011: 2024-04-19 21:55:51.341897 - step 62 of 96 - 3000 active elements (0 deactivated)
15:26:59 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:59 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:59 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:59 INFO    opendrift.models.basemodel:2011: 2024-04-19 22:25:51.341897 - step 63 of 96 - 3000 active elements (0 deactivated)
15:26:59 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:59 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:59 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:59 INFO    opendrift.models.basemodel:2011: 2024-04-19 22:55:51.341897 - step 64 of 96 - 3000 active elements (0 deactivated)
15:26:59 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:59 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:59 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:59 INFO    opendrift.models.basemodel:2011: 2024-04-19 23:25:51.341897 - step 65 of 96 - 3000 active elements (0 deactivated)
15:26:59 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:59 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:59 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:59 INFO    opendrift.models.basemodel:2011: 2024-04-19 23:55:51.341897 - step 66 of 96 - 3000 active elements (0 deactivated)
15:26:59 WARNING opendrift.readers.basereader.structured:321: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/barents_eps_zdepth_be not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
/root/project/opendrift/readers/interpolation/interpolators.py:17: RuntimeWarning: overflow encountered in cast
  data[mask] = np.finfo(np.float64).min
15:26:59 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:59 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:26:59 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:26:59 INFO    opendrift.models.basemodel:2011: 2024-04-20 00:25:51.341897 - step 67 of 96 - 3000 active elements (0 deactivated)
15:27:01 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.018431032 to -0.0010135565) found for ocean_vertical_diffusivity, replacing with NaN
15:27:01 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:27:02 WARNING opendrift.readers.basereader.structured:321: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/barents_eps_zdepth_be not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
/root/project/opendrift/readers/interpolation/interpolators.py:17: RuntimeWarning: overflow encountered in cast
  data[mask] = np.finfo(np.float64).min
15:27:02 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:02 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:02 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:02 INFO    opendrift.models.basemodel:2011: 2024-04-20 00:55:51.341897 - step 68 of 96 - 3000 active elements (0 deactivated)
15:27:02 WARNING opendrift.readers.basereader.structured:321: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/barents_eps_zdepth_be not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
15:27:02 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:02 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:02 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:02 INFO    opendrift.models.basemodel:2011: 2024-04-20 01:25:51.341897 - step 69 of 96 - 3000 active elements (0 deactivated)
15:27:04 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.017132932 to -0.0016228857) found for ocean_vertical_diffusivity, replacing with NaN
15:27:04 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:27:04 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:04 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:04 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:04 INFO    opendrift.models.basemodel:2011: 2024-04-20 01:55:51.341897 - step 70 of 96 - 3000 active elements (0 deactivated)
15:27:04 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:04 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:04 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:04 INFO    opendrift.models.basemodel:2011: 2024-04-20 02:25:51.341897 - step 71 of 96 - 3000 active elements (0 deactivated)
15:27:07 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.017039992 to -0.0013564316) found for ocean_vertical_diffusivity, replacing with NaN
15:27:07 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:27:07 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:07 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:07 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:07 INFO    opendrift.models.basemodel:2011: 2024-04-20 02:55:51.341897 - step 72 of 96 - 3000 active elements (0 deactivated)
15:27:07 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:07 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:07 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:07 INFO    opendrift.models.basemodel:2011: 2024-04-20 03:25:51.341897 - step 73 of 96 - 3000 active elements (0 deactivated)
15:27:09 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.020140002 to -0.0014203765) found for ocean_vertical_diffusivity, replacing with NaN
15:27:09 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:27:09 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:09 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:09 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:09 INFO    opendrift.models.basemodel:2011: 2024-04-20 03:55:51.341897 - step 74 of 96 - 3000 active elements (0 deactivated)
15:27:09 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:09 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:09 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:09 INFO    opendrift.models.basemodel:2011: 2024-04-20 04:25:51.341897 - step 75 of 96 - 3000 active elements (0 deactivated)
15:27:12 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.024615426 to -0.0017467877) found for ocean_vertical_diffusivity, replacing with NaN
15:27:12 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:27:12 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:12 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:12 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:12 INFO    opendrift.models.basemodel:2011: 2024-04-20 04:55:51.341897 - step 76 of 96 - 3000 active elements (0 deactivated)
15:27:12 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:12 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:12 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:12 INFO    opendrift.models.basemodel:2011: 2024-04-20 05:25:51.341897 - step 77 of 96 - 3000 active elements (0 deactivated)
15:27:14 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.02558996 to -0.0018978192) found for ocean_vertical_diffusivity, replacing with NaN
15:27:14 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:27:14 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:14 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:15 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:15 INFO    opendrift.models.basemodel:2011: 2024-04-20 05:55:51.341897 - step 78 of 96 - 3000 active elements (0 deactivated)
15:27:15 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:15 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:15 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:15 INFO    opendrift.models.basemodel:2011: 2024-04-20 06:25:51.341897 - step 79 of 96 - 3000 active elements (0 deactivated)
15:27:17 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.025799533 to -0.0017984359) found for ocean_vertical_diffusivity, replacing with NaN
15:27:17 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:27:17 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
/root/project/opendrift/readers/interpolation/interpolators.py:17: RuntimeWarning: overflow encountered in cast
  data[mask] = np.finfo(np.float64).min
15:27:17 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:17 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:17 INFO    opendrift.models.basemodel:2011: 2024-04-20 06:55:51.341897 - step 80 of 96 - 3000 active elements (0 deactivated)
15:27:17 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:17 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:18 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:18 INFO    opendrift.models.basemodel:2011: 2024-04-20 07:25:51.341897 - step 81 of 96 - 3000 active elements (0 deactivated)
15:27:20 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.025421733 to -0.0017022142) found for ocean_vertical_diffusivity, replacing with NaN
15:27:20 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:27:20 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:20 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:20 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:20 INFO    opendrift.models.basemodel:2011: 2024-04-20 07:55:51.341897 - step 82 of 96 - 3000 active elements (0 deactivated)
15:27:20 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:20 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
/root/project/opendrift/readers/interpolation/interpolators.py:17: RuntimeWarning: overflow encountered in cast
  data[mask] = np.finfo(np.float64).min
15:27:20 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:20 INFO    opendrift.models.basemodel:2011: 2024-04-20 08:25:51.341897 - step 83 of 96 - 3000 active elements (0 deactivated)
15:27:23 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.025533868 to -0.0027035533) found for ocean_vertical_diffusivity, replacing with NaN
15:27:23 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:27:23 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:23 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
/root/project/opendrift/readers/interpolation/interpolators.py:17: RuntimeWarning: overflow encountered in cast
  data[mask] = np.finfo(np.float64).min
15:27:23 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:23 INFO    opendrift.models.basemodel:2011: 2024-04-20 08:55:51.341897 - step 84 of 96 - 3000 active elements (0 deactivated)
15:27:23 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:23 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:23 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:23 INFO    opendrift.models.basemodel:2011: 2024-04-20 09:25:51.341897 - step 85 of 96 - 3000 active elements (0 deactivated)
15:27:25 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.023046624 to -0.0023273139) found for ocean_vertical_diffusivity, replacing with NaN
15:27:25 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:27:25 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:25 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
/root/project/opendrift/readers/interpolation/interpolators.py:17: RuntimeWarning: overflow encountered in cast
  data[mask] = np.finfo(np.float64).min
15:27:25 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:25 INFO    opendrift.models.basemodel:2011: 2024-04-20 09:55:51.341897 - step 86 of 96 - 3000 active elements (0 deactivated)
15:27:25 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:25 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:25 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:25 INFO    opendrift.models.basemodel:2011: 2024-04-20 10:25:51.341897 - step 87 of 96 - 3000 active elements (0 deactivated)
15:27:28 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.017520418 to -0.0014317114) found for ocean_vertical_diffusivity, replacing with NaN
15:27:28 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:27:28 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:28 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
/root/project/opendrift/readers/interpolation/interpolators.py:17: RuntimeWarning: overflow encountered in cast
  data[mask] = np.finfo(np.float64).min
15:27:28 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:28 INFO    opendrift.models.basemodel:2011: 2024-04-20 10:55:51.341897 - step 88 of 96 - 3000 active elements (0 deactivated)
15:27:28 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:28 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:28 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:28 INFO    opendrift.models.basemodel:2011: 2024-04-20 11:25:51.341897 - step 89 of 96 - 3000 active elements (0 deactivated)
15:27:30 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.012824549 to -0.0016868236) found for ocean_vertical_diffusivity, replacing with NaN
15:27:30 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:27:30 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:30 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
/root/project/opendrift/readers/interpolation/interpolators.py:17: RuntimeWarning: overflow encountered in cast
  data[mask] = np.finfo(np.float64).min
15:27:31 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:31 INFO    opendrift.models.basemodel:2011: 2024-04-20 11:55:51.341897 - step 90 of 96 - 3000 active elements (0 deactivated)
15:27:31 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:31 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:31 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:31 INFO    opendrift.models.basemodel:2011: 2024-04-20 12:25:51.341897 - step 91 of 96 - 3000 active elements (0 deactivated)
15:27:33 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.010627025 to -0.0012307332) found for ocean_vertical_diffusivity, replacing with NaN
15:27:33 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:27:33 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:33 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
/root/project/opendrift/readers/interpolation/interpolators.py:17: RuntimeWarning: overflow encountered in cast
  data[mask] = np.finfo(np.float64).min
15:27:33 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:33 INFO    opendrift.models.basemodel:2011: 2024-04-20 12:55:51.341897 - step 92 of 96 - 2998 active elements (2 deactivated)
15:27:33 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:33 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:33 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:33 INFO    opendrift.models.basemodel:2011: 2024-04-20 13:25:51.341897 - step 93 of 96 - 2998 active elements (2 deactivated)
15:27:36 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.009034263 to -0.0010345752) found for ocean_vertical_diffusivity, replacing with NaN
15:27:36 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:27:36 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:36 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
/root/project/opendrift/readers/interpolation/interpolators.py:17: RuntimeWarning: overflow encountered in cast
  data[mask] = np.finfo(np.float64).min
15:27:36 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:36 INFO    opendrift.models.basemodel:2011: 2024-04-20 13:55:51.341897 - step 94 of 96 - 2997 active elements (3 deactivated)
15:27:36 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:36 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:36 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:36 INFO    opendrift.models.basemodel:2011: 2024-04-20 14:25:51.341897 - step 95 of 96 - 2997 active elements (3 deactivated)
15:27:39 WARNING opendrift.readers.basereader.variables:644: Invalid values (-0.015583557 to -0.0011516317) found for ocean_vertical_diffusivity, replacing with NaN
15:27:39 WARNING opendrift.readers.basereader.variables:647: (allowed range: [0, 1])
15:27:39 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:39 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
/root/project/opendrift/readers/interpolation/interpolators.py:17: RuntimeWarning: overflow encountered in cast
  data[mask] = np.finfo(np.float64).min
15:27:39 INFO    opendrift.models.openoil.openoil:1184: Ice concentration above 30%, using Nordam scheme for advection in ice
15:27:39 INFO    opendrift.models.basemodel:2011: 2024-04-20 14:55:51.341897 - step 96 of 96 - 2997 active elements (3 deactivated)
15:27:39 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:39 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
15:27:39 INFO    opendrift.models.openoil.openoil:1184: 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:00.0  total
 0:00:00.0  preparing
 0:00:00.0  reading
 0:00:00.0  masking
--------------------
https://thredds.met.no/thredds/dodsC/fou-hi/barents_eps_zdepth_be
 0:01:04.3  total
 0:00:00.0  preparing
 0:01:01.5  reading
 0:00:01.5  interpolation
 0:00:00.1  interpolation_time
 0:00:02.7  rotating vectors
 0:00:00.0  masking
--------------------
Performance:
 1:48.4 total time
    6.0 configuration
    0.1 preparing main loop
      0.0 moving elements to ocean
 1:42.2 main loop
      5.6 updating elements
        0.0 oil weathering
          0.0 updating viscosities
          0.0 updating densities
        5.0 vertical mixing
    0.0 cleaning up
--------------------
===========================
Model:  OpenOil     (OpenDrift version 1.11.2)
        2997 active Oil particles  (3 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_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_height
  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: 2024-04-18 15:25:51.341897 UTC
        Present: 2024-04-20 15:25:51.341897 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:1683: UserWarning: No data for colormapping provided via 'c'. Parameters 'cmap', 'vmin', 'vmax' will be ignored
  result = super().scatter(*args, **kwargs)
15:27:55 INFO    opendrift.models.basemodel:4563: Saving animation to /root/project/docs/source/gallery/animations/example_oil_ice_0.gif...
15:30:17 INFO    opendrift.models.basemodel:3003: Time to make animation: 0:02:38.024831
../_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) 2024-04-18 15:25 to 2024-04-20 15:25 UTC (49 steps)
(<GeoAxes: title={'center': 'OpenDrift - OpenOil (GENERIC BUNKER C)\n2024-04-18 15:25 to 2024-04-20 15:25 UTC (49 steps)'}>, <Figure size 650.339x1100 with 2 Axes>)

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

Gallery generated by Sphinx-Gallery