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)
12:50:56 INFO    opendrift.models.basemodel:515: OpenDriftSimulation initialised (version 1.11.13 / v1.11.13-99-gd2132d3)

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))
12:50:56 INFO    opendrift.models.openoil.openoil:1710: Oil type not specified, using default: GENERIC BUNKER C
12:50:56 INFO    opendrift.models.openoil.adios.dirjs:90: Querying ADIOS database for oil: GENERIC BUNKER C
12:50:56 INFO    opendrift.models.openoil.openoil:1719: Using density 971.1 and viscosity 0.0005020658058702914 of oiltype GENERIC BUNKER C
12:50:56 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...
12:51:01 INFO    opendrift.models.basemodel.environment:245: Fallback values will be used for the following variables which have no readers:
12:51:01 INFO    opendrift.models.basemodel.environment:248:    sea_surface_height: 0.000000
12:51:01 INFO    opendrift.models.basemodel.environment:248:    upward_sea_water_velocity: 0.000000
12:51:01 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_significant_height: 0.000000
12:51:01 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_stokes_drift_x_velocity: 0.000000
12:51:01 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_stokes_drift_y_velocity: 0.000000
12:51:01 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_period_at_variance_spectral_density_maximum: 0.000000
12:51:01 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment: 0.000000
12:51:01 INFO    opendrift.models.basemodel.environment:248:    sea_ice_area_fraction: 0.000000
12:51:01 INFO    opendrift.models.basemodel.environment:248:    sea_ice_x_velocity: 0.000000
12:51:01 INFO    opendrift.models.basemodel.environment:248:    sea_ice_y_velocity: 0.000000
12:51:01 INFO    opendrift.models.basemodel.environment:248:    sea_water_temperature: 10.000000
12:51:01 INFO    opendrift.models.basemodel.environment:248:    sea_water_salinity: 34.000000
12:51:01 INFO    opendrift.models.basemodel.environment:248:    sea_floor_depth_below_sea_level: 10000.000000
12:51:01 INFO    opendrift.models.basemodel.environment:248:    ocean_vertical_diffusivity: 0.020000
12:51:01 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)
12:51:02 INFO    opendrift.models.basemodel:936: Using existing reader for land_binary_mask
12:51:02 INFO    opendrift.models.basemodel:947: All points are in ocean
12:51:02 INFO    opendrift.models.openoil.openoil:687: Oil-water surface tension is 0.035282 Nm
12:51:02 INFO    opendrift.models.openoil.openoil:700: Max water fraction not available for GENERIC BUNKER C, using default
12:51:02 INFO    opendrift.models.basemodel:2038: 2024-11-04 12:50:56.748323 - step 1 of 96 - 3000 active elements (0 deactivated)
12:51:02 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)
12:52:52 INFO    opendrift.readers.reader_netCDF_CF_generic:325: Detected dimensions: {'x': 'X', 'y': 'Y', 'z': 'depth', 'time': 'time'}
12:52:52 INFO    opendrift.readers.basereader:176: Variable x_sea_water_velocity will be rotated from eastward_sea_water_velocity
12:52:52 INFO    opendrift.readers.basereader:176: Variable y_sea_water_velocity will be rotated from northward_sea_water_velocity
12:52:55 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.009566002 to -0.004764123) found for ocean_vertical_diffusivity, replacing with NaN
12:52:55 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:52:58 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0086260345 to -0.004479932) found for ocean_vertical_diffusivity, replacing with NaN
12:52:58 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:52:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:52:58 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:52:58 INFO    opendrift.models.basemodel:2038: 2024-11-04 13:20:56.748323 - step 2 of 96 - 3000 active elements (0 deactivated)
12:53:01 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.009271567 to -0.0037676035) found for ocean_vertical_diffusivity, replacing with NaN
12:53:01 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:53:01 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:01 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:01 INFO    opendrift.models.basemodel:2038: 2024-11-04 13:50:56.748323 - step 3 of 96 - 3000 active elements (0 deactivated)
12:53:01 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:01 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:01 INFO    opendrift.models.basemodel:2038: 2024-11-04 14:20:56.748323 - step 4 of 96 - 3000 active elements (0 deactivated)
12:53:04 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0063911905 to -0.002383733) found for ocean_vertical_diffusivity, replacing with NaN
12:53:04 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:53:04 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:04 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:05 INFO    opendrift.models.basemodel:2038: 2024-11-04 14:50:56.748323 - step 5 of 96 - 3000 active elements (0 deactivated)
12:53:05 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:05 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:05 INFO    opendrift.models.basemodel:2038: 2024-11-04 15:20:56.748323 - step 6 of 96 - 3000 active elements (0 deactivated)
12:53:09 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.002555588 to -0.00072232645) found for ocean_vertical_diffusivity, replacing with NaN
12:53:09 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:53:09 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:09 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:11 INFO    opendrift.models.basemodel:2038: 2024-11-04 15:50:56.748323 - step 7 of 96 - 2997 active elements (3 deactivated)
12:53:11 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:11 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:11 INFO    opendrift.models.basemodel:2038: 2024-11-04 16:20:56.748323 - step 8 of 96 - 2959 active elements (41 deactivated)
12:53:14 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:14 INFO    opendrift.models.basemodel:2038: 2024-11-04 16:50:56.748323 - step 9 of 96 - 2525 active elements (475 deactivated)
12:53:14 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:14 INFO    opendrift.models.basemodel:2038: 2024-11-04 17:20:56.748323 - step 10 of 96 - 1544 active elements (1456 deactivated)
12:53:18 WARNING opendrift.readers.basereader.variables:650: Invalid values (-9.578303e-05 to -3.5304012e-05) found for ocean_vertical_diffusivity, replacing with NaN
12:53:18 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:53:19 INFO    opendrift.models.basemodel:2038: 2024-11-04 17:50:56.748323 - step 11 of 96 - 981 active elements (2019 deactivated)
12:53:19 INFO    opendrift.models.basemodel:2038: 2024-11-04 18:20:56.748323 - step 12 of 96 - 848 active elements (2152 deactivated)
12:53:22 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0041558575 to -0.00042339033) found for ocean_vertical_diffusivity, replacing with NaN
12:53:22 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:53:22 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:22 INFO    opendrift.models.basemodel:2038: 2024-11-04 18:50:56.748323 - step 13 of 96 - 830 active elements (2170 deactivated)
12:53:22 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:22 INFO    opendrift.models.basemodel:2038: 2024-11-04 19:20:56.748323 - step 14 of 96 - 825 active elements (2175 deactivated)
12:53:24 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.010190888 to -0.0019474367) found for ocean_vertical_diffusivity, replacing with NaN
12:53:24 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:53:24 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:24 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:25 INFO    opendrift.models.basemodel:2038: 2024-11-04 19:50:56.748323 - step 15 of 96 - 824 active elements (2176 deactivated)
12:53:25 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:25 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:25 INFO    opendrift.models.basemodel:2038: 2024-11-04 20:20:56.748323 - step 16 of 96 - 817 active elements (2183 deactivated)
12:53:27 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.012716851 to -0.0024391876) found for ocean_vertical_diffusivity, replacing with NaN
12:53:27 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:53:27 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:27 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:28 INFO    opendrift.models.basemodel:2038: 2024-11-04 20:50:56.748323 - step 17 of 96 - 790 active elements (2210 deactivated)
12:53:28 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:28 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:28 INFO    opendrift.models.basemodel:2038: 2024-11-04 21:20:56.748323 - step 18 of 96 - 703 active elements (2297 deactivated)
12:53:31 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0109115355 to -0.0023108523) found for ocean_vertical_diffusivity, replacing with NaN
12:53:31 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:53:31 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:31 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:31 INFO    opendrift.models.basemodel:2038: 2024-11-04 21:50:56.748323 - step 19 of 96 - 533 active elements (2467 deactivated)
12:53:31 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:31 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:31 INFO    opendrift.models.basemodel:2038: 2024-11-04 22:20:56.748323 - step 20 of 96 - 385 active elements (2615 deactivated)
12:53:34 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.00794947 to -0.0015407309) found for ocean_vertical_diffusivity, replacing with NaN
12:53:34 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:53:34 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:34 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:34 INFO    opendrift.models.basemodel:2038: 2024-11-04 22:50:56.748323 - step 21 of 96 - 295 active elements (2705 deactivated)
12:53:34 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:34 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:34 INFO    opendrift.models.basemodel:2038: 2024-11-04 23:20:56.748323 - step 22 of 96 - 274 active elements (2726 deactivated)
12:53:36 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0063996282 to -0.0014910948) found for ocean_vertical_diffusivity, replacing with NaN
12:53:36 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:53:36 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:36 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:37 INFO    opendrift.models.basemodel:2038: 2024-11-04 23:50:56.748323 - step 23 of 96 - 266 active elements (2734 deactivated)
12:53:37 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:37 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:37 INFO    opendrift.models.basemodel:2038: 2024-11-05 00:20:56.748323 - step 24 of 96 - 264 active elements (2736 deactivated)
12:53:39 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0040130117 to -0.0010597883) found for ocean_vertical_diffusivity, replacing with NaN
12:53:39 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:53:39 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:39 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:39 INFO    opendrift.models.basemodel:2038: 2024-11-05 00:50:56.748323 - step 25 of 96 - 264 active elements (2736 deactivated)
12:53:39 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:39 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:39 INFO    opendrift.models.basemodel:2038: 2024-11-05 01:20:56.748323 - step 26 of 96 - 264 active elements (2736 deactivated)
12:53:42 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.006102257 to -0.001431722) found for ocean_vertical_diffusivity, replacing with NaN
12:53:42 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:53:42 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:42 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:42 INFO    opendrift.models.basemodel:2038: 2024-11-05 01:50:56.748323 - step 27 of 96 - 264 active elements (2736 deactivated)
12:53:42 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:42 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:42 INFO    opendrift.models.basemodel:2038: 2024-11-05 02:20:56.748323 - step 28 of 96 - 264 active elements (2736 deactivated)
12:53:45 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0061556585 to -0.001442153) found for ocean_vertical_diffusivity, replacing with NaN
12:53:45 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:53:45 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:45 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:45 INFO    opendrift.models.basemodel:2038: 2024-11-05 02:50:56.748323 - step 29 of 96 - 264 active elements (2736 deactivated)
12:53:45 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:45 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:46 INFO    opendrift.models.basemodel:2038: 2024-11-05 03:20:56.748323 - step 30 of 96 - 264 active elements (2736 deactivated)
12:53:48 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0033419838 to -0.0006162269) found for ocean_vertical_diffusivity, replacing with NaN
12:53:48 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:53:48 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:48 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:48 INFO    opendrift.models.basemodel:2038: 2024-11-05 03:50:56.748323 - step 31 of 96 - 264 active elements (2736 deactivated)
12:53:48 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:48 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:48 INFO    opendrift.models.basemodel:2038: 2024-11-05 04:20:56.748323 - step 32 of 96 - 264 active elements (2736 deactivated)
12:53:51 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.00032945359 to -9.883391e-06) found for ocean_vertical_diffusivity, replacing with NaN
12:53:51 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:53:51 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
12:53:51 INFO    opendrift.models.basemodel:2038: 2024-11-05 04:50:56.748323 - step 33 of 96 - 264 active elements (2736 deactivated)
12:53:51 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:51 INFO    opendrift.models.basemodel:2038: 2024-11-05 05:20:56.748323 - step 34 of 96 - 264 active elements (2736 deactivated)
12:53:54 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0001961878 to -6.723123e-05) found for ocean_vertical_diffusivity, replacing with NaN
12:53:54 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:53:54 INFO    opendrift.models.basemodel:2038: 2024-11-05 05:50:56.748323 - step 35 of 96 - 264 active elements (2736 deactivated)
12:53:54 INFO    opendrift.models.basemodel:2038: 2024-11-05 06:20:56.748323 - step 36 of 96 - 264 active elements (2736 deactivated)
12:53:57 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.004362835 to -0.00058657175) found for ocean_vertical_diffusivity, replacing with NaN
12:53:57 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:53:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:57 INFO    opendrift.models.basemodel:2038: 2024-11-05 06:50:56.748323 - step 37 of 96 - 264 active elements (2736 deactivated)
12:53:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:53:57 INFO    opendrift.models.basemodel:2038: 2024-11-05 07:20:56.748323 - step 38 of 96 - 264 active elements (2736 deactivated)
12:54:00 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.010558034 to -0.0038786184) found for ocean_vertical_diffusivity, replacing with NaN
12:54:00 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:54:00 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:00 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:00 INFO    opendrift.models.basemodel:2038: 2024-11-05 07:50:56.748323 - step 39 of 96 - 264 active elements (2736 deactivated)
12:54:00 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:00 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:00 INFO    opendrift.models.basemodel:2038: 2024-11-05 08:20:56.748323 - step 40 of 96 - 264 active elements (2736 deactivated)
12:54:03 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.016597332 to -0.0054599275) found for ocean_vertical_diffusivity, replacing with NaN
12:54:03 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:54:03 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:03 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:03 INFO    opendrift.models.basemodel:2038: 2024-11-05 08:50:56.748323 - step 41 of 96 - 264 active elements (2736 deactivated)
12:54:03 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:03 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:03 INFO    opendrift.models.basemodel:2038: 2024-11-05 09:20:56.748323 - step 42 of 96 - 264 active elements (2736 deactivated)
12:54:06 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.017519986 to -0.002149904) found for ocean_vertical_diffusivity, replacing with NaN
12:54:06 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:54:06 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:06 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:06 INFO    opendrift.models.basemodel:2038: 2024-11-05 09:50:56.748323 - step 43 of 96 - 264 active elements (2736 deactivated)
12:54:06 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:06 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:06 INFO    opendrift.models.basemodel:2038: 2024-11-05 10:20:56.748323 - step 44 of 96 - 264 active elements (2736 deactivated)
12:54:09 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.013454204 to -0.0014273226) found for ocean_vertical_diffusivity, replacing with NaN
12:54:09 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:54:09 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:09 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:09 INFO    opendrift.models.basemodel:2038: 2024-11-05 10:50:56.748323 - step 45 of 96 - 264 active elements (2736 deactivated)
12:54:09 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:09 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:09 INFO    opendrift.models.basemodel:2038: 2024-11-05 11:20:56.748323 - step 46 of 96 - 264 active elements (2736 deactivated)
12:54:12 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.009458321 to -0.001734672) found for ocean_vertical_diffusivity, replacing with NaN
12:54:12 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:54:12 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:12 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:12 INFO    opendrift.models.basemodel:2038: 2024-11-05 11:50:56.748323 - step 47 of 96 - 264 active elements (2736 deactivated)
12:54:12 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:12 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:12 INFO    opendrift.models.basemodel:2038: 2024-11-05 12:20:56.748323 - step 48 of 96 - 264 active elements (2736 deactivated)
12:54:15 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.006903158 to -0.0015705286) found for ocean_vertical_diffusivity, replacing with NaN
12:54:15 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:54:15 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:15 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:15 INFO    opendrift.models.basemodel:2038: 2024-11-05 12:50:56.748323 - step 49 of 96 - 264 active elements (2736 deactivated)
12:54:15 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
12:54:15 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:15 INFO    opendrift.models.basemodel:2038: 2024-11-05 13:20:56.748323 - step 50 of 96 - 264 active elements (2736 deactivated)
12:54:17 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.006196114 to -0.0012824088) found for ocean_vertical_diffusivity, replacing with NaN
12:54:17 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:54:17 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54: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
12:54:18 INFO    opendrift.models.basemodel:2038: 2024-11-05 13:50:56.748323 - step 51 of 96 - 264 active elements (2736 deactivated)
12:54:18 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:18 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:18 INFO    opendrift.models.basemodel:2038: 2024-11-05 14:20:56.748323 - step 52 of 96 - 263 active elements (2737 deactivated)
12:54:20 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0059282496 to -0.00076498213) found for ocean_vertical_diffusivity, replacing with NaN
12:54:20 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:54:20 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54: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
12:54:20 INFO    opendrift.models.basemodel:2038: 2024-11-05 14:50:56.748323 - step 53 of 96 - 263 active elements (2737 deactivated)
12:54:20 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:20 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:20 INFO    opendrift.models.basemodel:2038: 2024-11-05 15:20:56.748323 - step 54 of 96 - 263 active elements (2737 deactivated)
12:54:23 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0028309312 to -0.00016136821) found for ocean_vertical_diffusivity, replacing with NaN
12:54:23 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:54:23 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54: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
12:54:23 INFO    opendrift.models.basemodel:2038: 2024-11-05 15:50:56.748323 - step 55 of 96 - 262 active elements (2738 deactivated)
12:54:23 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:23 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:23 INFO    opendrift.models.basemodel:2038: 2024-11-05 16:20:56.748323 - step 56 of 96 - 260 active elements (2740 deactivated)
12:54:26 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
12:54:26 INFO    opendrift.models.basemodel:2038: 2024-11-05 16:50:56.748323 - step 57 of 96 - 259 active elements (2741 deactivated)
12:54:26 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:26 INFO    opendrift.models.basemodel:2038: 2024-11-05 17:20:56.748323 - step 58 of 96 - 258 active elements (2742 deactivated)
/root/project/opendrift/readers/interpolation/interpolators.py:17: RuntimeWarning: overflow encountered in cast
  data[mask] = np.finfo(np.float64).min
12:54:29 INFO    opendrift.models.basemodel:2038: 2024-11-05 17:50:56.748323 - step 59 of 96 - 256 active elements (2744 deactivated)
12:54:29 INFO    opendrift.models.basemodel:2038: 2024-11-05 18:20:56.748323 - step 60 of 96 - 254 active elements (2746 deactivated)
12:54:34 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0018490092 to -1.602291e-08) found for ocean_vertical_diffusivity, replacing with NaN
12:54:34 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
/root/project/opendrift/readers/interpolation/interpolators.py:17: RuntimeWarning: overflow encountered in cast
  data[mask] = np.finfo(np.float64).min
12:54:34 INFO    opendrift.models.basemodel:2038: 2024-11-05 18:50:56.748323 - step 61 of 96 - 252 active elements (2748 deactivated)
12:54:34 INFO    opendrift.models.basemodel:2038: 2024-11-05 19:20:56.748323 - step 62 of 96 - 249 active elements (2751 deactivated)
12:54:36 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0060813595 to -0.0013082364) found for ocean_vertical_diffusivity, replacing with NaN
12:54:36 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:54: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
12:54:36 INFO    opendrift.models.basemodel:2038: 2024-11-05 19:50:56.748323 - step 63 of 96 - 246 active elements (2754 deactivated)
12:54:36 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:36 INFO    opendrift.models.basemodel:2038: 2024-11-05 20:20:56.748323 - step 64 of 96 - 245 active elements (2755 deactivated)
12:54:39 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.008654476 to -0.0018623667) found for ocean_vertical_diffusivity, replacing with NaN
12:54:39 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:54:39 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54: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
12:54:39 INFO    opendrift.models.basemodel:2038: 2024-11-05 20:50:56.748323 - step 65 of 96 - 238 active elements (2762 deactivated)
12:54:39 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:39 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:39 INFO    opendrift.models.basemodel:2038: 2024-11-05 21:20:56.748323 - step 66 of 96 - 234 active elements (2766 deactivated)
12:54:42 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.008929728 to -0.0017049828) found for ocean_vertical_diffusivity, replacing with NaN
12:54:42 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:54:42 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:42 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
12:54:42 INFO    opendrift.models.basemodel:2038: 2024-11-05 21:50:56.748323 - step 67 of 96 - 230 active elements (2770 deactivated)
12:54:42 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:42 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:42 INFO    opendrift.models.basemodel:2038: 2024-11-05 22:20:56.748323 - step 68 of 96 - 222 active elements (2778 deactivated)
12:54:45 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0076083057 to -0.0013578899) found for ocean_vertical_diffusivity, replacing with NaN
12:54:45 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:54:45 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:45 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
12:54:45 INFO    opendrift.models.basemodel:2038: 2024-11-05 22:50:56.748323 - step 69 of 96 - 221 active elements (2779 deactivated)
12:54:45 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:45 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:45 INFO    opendrift.models.basemodel:2038: 2024-11-05 23:20:56.748323 - step 70 of 96 - 220 active elements (2780 deactivated)
12:54:48 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.00677129 to -0.0013708416) found for ocean_vertical_diffusivity, replacing with NaN
12:54:48 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:54:48 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:48 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
12:54:48 INFO    opendrift.models.basemodel:2038: 2024-11-05 23:50:56.748323 - step 71 of 96 - 220 active elements (2780 deactivated)
12:54:48 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:48 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:48 INFO    opendrift.models.basemodel:2038: 2024-11-06 00:20:56.748323 - step 72 of 96 - 220 active elements (2780 deactivated)
12:54:51 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0042413916 to -0.0007717865) found for ocean_vertical_diffusivity, replacing with NaN
12:54:51 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:54:51 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:51 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
12:54:51 INFO    opendrift.models.basemodel:2038: 2024-11-06 00:50:56.748323 - step 73 of 96 - 219 active elements (2781 deactivated)
12:54:51 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:51 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:51 INFO    opendrift.models.basemodel:2038: 2024-11-06 01:20:56.748323 - step 74 of 96 - 219 active elements (2781 deactivated)
12:54:54 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0045661 to -0.0009991328) found for ocean_vertical_diffusivity, replacing with NaN
12:54:54 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:54:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:54 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
12:54:54 INFO    opendrift.models.basemodel:2038: 2024-11-06 01:50:56.748323 - step 75 of 96 - 218 active elements (2782 deactivated)
12:54:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:54 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:54 INFO    opendrift.models.basemodel:2038: 2024-11-06 02:20:56.748323 - step 76 of 96 - 218 active elements (2782 deactivated)
12:54:57 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.004886624 to -0.0010513344) found for ocean_vertical_diffusivity, replacing with NaN
12:54:57 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:54:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:57 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
12:54:57 INFO    opendrift.models.basemodel:2038: 2024-11-06 02:50:56.748323 - step 77 of 96 - 218 active elements (2782 deactivated)
12:54:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:57 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:54:57 INFO    opendrift.models.basemodel:2038: 2024-11-06 03:20:56.748323 - step 78 of 96 - 218 active elements (2782 deactivated)
12:55:00 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0039083473 to -0.0006500944) found for ocean_vertical_diffusivity, replacing with NaN
12:55:00 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:55:00 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:00 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
12:55:00 INFO    opendrift.models.basemodel:2038: 2024-11-06 03:50:56.748323 - step 79 of 96 - 218 active elements (2782 deactivated)
12:55:00 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:00 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:00 INFO    opendrift.models.basemodel:2038: 2024-11-06 04:20:56.748323 - step 80 of 96 - 218 active elements (2782 deactivated)
12:55:03 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.0012624733 to -0.00013597458) found for ocean_vertical_diffusivity, replacing with NaN
12:55:03 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:55:03 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:03 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
12:55:03 INFO    opendrift.models.basemodel:2038: 2024-11-06 04:50:56.748323 - step 81 of 96 - 218 active elements (2782 deactivated)
12:55:03 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:03 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:03 INFO    opendrift.models.basemodel:2038: 2024-11-06 05:20:56.748323 - step 82 of 96 - 218 active elements (2782 deactivated)
12:55:06 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.00027804018 to -6.900704e-06) found for ocean_vertical_diffusivity, replacing with NaN
12:55:06 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:55:06 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
12:55:06 INFO    opendrift.models.basemodel:2038: 2024-11-06 05:50:56.748323 - step 83 of 96 - 217 active elements (2783 deactivated)
12:55:06 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:06 INFO    opendrift.models.basemodel:2038: 2024-11-06 06:20:56.748323 - step 84 of 96 - 217 active elements (2783 deactivated)
12:55:10 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.002478423 to -2.607343e-05) found for ocean_vertical_diffusivity, replacing with NaN
12:55:10 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
/root/project/opendrift/readers/interpolation/interpolators.py:17: RuntimeWarning: overflow encountered in cast
  data[mask] = np.finfo(np.float64).min
12:55:10 INFO    opendrift.models.basemodel:2038: 2024-11-06 06:50:56.748323 - step 85 of 96 - 217 active elements (2783 deactivated)
12:55:10 INFO    opendrift.models.basemodel:2038: 2024-11-06 07:20:56.748323 - step 86 of 96 - 217 active elements (2783 deactivated)
12:55:13 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.007577317 to -0.0010171037) found for ocean_vertical_diffusivity, replacing with NaN
12:55:13 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:55:13 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:13 INFO    opendrift.models.basemodel:2038: 2024-11-06 07:50:56.748323 - step 87 of 96 - 217 active elements (2783 deactivated)
12:55:13 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:13 INFO    opendrift.models.basemodel:2038: 2024-11-06 08:20:56.748323 - step 88 of 96 - 217 active elements (2783 deactivated)
12:55:16 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.011620042 to -0.0017674646) found for ocean_vertical_diffusivity, replacing with NaN
12:55:16 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:55:16 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:16 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:16 INFO    opendrift.models.basemodel:2038: 2024-11-06 08:50:56.748323 - step 89 of 96 - 217 active elements (2783 deactivated)
12:55:16 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:16 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:16 INFO    opendrift.models.basemodel:2038: 2024-11-06 09:20:56.748323 - step 90 of 96 - 217 active elements (2783 deactivated)
12:55:19 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.013368777 to -0.0018138827) found for ocean_vertical_diffusivity, replacing with NaN
12:55:19 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:55:19 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:19 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:19 INFO    opendrift.models.basemodel:2038: 2024-11-06 09:50:56.748323 - step 91 of 96 - 217 active elements (2783 deactivated)
12:55:19 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
12:55:19 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:19 INFO    opendrift.models.basemodel:2038: 2024-11-06 10:20:56.748323 - step 92 of 96 - 217 active elements (2783 deactivated)
12:55:24 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.012844879 to -0.0029148092) found for ocean_vertical_diffusivity, replacing with NaN
12:55:24 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:55:24 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:24 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:24 INFO    opendrift.models.basemodel:2038: 2024-11-06 10:50:56.748323 - step 93 of 96 - 217 active elements (2783 deactivated)
12:55:24 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:24 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
12:55:24 INFO    opendrift.models.basemodel:2038: 2024-11-06 11:20:56.748323 - step 94 of 96 - 217 active elements (2783 deactivated)
12:55:26 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.009262509 to -0.0018916468) found for ocean_vertical_diffusivity, replacing with NaN
12:55:26 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:55:26 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:26 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
12:55:26 INFO    opendrift.models.basemodel:2038: 2024-11-06 11:50:56.748323 - step 95 of 96 - 217 active elements (2783 deactivated)
12:55:26 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:26 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55:27 INFO    opendrift.models.basemodel:2038: 2024-11-06 12:20:56.748323 - step 96 of 96 - 217 active elements (2783 deactivated)
12:55:30 WARNING opendrift.readers.basereader.variables:650: Invalid values (-0.008107993 to -0.00158068) found for ocean_vertical_diffusivity, replacing with NaN
12:55:30 WARNING opendrift.readers.basereader.variables:653: (allowed range: [0, 1])
12:55:30 WARNING opendrift:122: Only NaNs input to linearNDFast - returning
12:55: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

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.8  total
 0:00:00.0  preparing
 0:00:01.8  reading
 0:00:00.0  masking
--------------------
https://thredds.met.no/thredds/dodsC/fou-hi/barents_eps_zdepth_be
 0:02:27.2  total
 0:00:00.0  preparing
 0:02:24.6  reading
 0:00:00.7  interpolation
 0:00:00.1  interpolation_time
 0:00:02.5  rotating vectors
 0:00:00.0  masking
--------------------
Performance:
 4:33.8 total time
    6.0 configuration
    0.1 preparing main loop
      0.0 moving elements to ocean
 4:27.7 main loop
      4.2 updating elements
        0.0 oil weathering
          0.0 updating viscosities
          0.0 updating densities
        4.0 vertical mixing
    0.0 cleaning up
--------------------
===========================
Model:  OpenOil     (OpenDrift version 1.11.13)
        216 active Oil particles  (2784 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: 2024-11-04 12:50:56.748323 UTC
        Present: 2024-11-06 12:50:56.748323 UTC
        Calculation steps: 96 * 0:30:00 - total time: 2 days, 0:00:00
        Output steps: 49 * 1:00:00
===========================

/opt/conda/envs/opendrift/lib/python3.11/site-packages/cartopy/mpl/geoaxes.py:1692: UserWarning: No data for colormapping provided via 'c'. Parameters 'cmap', 'vmin', 'vmax' will be ignored
  result = super().scatter(*args, **kwargs)
12:55:45 INFO    opendrift.models.basemodel:4613: Saving animation to /root/project/docs/source/gallery/animations/example_oil_ice_0.gif...
12:58:44 INFO    opendrift.models.basemodel:3037: Time to make animation: 0:03:13.536087
../_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-11-04 12:50 to 2024-11-06 12:50 UTC (49 steps)
(<GeoAxes: title={'center': 'OpenDrift - OpenOil (GENERIC BUNKER C)\n2024-11-04 12:50 to 2024-11-06 12:50 UTC (49 steps)'}>, <Figure size 593.989x1100 with 2 Axes>)

Total running time of the script: (8 minutes 11.893 seconds)

Gallery generated by Sphinx-Gallery