Wind blow model

from opendrift.readers import reader_netCDF_CF_generic
from opendrift.models.windblow import WindBlow

o = WindBlow(loglevel=20)  # Set loglevel to 0 for debug information

Out:

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

Example of elements blowing with the wind, also over land

#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(o.test_data_folder() +
    '2Feb2016_Nordic_sigma_3d/AROME_MetCoOp_00_DEF_20160202_subset.nc')

o.add_reader([reader_arome])

Out:

13:47:07 INFO    opendrift.readers.reader_netCDF_CF_generic: Opening dataset: /root/project/tests/test_data/2Feb2016_Nordic_sigma_3d/AROME_MetCoOp_00_DEF_20160202_subset.nc

Seeding some particles

lat = 68.5; lon = 16.0  # Lofoten
o.seed_elements(lon, lat, radius=5000, number=1000,
                time=reader_arome.start_time)

Running model for 48 hours

o.run(steps=48*4, time_step=900, time_step_output=3600)

Out:

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

Print and plot results

print(o)
o.animation(ocean_color='skyblue', land_color='burlywood')

Out:

===========================
--------------------
Reader performance:
--------------------
/root/project/tests/test_data/2Feb2016_Nordic_sigma_3d/AROME_MetCoOp_00_DEF_20160202_subset.nc
 0:00:03.4  total
 0:00:00.0  preparing
 0:00:00.3  reading
 0:00:00.0  interpolation
 0:00:00.0  interpolation_time
 0:00:03.1  rotating vectors
 0:00:00.0  masking
--------------------
Performance:
    4.8 total time
    0.5 configuration
    0.0 preparing main loop
    4.2 main loop
      3.8 readers
        3.6 /root/project/tests/test_data/2Feb2016_Nordic_sigma_3d/AROME_MetCoOp_00_DEF_20160202_subset.nc
        0.1 postprocessing
      0.1 updating elements
    0.0 cleaning up
--------------------
===========================
Model:  WindBlow     (OpenDrift version 1.7.1)
        1000 active PassiveTracer particles  (0 deactivated, 0 scheduled)
-------------------
Environment variables:
  -----
  x_wind
  y_wind
     1) /root/project/tests/test_data/2Feb2016_Nordic_sigma_3d/AROME_MetCoOp_00_DEF_20160202_subset.nc

Time:
        Start: 2016-02-02 12:00:00
        Present: 2016-02-04 12:00:00
        Calculation steps: 192 * 0:15:00 - total time: 2 days, 0:00:00
        Output steps: 49 * 1:00:00
===========================

13:47:33 INFO    opendrift.models.basemodel: Saving animation to /root/project/docs/source/gallery/animations/example_windblow_0.gif...
13:47:33 INFO    opendrift.models.basemodel: Making animated gif...
MovieWriter imagemagick unavailable; using Pillow instead.
../_images/example_windblow_0.gif
o.plot(buffer=.5, ocean_color='skyblue', land_color='burlywood')
OpenDrift - WindBlow 2016-02-02 12:00 to 2016-02-04 12:00 UTC (49 steps)

Out:

(<GeoAxesSubplot:title={'center':'OpenDrift - WindBlow\n2016-02-02 12:00 to 2016-02-04 12: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: ( 1 minutes 39.471 seconds)

Gallery generated by Sphinx-Gallery