Cone seeding

from datetime import datetime, timedelta
from opendrift.readers import reader_netCDF_CF_generic
from opendrift.models.openoil import OpenOil

o = OpenOil(loglevel=20)  # Set loglevel to 0 for debug information
13:58:23 INFO    opendrift:569: OpenDriftSimulation initialised (version 1.14.11 / v1.14.12-9-g6f1a4a0)

Using live data from Thredds

o.add_readers_from_list([
    'https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be'])

Adjusting some configuration

o.set_config('processes:dispersion', True)
o.set_config('processes:evaporation', False)
o.set_config('processes:emulsification', True)

Seed elements along cone, e.g. ship track with increasing uncertainty in position

latstart = 68.988911
lonstart = 16.040701
latend = 69.991446
lonend = 17.760061
time = [datetime.utcnow(), datetime.utcnow() + timedelta(hours=12)]
o.seed_cone(lon=[lonstart, lonend], lat=[latstart, latend],
            oil_type='EKOFISK', radius=[100, 800], number=10000, time=[time])

print(o)
/root/project/examples/example_cone.py:31: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
  time = [datetime.utcnow(), datetime.utcnow() + timedelta(hours=12)]
13:58:23 INFO    opendrift.models.basemodel.environment:203: Adding a global landmask from GSHHG
13:58:29 INFO    opendrift.models.basemodel.environment:227: Fallback values will be used for the following variables which have no readers:
13:58:29 INFO    opendrift.models.basemodel.environment:230:    sea_surface_height: 0.000000
13:58:29 INFO    opendrift.models.basemodel.environment:230:    upward_sea_water_velocity: 0.000000
13:58:29 INFO    opendrift.models.basemodel.environment:230:    sea_surface_wave_significant_height: 0.000000
13:58:29 INFO    opendrift.models.basemodel.environment:230:    sea_surface_wave_stokes_drift_x_velocity: 0.000000
13:58:29 INFO    opendrift.models.basemodel.environment:230:    sea_surface_wave_stokes_drift_y_velocity: 0.000000
13:58:29 INFO    opendrift.models.basemodel.environment:230:    sea_surface_wave_period_at_variance_spectral_density_maximum: 0.000000
13:58:29 INFO    opendrift.models.basemodel.environment:230:    sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment: 0.000000
13:58:29 INFO    opendrift.models.basemodel.environment:230:    sea_ice_area_fraction: 0.000000
13:58:29 INFO    opendrift.models.basemodel.environment:230:    sea_ice_x_velocity: 0.000000
13:58:29 INFO    opendrift.models.basemodel.environment:230:    sea_ice_y_velocity: 0.000000
13:58:29 INFO    opendrift.models.basemodel.environment:230:    sea_water_temperature: 10.000000
13:58:29 INFO    opendrift.models.basemodel.environment:230:    sea_water_salinity: 34.000000
13:58:29 INFO    opendrift.models.basemodel.environment:230:    sea_floor_depth_below_sea_level: 10000.000000
13:58:29 INFO    opendrift.models.basemodel.environment:230:    horizontal_diffusivity: 0.000000
13:58:29 INFO    opendrift.models.basemodel.environment:230:    ocean_vertical_diffusivity: 0.020000
13:58:29 INFO    opendrift.models.basemodel.environment:230:    ocean_mixed_layer_thickness: 50.000000
13:58:29 INFO    opendrift.models.openoil.adios.dirjs:86: Querying ADIOS database for oil: EKOFISK
13:58:29 WARNING opendrift.models.openoil.adios.dirjs:90: Several oils found with name: EKOFISK: ['AD00328', 'AD00329', 'AD00332', 'AD00333', 'AD01944', 'AD02094', 'AD02463', 'AD02558', 'NO00013', 'NO00014', 'NO00015', 'NO00016'], using first.
13:58:29 INFO    opendrift.models.openoil.openoil:1731: Using density 809.002835 and viscosity 3.3498550728972226e-06 of oiltype EKOFISK
===========================
Model:  OpenOil     (OpenDrift version 1.14.11)
        0 active Oil particles  (0 deactivated, 10000 scheduled)
-------------------
Environment variables:
  -----
  land_binary_mask
     1) global_landmask
  -----
Readers not added for the following variables:
  horizontal_diffusivity
  ocean_mixed_layer_thickness
  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_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
  sea_water_salinity
  sea_water_temperature
  upward_sea_water_velocity
  x_sea_water_velocity
  x_wind
  y_sea_water_velocity
  y_wind
---
Lazy readers:
  LazyReader: https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be

Discarded readers:
===========================

Running model for 24 hours

o.run(steps=24*2, time_step=1800, time_step_output=3600)
13:58:29 INFO    opendrift:1910: Skipping environment variable upward_sea_water_velocity because of condition ['drift:vertical_advection', 'is', False]
13:58:29 INFO    opendrift:1921: Storing previous values of element property lon because of condition (('general:coastline_action', 'in', ['stranding', 'previous']), 'or', ('general:seafloor_action', 'in', ['previous']))
13:58:29 INFO    opendrift:1921: Storing previous values of element property lat because of condition (('general:coastline_action', 'in', ['stranding', 'previous']), 'or', ('general:seafloor_action', 'in', ['previous']))
13:58:29 INFO    opendrift:958: Using existing reader for land_binary_mask to move elements to ocean
13:58:29 INFO    opendrift:989: All points are in ocean
13:58:29 INFO    opendrift.models.openoil.openoil:697: Oil-water surface tension is 0.027884 Nm
13:58:29 INFO    opendrift.models.openoil.openoil:710: Max water fraction not available for EKOFISK, using default
13:58:29 INFO    opendrift:2237: 2026-09-10 13:58:23.412729 - step 1 of 48 - 417 active elements (0 deactivated)
13:58:29 INFO    opendrift.readers:67: Opening file with xr.open_dataset
13:58:31 INFO    opendrift.readers.reader_netCDF_CF_generic:340: Detected dimensions: {'x': 'X', 'y': 'Y', 'z': 'depth', 'time': 'time'}
13:58:31 INFO    opendrift.readers.basereader:175: Variable x_sea_water_velocity will be rotated from eastward_sea_water_velocity
13:58:31 INFO    opendrift.readers.basereader:175: Variable y_sea_water_velocity will be rotated from northward_sea_water_velocity
13:58:31 INFO    opendrift.readers.basereader:175: Variable x_wind will be rotated from eastward_wind
13:58:31 INFO    opendrift.readers.basereader:175: Variable y_wind will be rotated from northward_wind
13:58:34 INFO    opendrift:2237: 2026-09-10 14:28:23.412729 - step 2 of 48 - 834 active elements (0 deactivated)
13:58:35 INFO    opendrift:2237: 2026-09-10 14:58:23.412729 - step 3 of 48 - 1250 active elements (0 deactivated)
13:58:35 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:35 INFO    opendrift:2237: 2026-09-10 15:28:23.412729 - step 4 of 48 - 1667 active elements (0 deactivated)
13:58:37 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:37 INFO    opendrift:2237: 2026-09-10 15:58:23.412729 - step 5 of 48 - 2084 active elements (0 deactivated)
13:58:37 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:37 INFO    opendrift:2237: 2026-09-10 16:28:23.412729 - step 6 of 48 - 2500 active elements (0 deactivated)
13:58:39 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:39 INFO    opendrift:2237: 2026-09-10 16:58:23.412729 - step 7 of 48 - 2917 active elements (0 deactivated)
13:58:39 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:39 INFO    opendrift:2237: 2026-09-10 17:28:23.412729 - step 8 of 48 - 3334 active elements (0 deactivated)
13:58:41 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:41 INFO    opendrift:2237: 2026-09-10 17:58:23.412729 - step 9 of 48 - 3750 active elements (0 deactivated)
13:58:41 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:41 INFO    opendrift:2237: 2026-09-10 18:28:23.412729 - step 10 of 48 - 4167 active elements (0 deactivated)
13:58:43 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:43 INFO    opendrift:2237: 2026-09-10 18:58:23.412729 - step 11 of 48 - 4583 active elements (0 deactivated)
13:58:43 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:44 INFO    opendrift:2237: 2026-09-10 19:28:23.412729 - step 12 of 48 - 5000 active elements (0 deactivated)
13:58:45 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:46 INFO    opendrift:2237: 2026-09-10 19:58:23.412729 - step 13 of 48 - 5417 active elements (0 deactivated)
13:58:46 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:46 INFO    opendrift:2237: 2026-09-10 20:28:23.412729 - step 14 of 48 - 5833 active elements (0 deactivated)
13:58:48 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:48 INFO    opendrift:2237: 2026-09-10 20:58:23.412729 - step 15 of 48 - 6250 active elements (0 deactivated)
13:58:48 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:48 INFO    opendrift:2237: 2026-09-10 21:28:23.412729 - step 16 of 48 - 6666 active elements (1 deactivated)
13:58:50 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:51 INFO    opendrift:2237: 2026-09-10 21:58:23.412729 - step 17 of 48 - 7081 active elements (2 deactivated)
13:58:51 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:51 INFO    opendrift:2237: 2026-09-10 22:28:23.412729 - step 18 of 48 - 7496 active elements (4 deactivated)
13:58:53 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:54 INFO    opendrift:2237: 2026-09-10 22:58:23.412729 - step 19 of 48 - 7910 active elements (6 deactivated)
13:58:54 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:54 INFO    opendrift:2237: 2026-09-10 23:28:23.412729 - step 20 of 48 - 8327 active elements (6 deactivated)
13:58:56 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:57 INFO    opendrift:2237: 2026-09-10 23:58:23.412729 - step 21 of 48 - 8741 active elements (9 deactivated)
13:58:57 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:57 INFO    opendrift:2237: 2026-09-11 00:28:23.412729 - step 22 of 48 - 9155 active elements (11 deactivated)
13:58:59 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:58:59 INFO    opendrift:2237: 2026-09-11 00:58:23.412729 - step 23 of 48 - 9569 active elements (14 deactivated)
13:58:59 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:59:00 INFO    opendrift:2237: 2026-09-11 01:28:23.412729 - step 24 of 48 - 9984 active elements (16 deactivated)
13:59:02 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:59:02 INFO    opendrift:2237: 2026-09-11 01:58:23.412729 - step 25 of 48 - 9984 active elements (16 deactivated)
13:59:02 WARNING opendrift.readers.basereader.structured:324: Data block from https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be not large enough to cover element positions within timestep. Buffer size (8) must be increased. See `Variables.set_buffer_size`.
13:59:03 INFO    opendrift:2237: 2026-09-11 02:28:23.412729 - step 26 of 48 - 9984 active elements (16 deactivated)
13:59:05 INFO    opendrift:2237: 2026-09-11 02:58:23.412729 - step 27 of 48 - 9984 active elements (16 deactivated)
13:59:05 INFO    opendrift:2237: 2026-09-11 03:28:23.412729 - step 28 of 48 - 9984 active elements (16 deactivated)
13:59:07 INFO    opendrift:2237: 2026-09-11 03:58:23.412729 - step 29 of 48 - 9983 active elements (17 deactivated)
13:59:08 INFO    opendrift:2237: 2026-09-11 04:28:23.412729 - step 30 of 48 - 9982 active elements (18 deactivated)
13:59:10 INFO    opendrift:2237: 2026-09-11 04:58:23.412729 - step 31 of 48 - 9982 active elements (18 deactivated)
13:59:10 INFO    opendrift:2237: 2026-09-11 05:28:23.412729 - step 32 of 48 - 9982 active elements (18 deactivated)
13:59:13 INFO    opendrift:2237: 2026-09-11 05:58:23.412729 - step 33 of 48 - 9982 active elements (18 deactivated)
13:59:13 INFO    opendrift:2237: 2026-09-11 06:28:23.412729 - step 34 of 48 - 9982 active elements (18 deactivated)
13:59:16 INFO    opendrift:2237: 2026-09-11 06:58:23.412729 - step 35 of 48 - 9981 active elements (19 deactivated)
13:59:16 INFO    opendrift:2237: 2026-09-11 07:28:23.412729 - step 36 of 48 - 9979 active elements (21 deactivated)
13:59:19 INFO    opendrift:2237: 2026-09-11 07:58:23.412729 - step 37 of 48 - 9977 active elements (23 deactivated)
13:59:20 INFO    opendrift:2237: 2026-09-11 08:28:23.412729 - step 38 of 48 - 9976 active elements (24 deactivated)
13:59:23 INFO    opendrift:2237: 2026-09-11 08:58:23.412729 - step 39 of 48 - 9973 active elements (27 deactivated)
13:59:23 INFO    opendrift:2237: 2026-09-11 09:28:23.412729 - step 40 of 48 - 9971 active elements (29 deactivated)
13:59:26 INFO    opendrift:2237: 2026-09-11 09:58:23.412729 - step 41 of 48 - 9969 active elements (31 deactivated)
13:59:27 INFO    opendrift:2237: 2026-09-11 10:28:23.412729 - step 42 of 48 - 9964 active elements (36 deactivated)
13:59:30 INFO    opendrift:2237: 2026-09-11 10:58:23.412729 - step 43 of 48 - 9962 active elements (38 deactivated)
13:59:30 INFO    opendrift:2237: 2026-09-11 11:28:23.412729 - step 44 of 48 - 9959 active elements (41 deactivated)
13:59:33 INFO    opendrift:2237: 2026-09-11 11:58:23.412729 - step 45 of 48 - 9951 active elements (49 deactivated)
13:59:33 INFO    opendrift:2237: 2026-09-11 12:28:23.412729 - step 46 of 48 - 9949 active elements (51 deactivated)
13:59:36 INFO    opendrift:2237: 2026-09-11 12:58:23.412729 - step 47 of 48 - 9941 active elements (59 deactivated)
13:59:36 INFO    opendrift:2237: 2026-09-11 13:28:23.412729 - step 48 of 48 - 9938 active elements (62 deactivated)
<xarray.Dataset> Size: 44MB
Dimensions:                                                                              (
                                                                                          trajectory: 10000,
                                                                                          time: 25)
Coordinates:
  * trajectory                                                                           (trajectory) int64 80kB ...
  * time                                                                                 (time) datetime64[ns] 200B ...
Data variables: (12/44)
    status                                                                               (trajectory, time) float32 1MB ...
    moving                                                                               (trajectory, time) float32 1MB ...
    age_seconds                                                                          (trajectory, time) float32 1MB ...
    origin_marker                                                                        (trajectory, time) float32 1MB ...
    lon                                                                                  (trajectory, time) float32 1MB ...
    lat                                                                                  (trajectory, time) float32 1MB ...
    ...                                                                                   ...
    sea_water_salinity                                                                   (trajectory, time) float32 1MB ...
    sea_floor_depth_below_sea_level                                                      (trajectory, time) float32 1MB ...
    horizontal_diffusivity                                                               (trajectory, time) float32 1MB ...
    ocean_vertical_diffusivity                                                           (trajectory, time) float32 1MB ...
    land_binary_mask                                                                     (trajectory, time) float32 1MB ...
    ocean_mixed_layer_thickness                                                          (trajectory, time) float32 1MB ...
Attributes: (12/167)
    Conventions:                                                             ...
    standard_name_vocabulary:                                                ...
    featureType:                                                             ...
    title:                                                                   ...
    summary:                                                                 ...
    keywords:                                                                ...
    ...                                                                                                               ...
    geospatial_lon_units:                                                    ...
    geospatial_lon_resolution:                                               ...
    runtime:                                                                 ...
    geospatial_vertical_min:                                                 ...
    geospatial_vertical_max:                                                 ...
    geospatial_vertical_positive:                                            ...


Print and plot results

print(o)
===========================
--------------------
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/norkystv3_800m_m00_be
 0:00:57.2  total
 0:00:00.0  preparing
 0:00:55.9  reading
 0:00:04.9  interpolation
 0:00:00.1  interpolation_time
 0:00:01.3  rotating vectors
 0:00:00.0  masking
--------------------
Performance:
 1:16.8 total time
    5.9 configuration
    0.1 preparing main loop
      0.0 moving elements to ocean
 1:10.7 main loop
      6.9 updating elements
        0.1 oil weathering
          0.0 updating viscosities
          0.0 updating densities
          0.0 emulsification
          0.0 dispersion
        6.1 vertical mixing
    0.0 cleaning up
--------------------
===========================
Model:  OpenOil     (OpenDrift version 1.14.11)
        9926 active Oil particles  (74 deactivated, 0 scheduled)
-------------------
Environment variables:
  -----
  land_binary_mask
     1) global_landmask
  -----
  ocean_vertical_diffusivity
  sea_floor_depth_below_sea_level
  sea_surface_height
  sea_water_salinity
  sea_water_temperature
  x_sea_water_velocity
  x_wind
  y_sea_water_velocity
  y_wind
     1) https://thredds.met.no/thredds/dodsC/fou-hi/norkystv3_800m_m00_be
  -----
Readers not added for the following variables:
  horizontal_diffusivity
  ocean_mixed_layer_thickness
  sea_ice_area_fraction
  sea_ice_x_velocity
  sea_ice_y_velocity
  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: 2026-09-10 13:58:23.412729 UTC
        Present: 2026-09-11 13:58:23.412729 UTC
        Calculation steps: 48 * 0:30:00 - total time: 1 day, 0:00:00
        Output steps: 25 * 1:00:00
===========================

Add text label on the map

text = [{'s': 'Senja', 'x': 17.3, 'y': 69.3, 'fontsize': 20, 'color': 'g',
         'backgroundcolor': 'white', 'bbox': dict(facecolor='white', alpha=0.8), 'zorder': 1000}]

o.animation(fast=False, ocean_color='skyblue', land_color='burlywood', text=text)
13:59:52 INFO    opendrift:4823: Saving animation to /root/project/docs/source/gallery/animations/example_cone_0.gif...
14:00:03 INFO    opendrift:3241: Time to make animation: 0:00:22.517620
../_images/example_cone_0.gif
o.plot(fast=True, ocean_color='skyblue', land_color='dimgray', text=text)
OpenDrift - OpenOil (EKOFISK) 2026-09-10 13:58 to 2026-09-11 13:58 UTC (25 steps)
14:00:03 WARNING opendrift:2613: Plotting fast. This will make your plots less accurate.

(<GeoAxes: title={'center': 'OpenDrift - OpenOil (EKOFISK)\n2026-09-10 13:58 to 2026-09-11 13:58 UTC (25 steps)'}>, <Figure size 703.828x1100 with 1 Axes>)

Total running time of the script: (2 minutes 9.532 seconds)

Gallery generated by Sphinx-Gallery