Back and forth

import os
import opendrift
from opendrift.readers import reader_netCDF_CF_generic
from opendrift.models.oceandrift import OceanDrift

ncfile = 'backandforth.nc'

o = OceanDrift(loglevel=20)  # Set loglevel to 0 for debug information
reader_norkyst = reader_netCDF_CF_generic.Reader(o.test_data_folder() +
    '16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc')
#reader_norkyst = reader_netCDF_CF_generic.Reader('https://thredds.met.no/thredds/dodsC/sea/norkyst800m/1h/aggregate_be')

o.add_reader(reader_norkyst)
o.set_config('environment:fallback:land_binary_mask', 0)
o.disable_vertical_motion()
09:35:46 INFO    opendrift.models.basemodel:515: OpenDriftSimulation initialised (version 1.11.13 / v1.11.13-48-g5bea84b)
09:35:46 INFO    opendrift.readers.reader_netCDF_CF_generic:102: Opening dataset: /root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc
09:35:47 INFO    opendrift.readers.reader_netCDF_CF_generic:325: Detected dimensions: {'x': 'X', 'y': 'Y', 'z': 'depth', 'time': 'time'}
09:35:47 INFO    opendrift.models.oceandrift:377: Setting config: drift:vertical_advection -> False
09:35:47 INFO    opendrift.models.oceandrift:377: Setting config: drift:vertical_mixing -> False

Forward run Seeding some particles

lon = 4.2; lat = 60.1;
time = reader_norkyst.start_time
o.seed_elements(lon, lat, radius=1000, number=100, time=time)

o.run(steps=50*4, time_step=900, time_step_output=3600, outfile=ncfile)
09:35:47 INFO    opendrift.models.basemodel.environment:218: Adding a dynamical landmask with max. priority based on assumed maximum speed of 2.0 m/s. Adding a customised landmask may be faster...
09:35:52 INFO    opendrift.models.basemodel.environment:245: Fallback values will be used for the following variables which have no readers:
09:35:52 INFO    opendrift.models.basemodel.environment:248:    sea_surface_height: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    x_wind: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    y_wind: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    upward_sea_water_velocity: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    ocean_vertical_diffusivity: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_significant_height: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_stokes_drift_x_velocity: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_stokes_drift_y_velocity: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_period_at_variance_spectral_density_maximum: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    sea_surface_swell_wave_to_direction: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    sea_surface_swell_wave_peak_period_from_variance_spectral_density: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    sea_surface_swell_wave_significant_height: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wind_wave_to_direction: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wind_wave_mean_period: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wind_wave_significant_height: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    surface_downward_x_stress: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    surface_downward_y_stress: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    turbulent_kinetic_energy: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    turbulent_generic_length_scale: 0.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    ocean_mixed_layer_thickness: 50.000000
09:35:52 INFO    opendrift.models.basemodel.environment:248:    sea_floor_depth_below_sea_level: 10000.000000
09:35:53 INFO    opendrift.models.basemodel:936: Using existing reader for land_binary_mask
09:35:53 INFO    opendrift.models.basemodel:947: All points are in ocean
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 00:00:00 - step 1 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 00:15:00 - step 2 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 00:30:00 - step 3 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 00:45:00 - step 4 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 01:00:00 - step 5 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 01:15:00 - step 6 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 01:30:00 - step 7 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 01:45:00 - step 8 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 02:00:00 - step 9 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 02:15:00 - step 10 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 02:30:00 - step 11 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 02:45:00 - step 12 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 03:00:00 - step 13 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 03:15:00 - step 14 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 03:30:00 - step 15 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 03:45:00 - step 16 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 04:00:00 - step 17 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 04:15:00 - step 18 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 04:30:00 - step 19 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 04:45:00 - step 20 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 05:00:00 - step 21 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 05:15:00 - step 22 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 05:30:00 - step 23 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 05:45:00 - step 24 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 06:00:00 - step 25 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 06:15:00 - step 26 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 06:30:00 - step 27 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 06:45:00 - step 28 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 07:00:00 - step 29 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 07:15:00 - step 30 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 07:30:00 - step 31 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 07:45:00 - step 32 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 08:00:00 - step 33 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 08:15:00 - step 34 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 08:30:00 - step 35 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 08:45:00 - step 36 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 09:00:00 - step 37 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 09:15:00 - step 38 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 09:30:00 - step 39 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 09:45:00 - step 40 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 10:00:00 - step 41 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 10:15:00 - step 42 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 10:30:00 - step 43 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 10:45:00 - step 44 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 11:00:00 - step 45 of 200 - 100 active elements (0 deactivated)
09:35:53 INFO    opendrift.models.basemodel:2038: 2015-11-16 11:15:00 - step 46 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 11:30:00 - step 47 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 11:45:00 - step 48 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 12:00:00 - step 49 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 12:15:00 - step 50 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 12:30:00 - step 51 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 12:45:00 - step 52 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 13:00:00 - step 53 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 13:15:00 - step 54 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 13:30:00 - step 55 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 13:45:00 - step 56 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 14:00:00 - step 57 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 14:15:00 - step 58 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 14:30:00 - step 59 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 14:45:00 - step 60 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 15:00:00 - step 61 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 15:15:00 - step 62 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 15:30:00 - step 63 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 15:45:00 - step 64 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 16:00:00 - step 65 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 16:15:00 - step 66 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 16:30:00 - step 67 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 16:45:00 - step 68 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 17:00:00 - step 69 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 17:15:00 - step 70 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 17:30:00 - step 71 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 17:45:00 - step 72 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 18:00:00 - step 73 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 18:15:00 - step 74 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 18:30:00 - step 75 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 18:45:00 - step 76 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 19:00:00 - step 77 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 19:15:00 - step 78 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 19:30:00 - step 79 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 19:45:00 - step 80 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 20:00:00 - step 81 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 20:15:00 - step 82 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 20:30:00 - step 83 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 20:45:00 - step 84 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 21:00:00 - step 85 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 21:15:00 - step 86 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 21:30:00 - step 87 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 21:45:00 - step 88 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 22:00:00 - step 89 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 22:15:00 - step 90 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 22:30:00 - step 91 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 22:45:00 - step 92 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 23:00:00 - step 93 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 23:15:00 - step 94 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 23:30:00 - step 95 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-16 23:45:00 - step 96 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-17 00:00:00 - step 97 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-17 00:15:00 - step 98 of 200 - 100 active elements (0 deactivated)
09:35:54 INFO    opendrift.models.basemodel:2038: 2015-11-17 00:30:00 - step 99 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 00:45:00 - step 100 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 01:00:00 - step 101 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 01:15:00 - step 102 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 01:30:00 - step 103 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 01:45:00 - step 104 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 02:00:00 - step 105 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 02:15:00 - step 106 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 02:30:00 - step 107 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 02:45:00 - step 108 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 03:00:00 - step 109 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 03:15:00 - step 110 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 03:30:00 - step 111 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 03:45:00 - step 112 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 04:00:00 - step 113 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 04:15:00 - step 114 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 04:30:00 - step 115 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 04:45:00 - step 116 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 05:00:00 - step 117 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 05:15:00 - step 118 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 05:30:00 - step 119 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 05:45:00 - step 120 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 06:00:00 - step 121 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 06:15:00 - step 122 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 06:30:00 - step 123 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 06:45:00 - step 124 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 07:00:00 - step 125 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 07:15:00 - step 126 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 07:30:00 - step 127 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 07:45:00 - step 128 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 08:00:00 - step 129 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 08:15:00 - step 130 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 08:30:00 - step 131 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 08:45:00 - step 132 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 09:00:00 - step 133 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 09:15:00 - step 134 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 09:30:00 - step 135 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 09:45:00 - step 136 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 10:00:00 - step 137 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 10:15:00 - step 138 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 10:30:00 - step 139 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 10:45:00 - step 140 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 11:00:00 - step 141 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 11:15:00 - step 142 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 11:30:00 - step 143 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 11:45:00 - step 144 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 12:00:00 - step 145 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 12:15:00 - step 146 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 12:30:00 - step 147 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 12:45:00 - step 148 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 13:00:00 - step 149 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 13:15:00 - step 150 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 13:30:00 - step 151 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 13:45:00 - step 152 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 14:00:00 - step 153 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 14:15:00 - step 154 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 14:30:00 - step 155 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 14:45:00 - step 156 of 200 - 100 active elements (0 deactivated)
09:35:55 INFO    opendrift.models.basemodel:2038: 2015-11-17 15:00:00 - step 157 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 15:15:00 - step 158 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 15:30:00 - step 159 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 15:45:00 - step 160 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 16:00:00 - step 161 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 16:15:00 - step 162 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 16:30:00 - step 163 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 16:45:00 - step 164 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 17:00:00 - step 165 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 17:15:00 - step 166 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 17:30:00 - step 167 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 17:45:00 - step 168 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 18:00:00 - step 169 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 18:15:00 - step 170 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 18:30:00 - step 171 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 18:45:00 - step 172 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 19:00:00 - step 173 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 19:15:00 - step 174 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 19:30:00 - step 175 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 19:45:00 - step 176 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 20:00:00 - step 177 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 20:15:00 - step 178 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 20:30:00 - step 179 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 20:45:00 - step 180 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 21:00:00 - step 181 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 21:15:00 - step 182 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 21:30:00 - step 183 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 21:45:00 - step 184 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 22:00:00 - step 185 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 22:15:00 - step 186 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 22:30:00 - step 187 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 22:45:00 - step 188 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 23:00:00 - step 189 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 23:15:00 - step 190 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 23:30:00 - step 191 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-17 23:45:00 - step 192 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-18 00:00:00 - step 193 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-18 00:15:00 - step 194 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-18 00:30:00 - step 195 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-18 00:45:00 - step 196 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-18 01:00:00 - step 197 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-18 01:15:00 - step 198 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-18 01:30:00 - step 199 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.models.basemodel:2038: 2015-11-18 01:45:00 - step 200 of 200 - 100 active elements (0 deactivated)
09:35:56 INFO    opendrift.export.io_netcdf:121: Wrote 51 steps to file backandforth.nc
/opt/conda/envs/opendrift/lib/python3.11/site-packages/numpy/ma/core.py:467: RuntimeWarning: invalid value encountered in cast
  fill_value = np.array(fill_value, copy=False, dtype=ndtype)

Print and plot results

print(o)
o.plot(buffer=.2, fast=True)

##%%
# Backward run:
# Import forward run, and seed elements at final positions and time
o = opendrift.open(ncfile)
elements_final = o.elements
time_final = o.time
del o
o = OceanDrift(loglevel=20)  # Set loglevel to 0 for debug information
o.set_config('environment:fallback:land_binary_mask', 0)
o.disable_vertical_motion()
o.add_reader(reader_norkyst)
o.schedule_elements(elements_final, time_final)
OpenDrift - OceanDrift 2015-11-16 00:00 to 2015-11-18 02:00 UTC (51 steps)
===========================
--------------------
Reader performance:
--------------------
/root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc
 0:00:01.6  total
 0:00:00.0  preparing
 0:00:00.2  reading
 0:00:00.0  interpolation
 0:00:00.0  interpolation_time
 0:00:01.3  rotating vectors
 0:00:00.0  masking
--------------------
global_landmask
 0:00:00.0  total
 0:00:00.0  preparing
 0:00:00.0  reading
 0:00:00.0  masking
--------------------
Performance:
    9.9 total time
    6.4 configuration
    0.0 preparing main loop
      0.0 moving elements to ocean
    3.5 main loop
      0.0 updating elements
    0.0 cleaning up
--------------------
===========================
Model:  OceanDrift     (OpenDrift version 1.11.13)
        100 active Lagrangian3DArray particles  (0 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
  -----
  land_binary_mask
     1) global_landmask
  -----
Readers not added for the following variables:
  ocean_mixed_layer_thickness
  ocean_vertical_diffusivity
  sea_floor_depth_below_sea_level
  sea_surface_height
  sea_surface_swell_wave_peak_period_from_variance_spectral_density
  sea_surface_swell_wave_significant_height
  sea_surface_swell_wave_to_direction
  sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment
  sea_surface_wave_period_at_variance_spectral_density_maximum
  sea_surface_wave_significant_height
  sea_surface_wave_stokes_drift_x_velocity
  sea_surface_wave_stokes_drift_y_velocity
  sea_surface_wind_wave_mean_period
  sea_surface_wind_wave_significant_height
  sea_surface_wind_wave_to_direction
  surface_downward_x_stress
  surface_downward_y_stress
  turbulent_generic_length_scale
  turbulent_kinetic_energy
  upward_sea_water_velocity
  x_wind
  y_wind

Discarded readers:

Time:
        Start: 2015-11-16 00:00:00 UTC
        Present: 2015-11-18 02:00:00 UTC
        Calculation steps: 200 * 0:15:00 - total time: 2 days, 2:00:00
        Output steps: 51 * 1:00:00
===========================

09:35:56 WARNING opendrift.models.basemodel:2411: Plotting fast. This will make your plots less accurate.
09:35:58 DEBUG   opendrift.config:168: Adding 18 config items from __init__
09:35:58 DEBUG   opendrift.config:178:   Overwriting config item readers:max_number_of_fails
09:35:58 DEBUG   opendrift.config:168: Adding 5 config items from __init__
09:35:58 INFO    opendrift.models.basemodel:515: OpenDriftSimulation initialised (version 1.11.13 / v1.11.13-48-g5bea84b)
09:35:58 DEBUG   opendrift.config:168: Adding 15 config items from oceandrift
09:35:58 DEBUG   opendrift.config:178:   Overwriting config item seed:z
09:35:58 DEBUG   opendrift.export.io_netcdf:294: Importing from backandforth.nc
/opt/conda/envs/opendrift/lib/python3.11/site-packages/numpy/ma/core.py:467: RuntimeWarning: invalid value encountered in cast
  fill_value = np.array(fill_value, copy=False, dtype=ndtype)
09:35:58 DEBUG   opendrift.models.basemodel:1710: No elements to deactivate
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:x_sea_water_velocity -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:x_sea_water_velocity -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:y_sea_water_velocity -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:y_sea_water_velocity -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:sea_surface_height -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:sea_surface_height -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:x_wind -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:x_wind -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:y_wind -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:y_wind -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:upward_sea_water_velocity -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:upward_sea_water_velocity -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:ocean_vertical_diffusivity -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:ocean_vertical_diffusivity -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:sea_surface_wave_significant_height -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:sea_surface_wave_significant_height -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:sea_surface_wave_stokes_drift_x_velocity -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:sea_surface_wave_stokes_drift_x_velocity -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:sea_surface_wave_stokes_drift_y_velocity -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:sea_surface_wave_stokes_drift_y_velocity -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:sea_surface_wave_period_at_variance_spectral_density_maximum -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:sea_surface_wave_period_at_variance_spectral_density_maximum -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:sea_surface_swell_wave_to_direction -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:sea_surface_swell_wave_to_direction -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:sea_surface_swell_wave_peak_period_from_variance_spectral_density -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:sea_surface_swell_wave_peak_period_from_variance_spectral_density -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:sea_surface_swell_wave_significant_height -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:sea_surface_swell_wave_significant_height -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:sea_surface_wind_wave_to_direction -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:sea_surface_wind_wave_to_direction -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:sea_surface_wind_wave_mean_period -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:sea_surface_wind_wave_mean_period -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:sea_surface_wind_wave_significant_height -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:sea_surface_wind_wave_significant_height -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:surface_downward_x_stress -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:surface_downward_x_stress -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:surface_downward_y_stress -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:surface_downward_y_stress -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:turbulent_kinetic_energy -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:turbulent_kinetic_energy -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:turbulent_generic_length_scale -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:turbulent_generic_length_scale -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:ocean_mixed_layer_thickness -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:ocean_mixed_layer_thickness -> 50
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:sea_floor_depth_below_sea_level -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:sea_floor_depth_below_sea_level -> 10000
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:constant:land_binary_mask -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: environment:fallback:land_binary_mask -> 0.0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: general:use_auto_landmask -> True
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:current_uncertainty -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:current_uncertainty_uniform -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:max_speed -> 2.0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: readers:max_number_of_fails -> 1
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: general:simulation_name ->
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: general:coastline_action -> stranding
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: general:coastline_approximation_precision -> 0.001
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: general:time_step_minutes -> 60
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: general:time_step_output_minutes -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: seed:ocean_only -> True
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: seed:number -> 1
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:max_age_seconds -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:advection_scheme -> euler
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:horizontal_diffusivity -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:profiles_depth -> 50
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:wind_uncertainty -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:relative_wind -> False
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:deactivate_north_of -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:deactivate_south_of -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:deactivate_east_of -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:deactivate_west_of -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: seed:origin_marker -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: seed:z -> 0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: seed:wind_drift_factor -> 0.02
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: seed:current_drift_factor -> 1
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: seed:terminal_velocity -> 0.0
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:vertical_advection -> False
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:vertical_mixing -> False
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: vertical_mixing:timestep -> 60
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: vertical_mixing:diffusivitymodel -> environment
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: vertical_mixing:background_diffusivity -> 1.2e-05
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: vertical_mixing:TSprofiles -> False
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:wind_drift_depth -> 0.1
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:stokes_drift -> True
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:stokes_drift_profile -> Phillips
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:use_tabularised_stokes_drift -> False
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:tabularised_stokes_drift_fetch -> 25000
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: general:seafloor_action -> lift_to_seafloor
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: drift:truncate_ocean_model_below_m -> None
09:35:58 DEBUG   opendrift.export.io_netcdf:393: Setting imported config: seed:seafloor -> False
09:35:58 INFO    opendrift:78: Returning <class 'opendrift.models.oceandrift.OceanDrift'> object
09:35:58 DEBUG   opendrift.models.oceandrift:115: No machine learning correction available.
09:35:58 DEBUG   opendrift.config:168: Adding 50 config items from environment
09:35:58 DEBUG   opendrift.config:168: Adding 5 config items from environment
09:35:59 INFO    opendrift.models.basemodel:515: OpenDriftSimulation initialised (version 1.11.13 / v1.11.13-48-g5bea84b)
09:35:59 INFO    opendrift.models.oceandrift:377: Setting config: drift:vertical_advection -> False
09:35:59 INFO    opendrift.models.oceandrift:377: Setting config: drift:vertical_mixing -> False
09:35:59 INFO    opendrift.models.basemodel.environment:218: Adding a dynamical landmask with max. priority based on assumed maximum speed of 2.0 m/s. Adding a customised landmask may be faster...
09:35:59 INFO    opendrift.models.basemodel.environment:245: Fallback values will be used for the following variables which have no readers:
09:35:59 INFO    opendrift.models.basemodel.environment:248:    sea_surface_height: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    x_wind: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    y_wind: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    upward_sea_water_velocity: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    ocean_vertical_diffusivity: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_significant_height: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_stokes_drift_x_velocity: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_stokes_drift_y_velocity: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_period_at_variance_spectral_density_maximum: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    sea_surface_swell_wave_to_direction: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    sea_surface_swell_wave_peak_period_from_variance_spectral_density: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    sea_surface_swell_wave_significant_height: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wind_wave_to_direction: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wind_wave_mean_period: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    sea_surface_wind_wave_significant_height: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    surface_downward_x_stress: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    surface_downward_y_stress: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    turbulent_kinetic_energy: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    turbulent_generic_length_scale: 0.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    ocean_mixed_layer_thickness: 50.000000
09:35:59 INFO    opendrift.models.basemodel.environment:248:    sea_floor_depth_below_sea_level: 10000.000000

Running model backwards from end of forward simulation

o.run(steps=50*4, time_step=-900, time_step_output=3600)
09:35:59 INFO    opendrift.models.basemodel:1845: Backwards simulation, starting from last seeded element
09:35:59 INFO    opendrift.models.basemodel:1928: Backwards simulation, starting at time of last seeded element
09:35:59 INFO    opendrift.models.basemodel:936: Using existing reader for land_binary_mask
09:35:59 INFO    opendrift.models.basemodel:947: All points are in ocean
09:35:59 INFO    opendrift.models.basemodel:2038: 2015-11-18 02:00:00 - step 1 of 200 - 100 active elements (0 deactivated)
09:35:59 INFO    opendrift.models.basemodel:2038: 2015-11-18 01:45:00 - step 2 of 200 - 100 active elements (0 deactivated)
09:35:59 INFO    opendrift.models.basemodel:2038: 2015-11-18 01:30:00 - step 3 of 200 - 100 active elements (0 deactivated)
09:35:59 INFO    opendrift.models.basemodel:2038: 2015-11-18 01:15:00 - step 4 of 200 - 100 active elements (0 deactivated)
09:35:59 INFO    opendrift.models.basemodel:2038: 2015-11-18 01:00:00 - step 5 of 200 - 100 active elements (0 deactivated)
09:35:59 INFO    opendrift.models.basemodel:2038: 2015-11-18 00:45:00 - step 6 of 200 - 100 active elements (0 deactivated)
09:35:59 INFO    opendrift.models.basemodel:2038: 2015-11-18 00:30:00 - step 7 of 200 - 100 active elements (0 deactivated)
09:35:59 INFO    opendrift.models.basemodel:2038: 2015-11-18 00:15:00 - step 8 of 200 - 100 active elements (0 deactivated)
09:35:59 INFO    opendrift.models.basemodel:2038: 2015-11-18 00:00:00 - step 9 of 200 - 100 active elements (0 deactivated)
09:35:59 INFO    opendrift.models.basemodel:2038: 2015-11-17 23:45:00 - step 10 of 200 - 100 active elements (0 deactivated)
09:35:59 INFO    opendrift.models.basemodel:2038: 2015-11-17 23:30:00 - step 11 of 200 - 100 active elements (0 deactivated)
09:35:59 INFO    opendrift.models.basemodel:2038: 2015-11-17 23:15:00 - step 12 of 200 - 100 active elements (0 deactivated)
09:35:59 INFO    opendrift.models.basemodel:2038: 2015-11-17 23:00:00 - step 13 of 200 - 100 active elements (0 deactivated)
09:35:59 INFO    opendrift.models.basemodel:2038: 2015-11-17 22:45:00 - step 14 of 200 - 100 active elements (0 deactivated)
09:35:59 INFO    opendrift.models.basemodel:2038: 2015-11-17 22:30:00 - step 15 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 22:15:00 - step 16 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 22:00:00 - step 17 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 21:45:00 - step 18 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 21:30:00 - step 19 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 21:15:00 - step 20 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 21:00:00 - step 21 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 20:45:00 - step 22 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 20:30:00 - step 23 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 20:15:00 - step 24 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 20:00:00 - step 25 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 19:45:00 - step 26 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 19:30:00 - step 27 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 19:15:00 - step 28 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 19:00:00 - step 29 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 18:45:00 - step 30 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 18:30:00 - step 31 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 18:15:00 - step 32 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 18:00:00 - step 33 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 17:45:00 - step 34 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 17:30:00 - step 35 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 17:15:00 - step 36 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 17:00:00 - step 37 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 16:45:00 - step 38 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 16:30:00 - step 39 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 16:15:00 - step 40 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 16:00:00 - step 41 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 15:45:00 - step 42 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 15:30:00 - step 43 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 15:15:00 - step 44 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 15:00:00 - step 45 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 14:45:00 - step 46 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 14:30:00 - step 47 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 14:15:00 - step 48 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 14:00:00 - step 49 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 13:45:00 - step 50 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 13:30:00 - step 51 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 13:15:00 - step 52 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 13:00:00 - step 53 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 12:45:00 - step 54 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 12:30:00 - step 55 of 200 - 100 active elements (0 deactivated)
09:36:00 INFO    opendrift.models.basemodel:2038: 2015-11-17 12:15:00 - step 56 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 12:00:00 - step 57 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 11:45:00 - step 58 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 11:30:00 - step 59 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 11:15:00 - step 60 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 11:00:00 - step 61 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 10:45:00 - step 62 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 10:30:00 - step 63 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 10:15:00 - step 64 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 10:00:00 - step 65 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 09:45:00 - step 66 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 09:30:00 - step 67 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 09:15:00 - step 68 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 09:00:00 - step 69 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 08:45:00 - step 70 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 08:30:00 - step 71 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 08:15:00 - step 72 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 08:00:00 - step 73 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 07:45:00 - step 74 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 07:30:00 - step 75 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 07:15:00 - step 76 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 07:00:00 - step 77 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 06:45:00 - step 78 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 06:30:00 - step 79 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 06:15:00 - step 80 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 06:00:00 - step 81 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 05:45:00 - step 82 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 05:30:00 - step 83 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 05:15:00 - step 84 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 05:00:00 - step 85 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 04:45:00 - step 86 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 04:30:00 - step 87 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 04:15:00 - step 88 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 04:00:00 - step 89 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 03:45:00 - step 90 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 03:30:00 - step 91 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 03:15:00 - step 92 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 03:00:00 - step 93 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 02:45:00 - step 94 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 02:30:00 - step 95 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 02:15:00 - step 96 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 02:00:00 - step 97 of 200 - 100 active elements (0 deactivated)
09:36:01 INFO    opendrift.models.basemodel:2038: 2015-11-17 01:45:00 - step 98 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-17 01:30:00 - step 99 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-17 01:15:00 - step 100 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-17 01:00:00 - step 101 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-17 00:45:00 - step 102 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-17 00:30:00 - step 103 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-17 00:15:00 - step 104 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-17 00:00:00 - step 105 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 23:45:00 - step 106 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 23:30:00 - step 107 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 23:15:00 - step 108 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 23:00:00 - step 109 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 22:45:00 - step 110 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 22:30:00 - step 111 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 22:15:00 - step 112 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 22:00:00 - step 113 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 21:45:00 - step 114 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 21:30:00 - step 115 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 21:15:00 - step 116 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 21:00:00 - step 117 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 20:45:00 - step 118 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 20:30:00 - step 119 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 20:15:00 - step 120 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 20:00:00 - step 121 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 19:45:00 - step 122 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 19:30:00 - step 123 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 19:15:00 - step 124 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 19:00:00 - step 125 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 18:45:00 - step 126 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 18:30:00 - step 127 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 18:15:00 - step 128 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 18:00:00 - step 129 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 17:45:00 - step 130 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 17:30:00 - step 131 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 17:15:00 - step 132 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 17:00:00 - step 133 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 16:45:00 - step 134 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 16:30:00 - step 135 of 200 - 100 active elements (0 deactivated)
09:36:02 INFO    opendrift.models.basemodel:2038: 2015-11-16 16:15:00 - step 136 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 16:00:00 - step 137 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 15:45:00 - step 138 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 15:30:00 - step 139 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 15:15:00 - step 140 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 15:00:00 - step 141 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 14:45:00 - step 142 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 14:30:00 - step 143 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 14:15:00 - step 144 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 14:00:00 - step 145 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 13:45:00 - step 146 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 13:30:00 - step 147 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 13:15:00 - step 148 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 13:00:00 - step 149 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 12:45:00 - step 150 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 12:30:00 - step 151 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 12:15:00 - step 152 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 12:00:00 - step 153 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 11:45:00 - step 154 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 11:30:00 - step 155 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 11:15:00 - step 156 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 11:00:00 - step 157 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 10:45:00 - step 158 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 10:30:00 - step 159 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 10:15:00 - step 160 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 10:00:00 - step 161 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 09:45:00 - step 162 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 09:30:00 - step 163 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 09:15:00 - step 164 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 09:00:00 - step 165 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 08:45:00 - step 166 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 08:30:00 - step 167 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 08:15:00 - step 168 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 08:00:00 - step 169 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 07:45:00 - step 170 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 07:30:00 - step 171 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 07:15:00 - step 172 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 07:00:00 - step 173 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 06:45:00 - step 174 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 06:30:00 - step 175 of 200 - 100 active elements (0 deactivated)
09:36:03 INFO    opendrift.models.basemodel:2038: 2015-11-16 06:15:00 - step 176 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 06:00:00 - step 177 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 05:45:00 - step 178 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 05:30:00 - step 179 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 05:15:00 - step 180 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 05:00:00 - step 181 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 04:45:00 - step 182 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 04:30:00 - step 183 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 04:15:00 - step 184 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 04:00:00 - step 185 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 03:45:00 - step 186 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 03:30:00 - step 187 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 03:15:00 - step 188 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 03:00:00 - step 189 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 02:45:00 - step 190 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 02:30:00 - step 191 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 02:15:00 - step 192 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 02:00:00 - step 193 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 01:45:00 - step 194 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 01:30:00 - step 195 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 01:15:00 - step 196 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 01:00:00 - step 197 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 00:45:00 - step 198 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 00:30:00 - step 199 of 200 - 100 active elements (0 deactivated)
09:36:04 INFO    opendrift.models.basemodel:2038: 2015-11-16 00:15:00 - step 200 of 200 - 100 active elements (0 deactivated)

Check if backwards simulation brings elements back to their starting position. Some numerical error is expected.

print(o)
o.plot(buffer=.2, fast=True)
os.remove(ncfile)

##%%
# Compare plots forward and backward
OpenDrift - OceanDrift 2015-11-18 02:00 to 2015-11-16 00:00 UTC (51 steps)
===========================
--------------------
Reader performance:
--------------------
/root/project/tests/test_data/16Nov2015_NorKyst_z_surface/norkyst800_subset_16Nov2015.nc
 0:00:03.4  total
 0:00:00.0  preparing
 0:00:00.6  reading
 0:00:00.1  interpolation
 0:00:00.0  interpolation_time
 0:00:02.7  rotating vectors
 0:00:00.0  masking
--------------------
global_landmask
 0:00:00.1  total
 0:00:00.0  preparing
 0:00:00.1  reading
 0:00:00.0  masking
--------------------
Performance:
    5.7 total time
    0.6 configuration
    0.0 preparing main loop
      0.0 moving elements to ocean
    5.0 main loop
      0.2 updating elements
    0.0 cleaning up
--------------------
===========================
Model:  OceanDrift     (OpenDrift version 1.11.13)
        100 active Lagrangian3DArray particles  (0 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
  -----
  land_binary_mask
     1) global_landmask
  -----
Readers not added for the following variables:
  ocean_mixed_layer_thickness
  ocean_vertical_diffusivity
  sea_floor_depth_below_sea_level
  sea_surface_height
  sea_surface_swell_wave_peak_period_from_variance_spectral_density
  sea_surface_swell_wave_significant_height
  sea_surface_swell_wave_to_direction
  sea_surface_wave_mean_period_from_variance_spectral_density_second_frequency_moment
  sea_surface_wave_period_at_variance_spectral_density_maximum
  sea_surface_wave_significant_height
  sea_surface_wave_stokes_drift_x_velocity
  sea_surface_wave_stokes_drift_y_velocity
  sea_surface_wind_wave_mean_period
  sea_surface_wind_wave_significant_height
  sea_surface_wind_wave_to_direction
  surface_downward_x_stress
  surface_downward_y_stress
  turbulent_generic_length_scale
  turbulent_kinetic_energy
  upward_sea_water_velocity
  x_wind
  y_wind

Discarded readers:

Time:
        Start: 2015-11-18 02:00:00 UTC
        Present: 2015-11-16 00:00:00 UTC
        Calculation steps: 200 * -1 day, 23:45:00 - total time: -3 days, 22:00:00
        Output steps: 51 * -1 day, 23:00:00
===========================

09:36:04 WARNING opendrift.models.basemodel:2411: Plotting fast. This will make your plots less accurate.

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

Gallery generated by Sphinx-Gallery