.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "gallery/example_windblow.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code .. rst-class:: sphx-glr-example-title .. _sphx_glr_gallery_example_windblow.py: Wind blow model ================================== .. GENERATED FROM PYTHON SOURCE LINES 6-12 .. code-block:: Python 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 .. rst-class:: sphx-glr-script-out .. code-block:: none 14:39:35 INFO opendrift.models.basemodel:533: OpenDriftSimulation initialised (version 1.11.2 / v1.11.2-37-g34f6117) .. GENERATED FROM PYTHON SOURCE LINES 13-14 Example of elements blowing with the wind, also over land .. GENERATED FROM PYTHON SOURCE LINES 14-21 .. code-block:: Python #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]) .. rst-class:: sphx-glr-script-out .. code-block:: none 14:39:35 INFO opendrift.readers.reader_netCDF_CF_generic:102: Opening dataset: /root/project/tests/test_data/2Feb2016_Nordic_sigma_3d/AROME_MetCoOp_00_DEF_20160202_subset.nc /opt/conda/envs/opendrift/lib/python3.11/site-packages/pyproj/crs/crs.py:1286: UserWarning: You will likely lose important projection information when converting to a PROJ string from another format. See: https://proj.org/faq.html#what-is-the-best-format-for-describing-coordinate-reference-systems proj = self._crs.to_proj4(version=version) 14:39:36 INFO opendrift.readers.reader_netCDF_CF_generic:314: Detected dimensions: {'time': 'time', 'x': 'x', 'y': 'y'} .. GENERATED FROM PYTHON SOURCE LINES 22-23 Seeding some particles .. GENERATED FROM PYTHON SOURCE LINES 23-27 .. code-block:: Python lat = 68.5; lon = 16.0 # Lofoten o.seed_elements(lon, lat, radius=5000, number=1000, time=reader_arome.start_time) .. GENERATED FROM PYTHON SOURCE LINES 28-29 Running model for 48 hours .. GENERATED FROM PYTHON SOURCE LINES 29-31 .. code-block:: Python o.run(steps=48*4, time_step=900, time_step_output=3600) .. rst-class:: sphx-glr-script-out .. code-block:: none 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 12:00:00 - step 1 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 12:15:00 - step 2 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 12:30:00 - step 3 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 12:45:00 - step 4 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 13:00:00 - step 5 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 13:15:00 - step 6 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 13:30:00 - step 7 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 13:45:00 - step 8 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 14:00:00 - step 9 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 14:15:00 - step 10 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 14:30:00 - step 11 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 14:45:00 - step 12 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 15:00:00 - step 13 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 15:15:00 - step 14 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 15:30:00 - step 15 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 15:45:00 - step 16 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 16:00:00 - step 17 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 16:15:00 - step 18 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 16:30:00 - step 19 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 16:45:00 - step 20 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 17:00:00 - step 21 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 17:15:00 - step 22 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 17:30:00 - step 23 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 17:45:00 - step 24 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 18:00:00 - step 25 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 18:15:00 - step 26 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 18:30:00 - step 27 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 18:45:00 - step 28 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 19:00:00 - step 29 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 19:15:00 - step 30 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 19:30:00 - step 31 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 19:45:00 - step 32 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 20:00:00 - step 33 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 20:15:00 - step 34 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 20:30:00 - step 35 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 20:45:00 - step 36 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 21:00:00 - step 37 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 21:15:00 - step 38 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 21:30:00 - step 39 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 21:45:00 - step 40 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 22:00:00 - step 41 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 22:15:00 - step 42 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 22:30:00 - step 43 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 22:45:00 - step 44 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 23:00:00 - step 45 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 23:15:00 - step 46 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 23:30:00 - step 47 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-02 23:45:00 - step 48 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-03 00:00:00 - step 49 of 192 - 1000 active elements (0 deactivated) 14:39:36 INFO opendrift.models.basemodel:2011: 2016-02-03 00:15:00 - step 50 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 00:30:00 - step 51 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 00:45:00 - step 52 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 01:00:00 - step 53 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 01:15:00 - step 54 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 01:30:00 - step 55 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 01:45:00 - step 56 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 02:00:00 - step 57 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 02:15:00 - step 58 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 02:30:00 - step 59 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 02:45:00 - step 60 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 03:00:00 - step 61 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 03:15:00 - step 62 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 03:30:00 - step 63 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 03:45:00 - step 64 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 04:00:00 - step 65 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 04:15:00 - step 66 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 04:30:00 - step 67 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 04:45:00 - step 68 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 05:00:00 - step 69 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 05:15:00 - step 70 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 05:30:00 - step 71 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 05:45:00 - step 72 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 06:00:00 - step 73 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 06:15:00 - step 74 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 06:30:00 - step 75 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 06:45:00 - step 76 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 07:00:00 - step 77 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 07:15:00 - step 78 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 07:30:00 - step 79 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 07:45:00 - step 80 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 08:00:00 - step 81 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 08:15:00 - step 82 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 08:30:00 - step 83 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 08:45:00 - step 84 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 09:00:00 - step 85 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 09:15:00 - step 86 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 09:30:00 - step 87 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 09:45:00 - step 88 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 10:00:00 - step 89 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 10:15:00 - step 90 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 10:30:00 - step 91 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 10:45:00 - step 92 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 11:00:00 - step 93 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 11:15:00 - step 94 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 11:30:00 - step 95 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 11:45:00 - step 96 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 12:00:00 - step 97 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 12:15:00 - step 98 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 12:30:00 - step 99 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 12:45:00 - step 100 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 13:00:00 - step 101 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 13:15:00 - step 102 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 13:30:00 - step 103 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 13:45:00 - step 104 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 14:00:00 - step 105 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 14:15:00 - step 106 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 14:30:00 - step 107 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 14:45:00 - step 108 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 15:00:00 - step 109 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 15:15:00 - step 110 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 15:30:00 - step 111 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 15:45:00 - step 112 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 16:00:00 - step 113 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 16:15:00 - step 114 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 16:30:00 - step 115 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 16:45:00 - step 116 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 17:00:00 - step 117 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 17:15:00 - step 118 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 17:30:00 - step 119 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 17:45:00 - step 120 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 18:00:00 - step 121 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 18:15:00 - step 122 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 18:30:00 - step 123 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 18:45:00 - step 124 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 19:00:00 - step 125 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 19:15:00 - step 126 of 192 - 1000 active elements (0 deactivated) 14:39:37 INFO opendrift.models.basemodel:2011: 2016-02-03 19:30:00 - step 127 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-03 19:45:00 - step 128 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-03 20:00:00 - step 129 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-03 20:15:00 - step 130 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-03 20:30:00 - step 131 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-03 20:45:00 - step 132 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-03 21:00:00 - step 133 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-03 21:15:00 - step 134 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-03 21:30:00 - step 135 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-03 21:45:00 - step 136 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-03 22:00:00 - step 137 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-03 22:15:00 - step 138 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-03 22:30:00 - step 139 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-03 22:45:00 - step 140 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-03 23:00:00 - step 141 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-03 23:15:00 - step 142 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-03 23:30:00 - step 143 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-03 23:45:00 - step 144 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 00:00:00 - step 145 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 00:15:00 - step 146 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 00:30:00 - step 147 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 00:45:00 - step 148 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 01:00:00 - step 149 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 01:15:00 - step 150 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 01:30:00 - step 151 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 01:45:00 - step 152 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 02:00:00 - step 153 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 02:15:00 - step 154 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 02:30:00 - step 155 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 02:45:00 - step 156 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 03:00:00 - step 157 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 03:15:00 - step 158 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 03:30:00 - step 159 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 03:45:00 - step 160 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 04:00:00 - step 161 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 04:15:00 - step 162 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 04:30:00 - step 163 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 04:45:00 - step 164 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 05:00:00 - step 165 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 05:15:00 - step 166 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 05:30:00 - step 167 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 05:45:00 - step 168 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 06:00:00 - step 169 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 06:15:00 - step 170 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 06:30:00 - step 171 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 06:45:00 - step 172 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 07:00:00 - step 173 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 07:15:00 - step 174 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 07:30:00 - step 175 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 07:45:00 - step 176 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 08:00:00 - step 177 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 08:15:00 - step 178 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 08:30:00 - step 179 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 08:45:00 - step 180 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 09:00:00 - step 181 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 09:15:00 - step 182 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 09:30:00 - step 183 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 09:45:00 - step 184 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 10:00:00 - step 185 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 10:15:00 - step 186 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 10:30:00 - step 187 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 10:45:00 - step 188 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 11:00:00 - step 189 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 11:15:00 - step 190 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 11:30:00 - step 191 of 192 - 1000 active elements (0 deactivated) 14:39:38 INFO opendrift.models.basemodel:2011: 2016-02-04 11:45:00 - step 192 of 192 - 1000 active elements (0 deactivated) .. GENERATED FROM PYTHON SOURCE LINES 32-33 Print and plot results .. GENERATED FROM PYTHON SOURCE LINES 33-36 .. code-block:: Python print(o) o.animation(ocean_color='skyblue', land_color='burlywood') .. rst-class:: sphx-glr-script-out .. code-block:: none =========================== -------------------- Reader performance: -------------------- /root/project/tests/test_data/2Feb2016_Nordic_sigma_3d/AROME_MetCoOp_00_DEF_20160202_subset.nc 0:00:01.7 total 0:00:00.0 preparing 0:00:00.3 reading 0:00:00.0 interpolation 0:00:00.0 interpolation_time 0:00:01.4 rotating vectors 0:00:00.0 masking -------------------- Performance: 2.8 total time 0.2 configuration 0.0 preparing main loop 2.5 main loop 0.1 updating elements 0.0 cleaning up -------------------- =========================== Model: WindBlow (OpenDrift version 1.11.2) 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 Discarded readers: Time: Start: 2016-02-02 12:00:00 UTC Present: 2016-02-04 12:00:00 UTC Calculation steps: 192 * 0:15:00 - total time: 2 days, 0:00:00 Output steps: 49 * 1:00:00 =========================== /opt/conda/envs/opendrift/lib/python3.11/site-packages/cartopy/mpl/geoaxes.py:1683: UserWarning: No data for colormapping provided via 'c'. Parameters 'cmap' will be ignored result = super().scatter(*args, **kwargs) 14:39:44 INFO opendrift.models.basemodel:4563: Saving animation to /root/project/docs/source/gallery/animations/example_windblow_0.gif... 14:40:31 INFO opendrift.models.basemodel:3003: Time to make animation: 0:00:52.373065 .. GENERATED FROM PYTHON SOURCE LINES 37-38 .. image:: /gallery/animations/example_windblow_0.gif .. GENERATED FROM PYTHON SOURCE LINES 38-41 .. code-block:: Python o.plot(buffer=.5, ocean_color='skyblue', land_color='burlywood') .. image-sg:: /gallery/images/sphx_glr_example_windblow_001.png :alt: OpenDrift - WindBlow 2016-02-02 12:00 to 2016-02-04 12:00 UTC (49 steps) :srcset: /gallery/images/sphx_glr_example_windblow_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none (,
) .. rst-class:: sphx-glr-timing **Total running time of the script:** (1 minutes 1.577 seconds) .. _sphx_glr_download_gallery_example_windblow.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: example_windblow.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: example_windblow.py ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_