LeewayΒΆ

from datetime import timedelta
import cmocean
from opendrift.readers import reader_netCDF_CF_generic
from opendrift.models.leeway import Leeway

lw = Leeway(loglevel=20)  # Set loglevel to 0 for debug information

# Atmospheric model for wind
#reader_arome = reader_netCDF_CF_generic.Reader('https://thredds.met.no/thredds/dodsC/mepslatest/meps_lagged_6_h_latest_2_5km_latest.nc')
reader_arome = reader_netCDF_CF_generic.Reader(lw.test_data_folder() +
    '16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc')

# Ocean model for current
#reader_norkyst = reader_netCDF_CF_generic.Reader('https://thredds.met.no/thredds/dodsC/mepslatest/meps_lagged_6_h_latest_2_5km_latest.nc')
reader_norkyst = reader_netCDF_CF_generic.Reader(lw.test_data_folder() +
    '16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc')

Out:

18:03:02 INFO    opendrift.models.basemodel: OpenDriftSimulation initialised (version 1.6.0 / v1.6.0-161-g3380aa5)
18:03:02 INFO    opendrift.readers.reader_netCDF_CF_generic: Opening dataset: /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/arome_subset_16Nov2015.nc
18:03:02 INFO    opendrift.readers.reader_netCDF_CF_generic: Opening dataset: /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc

Adding readers successively, and specifying which variables they shall provide. This way, order of adding readers does not matter

lw.add_reader(reader_norkyst,
              variables=['x_sea_water_velocity', 'y_sea_water_velocity'])
lw.add_reader(reader_arome, variables=['x_wind', 'y_wind'])
lw.set_config('environment:fallback:x_sea_water_velocity', 0)
lw.set_config('environment:fallback:y_sea_water_velocity', 0)

Seed leeway elements at defined position and time

object_type = 26  # 26 = Life-raft, no ballast
lw.seed_elements(lon=4.5, lat=59.6, radius=100, number=1000,
                 time=reader_arome.start_time, object_type=object_type)

Out:

18:03:02 INFO    opendrift.models.leeway: Seeding elements of object type 26: LIFE-RAFT-NB-1 (Life-raft, no ballast (NB) system, general (mean values))

Running model

lw.run(duration=timedelta(hours=48), time_step=900, time_step_output=3600)

Out:

18:03:02 INFO    opendrift.models.basemodel: Adding a dynamical landmask with max. priority based on assumed maximum speed of 1.5 m/s. Adding a customised landmask may be faster...
18:03:05 INFO    opendrift.models.basemodel: Using existing reader for land_binary_mask
18:03:05 INFO    opendrift.models.basemodel: All points are in ocean
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 00:00:00 - step 1 of 192 - 1000 active elements (0 deactivated)
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 00:15:00 - step 2 of 192 - 1000 active elements (0 deactivated)
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 00:30:00 - step 3 of 192 - 1000 active elements (0 deactivated)
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 00:45:00 - step 4 of 192 - 1000 active elements (0 deactivated)
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 01:00:00 - step 5 of 192 - 1000 active elements (0 deactivated)
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 01:15:00 - step 6 of 192 - 1000 active elements (0 deactivated)
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 01:30:00 - step 7 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 01:45:00 - step 8 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 02:00:00 - step 9 of 192 - 1000 active elements (0 deactivated)
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 02:15:00 - step 10 of 192 - 1000 active elements (0 deactivated)
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 02:30:00 - step 11 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 02:45:00 - step 12 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03: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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 03:00:00 - step 13 of 192 - 1000 active elements (0 deactivated)
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 03:15:00 - step 14 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 03:30:00 - step 15 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 03:45:00 - step 16 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03: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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 04:00:00 - step 17 of 192 - 1000 active elements (0 deactivated)
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 04:15:00 - step 18 of 192 - 1000 active elements (0 deactivated)
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 04:30:00 - step 19 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03: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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:05 INFO    opendrift.models.basemodel: 2015-11-16 04:45:00 - step 20 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03: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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 05:00:00 - step 21 of 192 - 1000 active elements (0 deactivated)
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 05:15:00 - step 22 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 05:30:00 - step 23 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03: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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 05:45:00 - step 24 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03: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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 06:00:00 - step 25 of 192 - 1000 active elements (0 deactivated)
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 06:15:00 - step 26 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03: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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 06:30:00 - step 27 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03: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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 06:45:00 - step 28 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03: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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 07:00:00 - step 29 of 192 - 1000 active elements (0 deactivated)
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 07:15:00 - step 30 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 07:30:00 - step 31 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 07:45:00 - step 32 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03: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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 08:00:00 - step 33 of 192 - 1000 active elements (0 deactivated)
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 08:15:00 - step 34 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 08:30:00 - step 35 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 08:45:00 - step 36 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03: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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 09:00:00 - step 37 of 192 - 1000 active elements (0 deactivated)
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 09:15:00 - step 38 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 09:30:00 - step 39 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 09:45:00 - step 40 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03: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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:06 INFO    opendrift.models.basemodel: 2015-11-16 10:00:00 - step 41 of 192 - 1000 active elements (0 deactivated)
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 10:15:00 - step 42 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 10:30:00 - step 43 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03: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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 10:45:00 - step 44 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03: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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 11:00:00 - step 45 of 192 - 1000 active elements (0 deactivated)
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 11:15:00 - step 46 of 192 - 1000 active elements (0 deactivated)
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 11:30:00 - step 47 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 11:45:00 - step 48 of 192 - 1000 active elements (0 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 12:00:00 - step 49 of 192 - 1000 active elements (0 deactivated)
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 12:15:00 - step 50 of 192 - 1000 active elements (0 deactivated)
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 12:30:00 - step 51 of 192 - 1000 active elements (0 deactivated)
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 12:45:00 - step 52 of 192 - 1000 active elements (0 deactivated)
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 13:00:00 - step 53 of 192 - 1000 active elements (0 deactivated)
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 13:15:00 - step 54 of 192 - 1000 active elements (0 deactivated)
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 13:30:00 - step 55 of 192 - 1000 active elements (0 deactivated)
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 13:45:00 - step 56 of 192 - 1000 active elements (0 deactivated)
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 14:00:00 - step 57 of 192 - 1000 active elements (0 deactivated)
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 14:15:00 - step 58 of 192 - 1000 active elements (0 deactivated)
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 14:30:00 - step 59 of 192 - 1000 active elements (0 deactivated)
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 14:45:00 - step 60 of 192 - 1000 active elements (0 deactivated)
18:03:07 INFO    opendrift.models.basemodel: 2015-11-16 15:00:00 - step 61 of 192 - 1000 active elements (0 deactivated)
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 15:15:00 - step 62 of 192 - 1000 active elements (0 deactivated)
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 15:30:00 - step 63 of 192 - 1000 active elements (0 deactivated)
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 15:45:00 - step 64 of 192 - 999 active elements (1 deactivated)
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 16:00:00 - step 65 of 192 - 999 active elements (1 deactivated)
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 16:15:00 - step 66 of 192 - 999 active elements (1 deactivated)
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 16:30:00 - step 67 of 192 - 999 active elements (1 deactivated)
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 16:45:00 - step 68 of 192 - 999 active elements (1 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 17:00:00 - step 69 of 192 - 997 active elements (3 deactivated)
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 17:15:00 - step 70 of 192 - 996 active elements (4 deactivated)
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 17:30:00 - step 71 of 192 - 996 active elements (4 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 17:45:00 - step 72 of 192 - 992 active elements (8 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 18:00:00 - step 73 of 192 - 990 active elements (10 deactivated)
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 18:15:00 - step 74 of 192 - 985 active elements (15 deactivated)
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 18:30:00 - step 75 of 192 - 978 active elements (22 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 18:45:00 - step 76 of 192 - 974 active elements (26 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 19:00:00 - step 77 of 192 - 969 active elements (31 deactivated)
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 19:15:00 - step 78 of 192 - 962 active elements (38 deactivated)
18:03:08 INFO    opendrift.models.basemodel: 2015-11-16 19:30:00 - step 79 of 192 - 954 active elements (46 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-16 19:45:00 - step 80 of 192 - 939 active elements (61 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-16 20:00:00 - step 81 of 192 - 931 active elements (69 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-16 20:15:00 - step 82 of 192 - 917 active elements (83 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-16 20:30:00 - step 83 of 192 - 910 active elements (90 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-16 20:45:00 - step 84 of 192 - 903 active elements (97 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-16 21:00:00 - step 85 of 192 - 900 active elements (100 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-16 21:15:00 - step 86 of 192 - 890 active elements (110 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-16 21:30:00 - step 87 of 192 - 885 active elements (115 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-16 21:45:00 - step 88 of 192 - 873 active elements (127 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-16 22:00:00 - step 89 of 192 - 863 active elements (137 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-16 22:15:00 - step 90 of 192 - 853 active elements (147 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-16 22:30:00 - step 91 of 192 - 842 active elements (158 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-16 22:45:00 - step 92 of 192 - 831 active elements (169 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-16 23:00:00 - step 93 of 192 - 823 active elements (177 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-16 23:15:00 - step 94 of 192 - 807 active elements (193 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-16 23:30:00 - step 95 of 192 - 803 active elements (197 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-16 23:45:00 - step 96 of 192 - 782 active elements (218 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:09 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:09 INFO    opendrift.models.basemodel: 2015-11-17 00:00:00 - step 97 of 192 - 768 active elements (232 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-17 00:15:00 - step 98 of 192 - 758 active elements (242 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-17 00:30:00 - step 99 of 192 - 743 active elements (257 deactivated)
18:03:09 INFO    opendrift.models.basemodel: 2015-11-17 00:45:00 - step 100 of 192 - 732 active elements (268 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 01:00:00 - step 101 of 192 - 718 active elements (282 deactivated)
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 01:15:00 - step 102 of 192 - 709 active elements (291 deactivated)
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 01:30:00 - step 103 of 192 - 703 active elements (297 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 01:45:00 - step 104 of 192 - 699 active elements (301 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 02:00:00 - step 105 of 192 - 688 active elements (312 deactivated)
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 02:15:00 - step 106 of 192 - 675 active elements (325 deactivated)
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 02:30:00 - step 107 of 192 - 666 active elements (334 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 02:45:00 - step 108 of 192 - 653 active elements (347 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:10 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 03:00:00 - step 109 of 192 - 642 active elements (358 deactivated)
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 03:15:00 - step 110 of 192 - 629 active elements (371 deactivated)
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 03:30:00 - step 111 of 192 - 621 active elements (379 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 03:45:00 - step 112 of 192 - 612 active elements (388 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 04:00:00 - step 113 of 192 - 600 active elements (400 deactivated)
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 04:15:00 - step 114 of 192 - 589 active elements (411 deactivated)
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 04:30:00 - step 115 of 192 - 575 active elements (425 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:10 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 04:45:00 - step 116 of 192 - 563 active elements (437 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:10 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 05:00:00 - step 117 of 192 - 555 active elements (445 deactivated)
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 05:15:00 - step 118 of 192 - 544 active elements (456 deactivated)
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 05:30:00 - step 119 of 192 - 538 active elements (462 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:10 INFO    opendrift.models.basemodel: 2015-11-17 05:45:00 - step 120 of 192 - 529 active elements (471 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:10 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 06:00:00 - step 121 of 192 - 522 active elements (478 deactivated)
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 06:15:00 - step 122 of 192 - 517 active elements (483 deactivated)
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 06:30:00 - step 123 of 192 - 508 active elements (492 deactivated)
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 06:45:00 - step 124 of 192 - 503 active elements (497 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:11 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 07:00:00 - step 125 of 192 - 494 active elements (506 deactivated)
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 07:15:00 - step 126 of 192 - 485 active elements (515 deactivated)
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 07:30:00 - step 127 of 192 - 478 active elements (522 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:11 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 07:45:00 - step 128 of 192 - 470 active elements (530 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:11 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 08:00:00 - step 129 of 192 - 465 active elements (535 deactivated)
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 08:15:00 - step 130 of 192 - 459 active elements (541 deactivated)
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 08:30:00 - step 131 of 192 - 452 active elements (548 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:11 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 08:45:00 - step 132 of 192 - 448 active elements (552 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:11 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 09:00:00 - step 133 of 192 - 440 active elements (560 deactivated)
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 09:15:00 - step 134 of 192 - 439 active elements (561 deactivated)
18:03:11 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 09:30:00 - step 135 of 192 - 433 active elements (567 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:11 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 09:45:00 - step 136 of 192 - 427 active elements (573 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:11 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 10:00:00 - step 137 of 192 - 420 active elements (580 deactivated)
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 10:15:00 - step 138 of 192 - 412 active elements (588 deactivated)
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 10:30:00 - step 139 of 192 - 408 active elements (592 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:11 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:11 INFO    opendrift.models.basemodel: 2015-11-17 10:45:00 - step 140 of 192 - 406 active elements (594 deactivated)
18:03: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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:12 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 11:00:00 - step 141 of 192 - 403 active elements (597 deactivated)
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 11:15:00 - step 142 of 192 - 403 active elements (597 deactivated)
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 11:30:00 - step 143 of 192 - 401 active elements (599 deactivated)
18:03:12 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:12 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 11:45:00 - step 144 of 192 - 393 active elements (607 deactivated)
18:03:12 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:12 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 12:00:00 - step 145 of 192 - 390 active elements (610 deactivated)
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 12:15:00 - step 146 of 192 - 387 active elements (613 deactivated)
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 12:30:00 - step 147 of 192 - 383 active elements (617 deactivated)
18:03:12 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:12 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 12:45:00 - step 148 of 192 - 375 active elements (625 deactivated)
18:03:12 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:12 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 13:00:00 - step 149 of 192 - 370 active elements (630 deactivated)
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 13:15:00 - step 150 of 192 - 368 active elements (632 deactivated)
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 13:30:00 - step 151 of 192 - 365 active elements (635 deactivated)
18:03:12 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:12 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 13:45:00 - step 152 of 192 - 360 active elements (640 deactivated)
18:03:12 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:12 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 14:00:00 - step 153 of 192 - 354 active elements (646 deactivated)
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 14:15:00 - step 154 of 192 - 346 active elements (654 deactivated)
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 14:30:00 - step 155 of 192 - 341 active elements (659 deactivated)
18:03:12 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 14:45:00 - step 156 of 192 - 338 active elements (662 deactivated)
18:03:12 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 15:00:00 - step 157 of 192 - 332 active elements (668 deactivated)
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 15:15:00 - step 158 of 192 - 326 active elements (674 deactivated)
18:03:12 INFO    opendrift.models.basemodel: 2015-11-17 15:30:00 - step 159 of 192 - 325 active elements (675 deactivated)
18:03:12 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 15:45:00 - step 160 of 192 - 318 active elements (682 deactivated)
18:03:13 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:13 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 (5) must be increased. See `Variables.set_buffer_size`.
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 16:00:00 - step 161 of 192 - 313 active elements (687 deactivated)
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 16:15:00 - step 162 of 192 - 311 active elements (689 deactivated)
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 16:30:00 - step 163 of 192 - 310 active elements (690 deactivated)
18:03:13 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 16:45:00 - step 164 of 192 - 304 active elements (696 deactivated)
18:03:13 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 17:00:00 - step 165 of 192 - 301 active elements (699 deactivated)
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 17:15:00 - step 166 of 192 - 300 active elements (700 deactivated)
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 17:30:00 - step 167 of 192 - 297 active elements (703 deactivated)
18:03:13 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 17:45:00 - step 168 of 192 - 290 active elements (710 deactivated)
18:03:13 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 18:00:00 - step 169 of 192 - 288 active elements (712 deactivated)
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 18:15:00 - step 170 of 192 - 286 active elements (714 deactivated)
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 18:30:00 - step 171 of 192 - 282 active elements (718 deactivated)
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 18:45:00 - step 172 of 192 - 278 active elements (722 deactivated)
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 19:00:00 - step 173 of 192 - 275 active elements (725 deactivated)
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 19:15:00 - step 174 of 192 - 274 active elements (726 deactivated)
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 19:30:00 - step 175 of 192 - 272 active elements (728 deactivated)
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 19:45:00 - step 176 of 192 - 270 active elements (730 deactivated)
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 20:00:00 - step 177 of 192 - 268 active elements (732 deactivated)
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 20:15:00 - step 178 of 192 - 267 active elements (733 deactivated)
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 20:30:00 - step 179 of 192 - 265 active elements (735 deactivated)
18:03:13 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 20:45:00 - step 180 of 192 - 261 active elements (739 deactivated)
18:03:13 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:13 INFO    opendrift.models.basemodel: 2015-11-17 21:00:00 - step 181 of 192 - 256 active elements (744 deactivated)
18:03:14 INFO    opendrift.models.basemodel: 2015-11-17 21:15:00 - step 182 of 192 - 253 active elements (747 deactivated)
18:03:14 INFO    opendrift.models.basemodel: 2015-11-17 21:30:00 - step 183 of 192 - 249 active elements (751 deactivated)
18:03:14 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:14 INFO    opendrift.models.basemodel: 2015-11-17 21:45:00 - step 184 of 192 - 248 active elements (752 deactivated)
18:03:14 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:14 INFO    opendrift.models.basemodel: 2015-11-17 22:00:00 - step 185 of 192 - 246 active elements (754 deactivated)
18:03:14 INFO    opendrift.models.basemodel: 2015-11-17 22:15:00 - step 186 of 192 - 242 active elements (758 deactivated)
18:03:14 INFO    opendrift.models.basemodel: 2015-11-17 22:30:00 - step 187 of 192 - 239 active elements (761 deactivated)
18:03:14 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:14 INFO    opendrift.models.basemodel: 2015-11-17 22:45:00 - step 188 of 192 - 237 active elements (763 deactivated)
18:03:14 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 (9) must be increased. See `Variables.set_buffer_size`.
18:03:14 INFO    opendrift.models.basemodel: 2015-11-17 23:00:00 - step 189 of 192 - 236 active elements (764 deactivated)
18:03:14 INFO    opendrift.models.basemodel: 2015-11-17 23:15:00 - step 190 of 192 - 230 active elements (770 deactivated)
18:03:14 INFO    opendrift.models.basemodel: 2015-11-17 23:30:00 - step 191 of 192 - 229 active elements (771 deactivated)
18:03:14 INFO    opendrift.models.basemodel: 2015-11-17 23:45:00 - step 192 of 192 - 227 active elements (773 deactivated)
18:03:14 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 (9) must be increased. See `Variables.set_buffer_size`.

Print and plot results

print(lw)

Out:

===========================
--------------------
Reader performance:
--------------------
/root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc
 0:00:03.8  total
 0:00:00.0  preparing
 0:00:00.5  reading
 0:00:00.2  interpolation
 0:00:00.0  interpolation_time
 0:00:03.3  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.1  interpolation
 0:00:00.0  interpolation_time
 0:00:03.3  rotating vectors
 0:00:00.0  masking
--------------------
global_landmask
 0:00:00.3  total
 0:00:00.0  preparing
 0:00:00.3  reading
 0:00:00.0  masking
--------------------
Performance:
   12.6 total time
    0.2 configuration
    2.8 preparing main loop
      2.8 making dynamical landmask
      0.0 moving elements to ocean
      8.7 readers
        0.4 global_landmask
        0.2 postprocessing
    9.5 main loop
        4.0 /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.2 updating elements
    0.0 cleaning up
--------------------
===========================
Model:  Leeway     (OpenDrift version 1.6.0)
        224 active LeewayObj particles  (776 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

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

Animation with current as background. Note that drift is also depending on wind, which is not shown.

lw.animation(background=['x_sea_water_velocity', 'y_sea_water_velocity'],
             cmap=cmocean.cm.speed, vmin=0, vmax=.8, bgalpha=.7, land_color='#666666', fast=True)

Out:

18:03:14 WARNING opendrift.models.basemodel: Plotting fast. This will make your plots less accurate.
18:03:17 INFO    opendrift.models.basemodel: Saving animation to /root/project/docs/source/gallery/animations/example_leeway_0.gif...
18:03:17 INFO    opendrift.models.basemodel: Making animated gif...
../_images/example_leeway_0.gif
lw.plot(fast=True)
OpenDrift - Leeway (LIFE-RAFT-NB-1) 2015-11-16 00:00 to 2015-11-18 00:00 UTC (49 steps)

Out:

18:03:51 WARNING opendrift.models.basemodel: Plotting fast. This will make your plots less accurate.

(<GeoAxesSubplot:title={'center':'OpenDrift - Leeway (LIFE-RAFT-NB-1)\n2015-11-16 00:00 to 2015-11-18 00:00 UTC (49 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 53.646 seconds)

Gallery generated by Sphinx-Gallery