Drifter

from datetime import timedelta
import numpy as np
from opendrift.readers import reader_netCDF_CF_generic
from opendrift.models.oceandrift import OceanDrift

o = OceanDrift(loglevel=20)  # Basic drift model suitable for passive tracers or drifters

Out:

13:47:00 INFO    opendrift.models.basemodel: OpenDriftSimulation initialised (version 1.7.1 / v1.7.1-87-g074c1d2)

Preparing Readers

reader_current = reader_netCDF_CF_generic.Reader(o.test_data_folder() +
    '16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc')
reader_wind = reader_netCDF_CF_generic.Reader(o.test_data_folder() +
    '16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc')

o.add_reader([reader_current, reader_wind])

Out:

13:47:00 INFO    opendrift.readers.reader_netCDF_CF_generic: Opening dataset: /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc
13:47:00 INFO    opendrift.readers.reader_netCDF_CF_generic: Opening dataset: /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc

Seeding elements

Elements are moved with the ocean current, in addition to a fraction of the wind speed (wind_drift_factor). This factor depends on the properties of the elements. Typical empirical values are: - 0.035 (3.5 %) for oil and iSphere driftes - 0.01 (1 %) for CODE drifters partly submerged ~0.5 m As there are large uncertainties, it makes sense to provide a statistical distribution of wind_drift_factors

Using a constant value for all elements:

wind_drift_factor = 0.03

Giving each element a unique (random) wind_drift_factor

wind_drift_factor = np.random.uniform(0, 0.06, 2000)
o.seed_elements(4.7, 59.9, radius=3000, number=2000,
                time=reader_current.start_time,
                wind_drift_factor=wind_drift_factor)

# Prevent mixing elements downwards
o.set_config('drift:vertical_mixing', False)

Running model

o.run(time_step=timedelta(minutes=15),
      time_step_output=timedelta(minutes=60))

Out:

13:47:00 INFO    opendrift.models.basemodel: Fallback values will be used for the following variables which have no readers:
13:47:00 INFO    opendrift.models.basemodel:    upward_sea_water_velocity: 0.000000
13:47:00 INFO    opendrift.models.basemodel:    ocean_vertical_diffusivity: 0.000000
13:47:00 INFO    opendrift.models.basemodel:    sea_surface_wave_significant_height: 0.000000
13:47:00 INFO    opendrift.models.basemodel:    sea_surface_wave_stokes_drift_x_velocity: 0.000000
13:47:00 INFO    opendrift.models.basemodel:    sea_surface_wave_stokes_drift_y_velocity: 0.000000
13:47:00 INFO    opendrift.models.basemodel:    sea_surface_wave_period_at_variance_spectral_density_maximum: 0.000000
13:47:00 INFO    opendrift.models.basemodel:    sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment: 0.000000
13:47:00 INFO    opendrift.models.basemodel:    surface_downward_x_stress: 0.000000
13:47:00 INFO    opendrift.models.basemodel:    surface_downward_y_stress: 0.000000
13:47:00 INFO    opendrift.models.basemodel:    turbulent_kinetic_energy: 0.000000
13:47:00 INFO    opendrift.models.basemodel:    turbulent_generic_length_scale: 0.000000
13:47:00 INFO    opendrift.models.basemodel:    sea_floor_depth_below_sea_level: 10000.000000
13:47:00 INFO    opendrift.models.basemodel: Duration, steps or end time not specified, running until end of first reader: 2015-11-18 18:00:00
13:47:00 INFO    opendrift.models.basemodel: Duration, steps or end time not specified, running until end of first reader: 2015-11-18 18:00:00
13:47:00 INFO    opendrift.models.basemodel: Adding a dynamical landmask with max. priority based on assumed maximum speed of 1 m/s. Adding a customised landmask may be faster...
13:47:02 INFO    opendrift.models.basemodel: Using existing reader for land_binary_mask
13:47:02 INFO    opendrift.models.basemodel: All points are in ocean
13:47:02 INFO    opendrift.models.basemodel: 2015-11-16 00:00:00 - step 1 of 264 - 2000 active elements (0 deactivated)
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 00:15:00 - step 2 of 264 - 2000 active elements (0 deactivated)
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 00:30:00 - step 3 of 264 - 2000 active elements (0 deactivated)
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 00:45:00 - step 4 of 264 - 2000 active elements (0 deactivated)
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 01:00:00 - step 5 of 264 - 2000 active elements (0 deactivated)
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 01:15:00 - step 6 of 264 - 2000 active elements (0 deactivated)
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 01:30:00 - step 7 of 264 - 2000 active elements (0 deactivated)
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 01:45:00 - step 8 of 264 - 2000 active elements (0 deactivated)
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 02:00:00 - step 9 of 264 - 2000 active elements (0 deactivated)
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 02:15:00 - step 10 of 264 - 2000 active elements (0 deactivated)
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 02:30:00 - step 11 of 264 - 2000 active elements (0 deactivated)
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 02:45:00 - step 12 of 264 - 2000 active elements (0 deactivated)
13:47:03 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 03:00:00 - step 13 of 264 - 2000 active elements (0 deactivated)
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 03:15:00 - step 14 of 264 - 2000 active elements (0 deactivated)
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 03:30:00 - step 15 of 264 - 2000 active elements (0 deactivated)
13:47:03 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 03:45:00 - step 16 of 264 - 2000 active elements (0 deactivated)
13:47:03 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:03 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 04:00:00 - step 17 of 264 - 2000 active elements (0 deactivated)
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 04:15:00 - step 18 of 264 - 2000 active elements (0 deactivated)
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 04:30:00 - step 19 of 264 - 2000 active elements (0 deactivated)
13:47:03 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 04:45:00 - step 20 of 264 - 2000 active elements (0 deactivated)
13:47:03 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:03 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:03 INFO    opendrift.models.basemodel: 2015-11-16 05:00:00 - step 21 of 264 - 2000 active elements (0 deactivated)
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 05:15:00 - step 22 of 264 - 2000 active elements (0 deactivated)
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 05:30:00 - step 23 of 264 - 2000 active elements (0 deactivated)
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 05:45:00 - step 24 of 264 - 2000 active elements (0 deactivated)
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 06:00:00 - step 25 of 264 - 2000 active elements (0 deactivated)
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 06:15:00 - step 26 of 264 - 2000 active elements (0 deactivated)
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 06:30:00 - step 27 of 264 - 2000 active elements (0 deactivated)
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 06:45:00 - step 28 of 264 - 2000 active elements (0 deactivated)
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 07:00:00 - step 29 of 264 - 2000 active elements (0 deactivated)
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 07:15:00 - step 30 of 264 - 2000 active elements (0 deactivated)
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 07:30:00 - step 31 of 264 - 2000 active elements (0 deactivated)
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 07:45:00 - step 32 of 264 - 2000 active elements (0 deactivated)
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 08:00:00 - step 33 of 264 - 2000 active elements (0 deactivated)
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 08:15:00 - step 34 of 264 - 2000 active elements (0 deactivated)
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 08:30:00 - step 35 of 264 - 2000 active elements (0 deactivated)
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 08:45:00 - step 36 of 264 - 2000 active elements (0 deactivated)
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 09:00:00 - step 37 of 264 - 2000 active elements (0 deactivated)
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 09:15:00 - step 38 of 264 - 2000 active elements (0 deactivated)
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 09:30:00 - step 39 of 264 - 2000 active elements (0 deactivated)
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 09:45:00 - step 40 of 264 - 2000 active elements (0 deactivated)
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 10:00:00 - step 41 of 264 - 2000 active elements (0 deactivated)
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 10:15:00 - step 42 of 264 - 2000 active elements (0 deactivated)
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:04 INFO    opendrift.models.basemodel: 2015-11-16 10:30:00 - step 43 of 264 - 2000 active elements (0 deactivated)
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:04 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 10:45:00 - step 44 of 264 - 2000 active elements (0 deactivated)
13:47:05 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:05 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 11:00:00 - step 45 of 264 - 2000 active elements (0 deactivated)
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 11:15:00 - step 46 of 264 - 2000 active elements (0 deactivated)
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 11:30:00 - step 47 of 264 - 2000 active elements (0 deactivated)
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 11:45:00 - step 48 of 264 - 2000 active elements (0 deactivated)
13:47:05 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 12:00:00 - step 49 of 264 - 2000 active elements (0 deactivated)
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 12:15:00 - step 50 of 264 - 2000 active elements (0 deactivated)
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 12:30:00 - step 51 of 264 - 2000 active elements (0 deactivated)
13:47:05 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 12:45:00 - step 52 of 264 - 2000 active elements (0 deactivated)
13:47:05 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 13:00:00 - step 53 of 264 - 2000 active elements (0 deactivated)
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 13:15:00 - step 54 of 264 - 2000 active elements (0 deactivated)
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 13:30:00 - step 55 of 264 - 2000 active elements (0 deactivated)
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 13:45:00 - step 56 of 264 - 2000 active elements (0 deactivated)
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 14:00:00 - step 57 of 264 - 2000 active elements (0 deactivated)
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 14:15:00 - step 58 of 264 - 2000 active elements (0 deactivated)
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 14:30:00 - step 59 of 264 - 2000 active elements (0 deactivated)
13:47:05 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 14:45:00 - step 60 of 264 - 2000 active elements (0 deactivated)
13:47:05 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 15:00:00 - step 61 of 264 - 2000 active elements (0 deactivated)
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 15:15:00 - step 62 of 264 - 2000 active elements (0 deactivated)
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 15:30:00 - step 63 of 264 - 2000 active elements (0 deactivated)
13:47:05 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 15:45:00 - step 64 of 264 - 2000 active elements (0 deactivated)
13:47:05 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 16:00:00 - step 65 of 264 - 2000 active elements (0 deactivated)
13:47:05 INFO    opendrift.models.basemodel: 2015-11-16 16:15:00 - step 66 of 264 - 2000 active elements (0 deactivated)
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 16:30:00 - step 67 of 264 - 2000 active elements (0 deactivated)
13:47:06 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 16:45:00 - step 68 of 264 - 2000 active elements (0 deactivated)
13:47:06 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 17:00:00 - step 69 of 264 - 2000 active elements (0 deactivated)
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 17:15:00 - step 70 of 264 - 2000 active elements (0 deactivated)
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 17:30:00 - step 71 of 264 - 2000 active elements (0 deactivated)
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 17:45:00 - step 72 of 264 - 2000 active elements (0 deactivated)
13:47:06 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 18:00:00 - step 73 of 264 - 1998 active elements (2 deactivated)
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 18:15:00 - step 74 of 264 - 1994 active elements (6 deactivated)
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 18:30:00 - step 75 of 264 - 1989 active elements (11 deactivated)
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 18:45:00 - step 76 of 264 - 1982 active elements (18 deactivated)
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 19:00:00 - step 77 of 264 - 1964 active elements (36 deactivated)
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 19:15:00 - step 78 of 264 - 1934 active elements (66 deactivated)
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 19:30:00 - step 79 of 264 - 1899 active elements (101 deactivated)
13:47:06 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 19:45:00 - step 80 of 264 - 1854 active elements (146 deactivated)
13:47:06 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:06 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 20:00:00 - step 81 of 264 - 1788 active elements (212 deactivated)
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 20:15:00 - step 82 of 264 - 1716 active elements (284 deactivated)
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 20:30:00 - step 83 of 264 - 1623 active elements (377 deactivated)
13:47:06 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:06 INFO    opendrift.models.basemodel: 2015-11-16 20:45:00 - step 84 of 264 - 1511 active elements (489 deactivated)
13:47:06 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:07 INFO    opendrift.models.basemodel: 2015-11-16 21:00:00 - step 85 of 264 - 1420 active elements (580 deactivated)
13:47:07 INFO    opendrift.models.basemodel: 2015-11-16 21:15:00 - step 86 of 264 - 1302 active elements (698 deactivated)
13:47:07 INFO    opendrift.models.basemodel: 2015-11-16 21:30:00 - step 87 of 264 - 1203 active elements (797 deactivated)
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:07 INFO    opendrift.models.basemodel: 2015-11-16 21:45:00 - step 88 of 264 - 1113 active elements (887 deactivated)
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:07 INFO    opendrift.models.basemodel: 2015-11-16 22:00:00 - step 89 of 264 - 1034 active elements (966 deactivated)
13:47:07 INFO    opendrift.models.basemodel: 2015-11-16 22:15:00 - step 90 of 264 - 975 active elements (1025 deactivated)
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:07 INFO    opendrift.models.basemodel: 2015-11-16 22:30:00 - step 91 of 264 - 918 active elements (1082 deactivated)
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:07 INFO    opendrift.models.basemodel: 2015-11-16 22:45:00 - step 92 of 264 - 857 active elements (1143 deactivated)
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:07 INFO    opendrift.models.basemodel: 2015-11-16 23:00:00 - step 93 of 264 - 793 active elements (1207 deactivated)
13:47:07 INFO    opendrift.models.basemodel: 2015-11-16 23:15:00 - step 94 of 264 - 729 active elements (1271 deactivated)
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:07 INFO    opendrift.models.basemodel: 2015-11-16 23:30:00 - step 95 of 264 - 686 active elements (1314 deactivated)
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:07 INFO    opendrift.models.basemodel: 2015-11-16 23:45:00 - step 96 of 264 - 639 active elements (1361 deactivated)
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:07 INFO    opendrift.models.basemodel: 2015-11-17 00:00:00 - step 97 of 264 - 600 active elements (1400 deactivated)
13:47:07 INFO    opendrift.models.basemodel: 2015-11-17 00:15:00 - step 98 of 264 - 568 active elements (1432 deactivated)
13:47:07 INFO    opendrift.models.basemodel: 2015-11-17 00:30:00 - step 99 of 264 - 541 active elements (1459 deactivated)
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:07 INFO    opendrift.models.basemodel: 2015-11-17 00:45:00 - step 100 of 264 - 526 active elements (1474 deactivated)
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:07 INFO    opendrift.models.basemodel: 2015-11-17 01:00:00 - step 101 of 264 - 506 active elements (1494 deactivated)
13:47:07 INFO    opendrift.models.basemodel: 2015-11-17 01:15:00 - step 102 of 264 - 490 active elements (1510 deactivated)
13:47:07 INFO    opendrift.models.basemodel: 2015-11-17 01:30:00 - step 103 of 264 - 460 active elements (1540 deactivated)
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:07 INFO    opendrift.models.basemodel: 2015-11-17 01:45:00 - step 104 of 264 - 435 active elements (1565 deactivated)
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:07 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:07 INFO    opendrift.models.basemodel: 2015-11-17 02:00:00 - step 105 of 264 - 411 active elements (1589 deactivated)
13:47:07 INFO    opendrift.models.basemodel: 2015-11-17 02:15:00 - step 106 of 264 - 393 active elements (1607 deactivated)
13:47:07 INFO    opendrift.models.basemodel: 2015-11-17 02:30:00 - step 107 of 264 - 379 active elements (1621 deactivated)
13:47:07 INFO    opendrift.models.basemodel: 2015-11-17 02:45:00 - step 108 of 264 - 361 active elements (1639 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 03:00:00 - step 109 of 264 - 337 active elements (1663 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 03:15:00 - step 110 of 264 - 325 active elements (1675 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 03:30:00 - step 111 of 264 - 311 active elements (1689 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 03:45:00 - step 112 of 264 - 297 active elements (1703 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 04:00:00 - step 113 of 264 - 281 active elements (1719 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 04:15:00 - step 114 of 264 - 274 active elements (1726 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 04:30:00 - step 115 of 264 - 264 active elements (1736 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 04:45:00 - step 116 of 264 - 254 active elements (1746 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 05:00:00 - step 117 of 264 - 241 active elements (1759 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 05:15:00 - step 118 of 264 - 228 active elements (1772 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 05:30:00 - step 119 of 264 - 216 active elements (1784 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 05:45:00 - step 120 of 264 - 202 active elements (1798 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 06:00:00 - step 121 of 264 - 190 active elements (1810 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 06:15:00 - step 122 of 264 - 185 active elements (1815 deactivated)
13:47:08 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 06:30:00 - step 123 of 264 - 183 active elements (1817 deactivated)
13:47:08 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 06:45:00 - step 124 of 264 - 176 active elements (1824 deactivated)
13:47:08 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:08 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (4) must be increased. See `Variables.set_buffer_size`.
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 07:00:00 - step 125 of 264 - 169 active elements (1831 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 07:15:00 - step 126 of 264 - 162 active elements (1838 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 07:30:00 - step 127 of 264 - 156 active elements (1844 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 07:45:00 - step 128 of 264 - 148 active elements (1852 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 08:00:00 - step 129 of 264 - 142 active elements (1858 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 08:15:00 - step 130 of 264 - 139 active elements (1861 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 08:30:00 - step 131 of 264 - 137 active elements (1863 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 08:45:00 - step 132 of 264 - 135 active elements (1865 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 09:00:00 - step 133 of 264 - 131 active elements (1869 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 09:15:00 - step 134 of 264 - 127 active elements (1873 deactivated)
13:47:08 INFO    opendrift.models.basemodel: 2015-11-17 09:30:00 - step 135 of 264 - 123 active elements (1877 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 09:45:00 - step 136 of 264 - 118 active elements (1882 deactivated)
13:47:09 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 10:00:00 - step 137 of 264 - 113 active elements (1887 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 10:15:00 - step 138 of 264 - 111 active elements (1889 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 10:30:00 - step 139 of 264 - 106 active elements (1894 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 10:45:00 - step 140 of 264 - 101 active elements (1899 deactivated)
13:47:09 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 11:00:00 - step 141 of 264 - 98 active elements (1902 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 11:15:00 - step 142 of 264 - 90 active elements (1910 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 11:30:00 - step 143 of 264 - 87 active elements (1913 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 11:45:00 - step 144 of 264 - 87 active elements (1913 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 12:00:00 - step 145 of 264 - 85 active elements (1915 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 12:15:00 - step 146 of 264 - 84 active elements (1916 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 12:30:00 - step 147 of 264 - 82 active elements (1918 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 12:45:00 - step 148 of 264 - 80 active elements (1920 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 13:00:00 - step 149 of 264 - 80 active elements (1920 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 13:15:00 - step 150 of 264 - 80 active elements (1920 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 13:30:00 - step 151 of 264 - 79 active elements (1921 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 13:45:00 - step 152 of 264 - 77 active elements (1923 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 14:00:00 - step 153 of 264 - 76 active elements (1924 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 14:15:00 - step 154 of 264 - 76 active elements (1924 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 14:30:00 - step 155 of 264 - 74 active elements (1926 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 14:45:00 - step 156 of 264 - 73 active elements (1927 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 15:00:00 - step 157 of 264 - 72 active elements (1928 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 15:15:00 - step 158 of 264 - 72 active elements (1928 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 15:30:00 - step 159 of 264 - 71 active elements (1929 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 15:45:00 - step 160 of 264 - 70 active elements (1930 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 16:00:00 - step 161 of 264 - 69 active elements (1931 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 16:15:00 - step 162 of 264 - 69 active elements (1931 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 16:30:00 - step 163 of 264 - 68 active elements (1932 deactivated)
13:47:09 INFO    opendrift.models.basemodel: 2015-11-17 16:45:00 - step 164 of 264 - 67 active elements (1933 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 17:00:00 - step 165 of 264 - 67 active elements (1933 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 17:15:00 - step 166 of 264 - 67 active elements (1933 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 17:30:00 - step 167 of 264 - 67 active elements (1933 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 17:45:00 - step 168 of 264 - 66 active elements (1934 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 18:00:00 - step 169 of 264 - 65 active elements (1935 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 18:15:00 - step 170 of 264 - 65 active elements (1935 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 18:30:00 - step 171 of 264 - 65 active elements (1935 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 18:45:00 - step 172 of 264 - 64 active elements (1936 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 19:00:00 - step 173 of 264 - 63 active elements (1937 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 19:15:00 - step 174 of 264 - 63 active elements (1937 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 19:30:00 - step 175 of 264 - 62 active elements (1938 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 19:45:00 - step 176 of 264 - 60 active elements (1940 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 20:00:00 - step 177 of 264 - 59 active elements (1941 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 20:15:00 - step 178 of 264 - 57 active elements (1943 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 20:30:00 - step 179 of 264 - 55 active elements (1945 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 20:45:00 - step 180 of 264 - 53 active elements (1947 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 21:00:00 - step 181 of 264 - 53 active elements (1947 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 21:15:00 - step 182 of 264 - 52 active elements (1948 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 21:30:00 - step 183 of 264 - 52 active elements (1948 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 21:45:00 - step 184 of 264 - 52 active elements (1948 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 22:00:00 - step 185 of 264 - 52 active elements (1948 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 22:15:00 - step 186 of 264 - 52 active elements (1948 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 22:30:00 - step 187 of 264 - 52 active elements (1948 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 22:45:00 - step 188 of 264 - 52 active elements (1948 deactivated)
13:47:10 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 23:00:00 - step 189 of 264 - 52 active elements (1948 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 23:15:00 - step 190 of 264 - 52 active elements (1948 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 23:30:00 - step 191 of 264 - 52 active elements (1948 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-17 23:45:00 - step 192 of 264 - 51 active elements (1949 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-18 00:00:00 - step 193 of 264 - 50 active elements (1950 deactivated)
13:47:10 INFO    opendrift.models.basemodel: 2015-11-18 00:15:00 - step 194 of 264 - 49 active elements (1951 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 00:30:00 - step 195 of 264 - 49 active elements (1951 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 00:45:00 - step 196 of 264 - 49 active elements (1951 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 01:00:00 - step 197 of 264 - 49 active elements (1951 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 01:15:00 - step 198 of 264 - 48 active elements (1952 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 01:30:00 - step 199 of 264 - 46 active elements (1954 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 01:45:00 - step 200 of 264 - 44 active elements (1956 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 02:00:00 - step 201 of 264 - 44 active elements (1956 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 02:15:00 - step 202 of 264 - 44 active elements (1956 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 02:30:00 - step 203 of 264 - 44 active elements (1956 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 02:45:00 - step 204 of 264 - 44 active elements (1956 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 03:00:00 - step 205 of 264 - 44 active elements (1956 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 03:15:00 - step 206 of 264 - 41 active elements (1959 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 03:30:00 - step 207 of 264 - 41 active elements (1959 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 03:45:00 - step 208 of 264 - 41 active elements (1959 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 04:00:00 - step 209 of 264 - 41 active elements (1959 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 04:15:00 - step 210 of 264 - 41 active elements (1959 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 04:30:00 - step 211 of 264 - 41 active elements (1959 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 04:45:00 - step 212 of 264 - 41 active elements (1959 deactivated)
13:47:11 WARNING opendrift.readers.basereader.structured: Data block from /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc not large enough to cover element positions within timestep. Buffer size (7) must be increased. See `Variables.set_buffer_size`.
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 05:00:00 - step 213 of 264 - 41 active elements (1959 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 05:15:00 - step 214 of 264 - 40 active elements (1960 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 05:30:00 - step 215 of 264 - 39 active elements (1961 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 05:45:00 - step 216 of 264 - 39 active elements (1961 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 06:00:00 - step 217 of 264 - 39 active elements (1961 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 06:15:00 - step 218 of 264 - 39 active elements (1961 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 06:30:00 - step 219 of 264 - 39 active elements (1961 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 06:45:00 - step 220 of 264 - 39 active elements (1961 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 07:00:00 - step 221 of 264 - 39 active elements (1961 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 07:15:00 - step 222 of 264 - 39 active elements (1961 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 07:30:00 - step 223 of 264 - 39 active elements (1961 deactivated)
13:47:11 INFO    opendrift.models.basemodel: 2015-11-18 07:45:00 - step 224 of 264 - 39 active elements (1961 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 08:00:00 - step 225 of 264 - 39 active elements (1961 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 08:15:00 - step 226 of 264 - 39 active elements (1961 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 08:30:00 - step 227 of 264 - 39 active elements (1961 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 08:45:00 - step 228 of 264 - 38 active elements (1962 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 09:00:00 - step 229 of 264 - 38 active elements (1962 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 09:15:00 - step 230 of 264 - 38 active elements (1962 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 09:30:00 - step 231 of 264 - 38 active elements (1962 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 09:45:00 - step 232 of 264 - 38 active elements (1962 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 10:00:00 - step 233 of 264 - 38 active elements (1962 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 10:15:00 - step 234 of 264 - 38 active elements (1962 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 10:30:00 - step 235 of 264 - 38 active elements (1962 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 10:45:00 - step 236 of 264 - 38 active elements (1962 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 11:00:00 - step 237 of 264 - 38 active elements (1962 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 11:15:00 - step 238 of 264 - 38 active elements (1962 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 11:30:00 - step 239 of 264 - 38 active elements (1962 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 11:45:00 - step 240 of 264 - 37 active elements (1963 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 12:00:00 - step 241 of 264 - 37 active elements (1963 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 12:15:00 - step 242 of 264 - 37 active elements (1963 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 12:30:00 - step 243 of 264 - 37 active elements (1963 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 12:45:00 - step 244 of 264 - 37 active elements (1963 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 13:00:00 - step 245 of 264 - 37 active elements (1963 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 13:15:00 - step 246 of 264 - 37 active elements (1963 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 13:30:00 - step 247 of 264 - 37 active elements (1963 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 13:45:00 - step 248 of 264 - 37 active elements (1963 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 14:00:00 - step 249 of 264 - 37 active elements (1963 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 14:15:00 - step 250 of 264 - 36 active elements (1964 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 14:30:00 - step 251 of 264 - 36 active elements (1964 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 14:45:00 - step 252 of 264 - 36 active elements (1964 deactivated)
13:47:12 INFO    opendrift.models.basemodel: 2015-11-18 15:00:00 - step 253 of 264 - 36 active elements (1964 deactivated)
13:47:13 INFO    opendrift.models.basemodel: 2015-11-18 15:15:00 - step 254 of 264 - 36 active elements (1964 deactivated)
13:47:13 INFO    opendrift.models.basemodel: 2015-11-18 15:30:00 - step 255 of 264 - 36 active elements (1964 deactivated)
13:47:13 INFO    opendrift.models.basemodel: 2015-11-18 15:45:00 - step 256 of 264 - 36 active elements (1964 deactivated)
13:47:13 INFO    opendrift.models.basemodel: 2015-11-18 16:00:00 - step 257 of 264 - 36 active elements (1964 deactivated)
13:47:13 INFO    opendrift.models.basemodel: 2015-11-18 16:15:00 - step 258 of 264 - 36 active elements (1964 deactivated)
13:47:13 INFO    opendrift.models.basemodel: 2015-11-18 16:30:00 - step 259 of 264 - 36 active elements (1964 deactivated)
13:47:13 INFO    opendrift.models.basemodel: 2015-11-18 16:45:00 - step 260 of 264 - 36 active elements (1964 deactivated)
13:47:13 INFO    opendrift.models.basemodel: 2015-11-18 17:00:00 - step 261 of 264 - 36 active elements (1964 deactivated)
13:47:13 INFO    opendrift.models.basemodel: 2015-11-18 17:15:00 - step 262 of 264 - 36 active elements (1964 deactivated)
13:47:13 INFO    opendrift.models.basemodel: 2015-11-18 17:30:00 - step 263 of 264 - 36 active elements (1964 deactivated)
13:47:13 INFO    opendrift.models.basemodel: 2015-11-18 17:45:00 - step 264 of 264 - 36 active elements (1964 deactivated)

Print and plot results

print(o)
o.animation(color='wind_drift_factor', fast=True)

Out:

===========================
--------------------
Reader performance:
--------------------
/root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc
 0:00:03.9  total
 0:00:00.0  preparing
 0:00:00.4  reading
 0:00:00.1  interpolation
 0:00:00.0  interpolation_time
 0:00:03.4  rotating vectors
 0:00:00.0  masking
--------------------
/root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc
 0:00:03.7  total
 0:00:00.0  preparing
 0:00:00.3  reading
 0:00:00.0  interpolation
 0:00:00.0  interpolation_time
 0:00:03.3  rotating vectors
 0:00:00.0  masking
--------------------
global_landmask
 0:00:00.2  total
 0:00:00.0  preparing
 0:00:00.2  reading
 0:00:00.0  masking
--------------------
Performance:
   13.4 total time
    0.4 configuration
    2.5 preparing main loop
      2.4 making dynamical landmask
      0.0 moving elements to ocean
      9.2 readers
        0.3 global_landmask
        0.5 postprocessing
   10.4 main loop
        4.1 /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc
        3.8 /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc
      0.3 updating elements
    0.0 cleaning up
--------------------
===========================
Model:  OceanDrift     (OpenDrift version 1.7.1)
        36 active Lagrangian3DArray particles  (1964 deactivated, 0 scheduled)
-------------------
Environment variables:
  -----
  x_sea_water_velocity
  y_sea_water_velocity
     1) /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc
  -----
  x_wind
  y_wind
     1) /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc
  -----
  land_binary_mask
     1) global_landmask
  -----
Readers not added for the following variables:
  ocean_vertical_diffusivity
  sea_floor_depth_below_sea_level
  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
  surface_downward_x_stress
  surface_downward_y_stress
  turbulent_generic_length_scale
  turbulent_kinetic_energy
  upward_sea_water_velocity

Time:
        Start: 2015-11-16 00:00:00
        Present: 2015-11-18 18:00:00
        Calculation steps: 264 * 0:15:00 - total time: 2 days, 18:00:00
        Output steps: 67 * 1:00:00
===========================

13:47:13 WARNING opendrift.models.basemodel: Plotting fast. This will make your plots less accurate.
13:47:16 INFO    opendrift.models.basemodel: Saving animation to /root/project/docs/source/gallery/animations/example_drifter_0.gif...
13:47:16 INFO    opendrift.models.basemodel: Making animated gif...
MovieWriter imagemagick unavailable; using Pillow instead.
../_images/example_drifter_0.gif
# Plot trajectories, colored by the wind_drift_factor of each element
o.plot(linecolor='wind_drift_factor', fast=True)
OpenDrift - OceanDrift 2015-11-16 00:00 to 2015-11-18 18:00 UTC (67 steps)

Out:

13:47:31 WARNING opendrift.models.basemodel: Plotting fast. This will make your plots less accurate.

(<GeoAxesSubplot:title={'center':'OpenDrift - OceanDrift\n2015-11-16 00:00 to 2015-11-18 18:00 UTC (67 steps)'}>, <module 'matplotlib.pyplot' from '/opt/conda/envs/opendrift/lib/python3.9/site-packages/matplotlib/pyplot.py'>)

Total running time of the script: ( 0 minutes 55.422 seconds)

Gallery generated by Sphinx-Gallery