Skip to content

Commit e1d8318

Browse files
author
ci-build
committed
[skip ci] Updates
1 parent a71207c commit e1d8318

File tree

371 files changed

+470980
-476936
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

371 files changed

+470980
-476936
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

_images/example_2d_0.gif

25.6 KB

_images/example_biodegradation_0.gif

-8.03 KB

_images/example_checkerboard_0.gif

163 Bytes

_images/example_chemicaldrift_0.gif

94.6 KB

_images/example_chemicaldrift_1.gif

302 KB
91.8 KB
-1.33 KB
3.33 KB
100 KB

_images/example_codegg_0.gif

-58.5 KB

_images/example_codegg_1.gif

-27.5 KB

_images/example_cone_0.gif

-23.8 KB

_images/example_depth_0.gif

-21.9 KB

_images/example_dominating_0.gif

1.59 KB

_images/example_ensemble_0.gif

1.65 MB
-193 Bytes
-996 Bytes

_images/example_grid_0.gif

-51 Bytes

_images/example_grid_time_0.gif

-17 Bytes

_images/example_huge_output_0.gif

35.1 KB

_images/example_huge_output_1.gif

-40.6 KB
805 KB
12 KB
10 KB
-7.3 KB

_images/example_oil_ice_0.gif

352 KB

_images/example_oil_thickness_0.gif

17.4 KB

_images/example_oil_thickness_1.gif

-143 KB
-28.1 KB
-53.4 KB
70.1 KB
30.6 KB

_images/example_plast_0.gif

-9 Bytes

_images/example_plot_0.gif

-269 KB

_images/example_relative_0.gif

0 Bytes

_images/example_river_runoff_0.gif

33.4 KB

_images/example_sediments_0.gif

-512 KB
-133 KB
6.91 KB

_images/example_shipdrift_0.gif

26.7 KB
18.6 KB
12.7 KB

_images/example_windblow_0.gif

0 Bytes

_images/sphx_glr_example_2d_001.png

-197 Bytes

_images/sphx_glr_example_2d_thumb.png

992 Bytes
-120 Bytes
-2 Bytes
0 Bytes
3 Bytes
921 Bytes
8.99 KB
-439 Bytes

_images/sphx_glr_example_cone_001.png

-9.39 KB
-1.55 KB
-40.1 KB
-3.6 KB
-26 Bytes
-17 Bytes
-182 Bytes
11 Bytes
0 Bytes
19.6 KB
7.57 KB
22 Bytes
421 Bytes
3 Bytes
-339 Bytes
16.1 KB
-163 Bytes
4.7 KB
0 Bytes
1 Byte
-216 Bytes
-322 Bytes
167 Bytes
12.1 KB
2.24 KB
-130 Bytes
4.22 KB
-141 Bytes
-636 Bytes
0 Bytes

_modules/opendrift/models/basemodel.html

+10
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,13 @@ <h1>Source code for opendrift.models.basemodel</h1><div class="highlight"><pre>
691691
<span class="bp">self</span><span class="o">.</span><span class="n">profiles_depth</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">get_config</span><span class="p">(</span><span class="s1">&#39;drift:profiles_depth&#39;</span><span class="p">)</span></div>
692692

693693

694+
<span class="c1"># To be overloaded by sublasses, but this parent method must be called</span>
695+
<div class="viewcode-block" id="OpenDriftSimulation.post_run">
696+
<a class="viewcode-back" href="../../../autoapi/opendrift/models/basemodel/index.html#opendrift.models.basemodel.OpenDriftSimulation.post_run">[docs]</a>
697+
<span class="k">def</span><span class="w"> </span><span class="nf">post_run</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
698+
<span class="k">pass</span></div>
699+
700+
694701
<div class="viewcode-block" id="OpenDriftSimulation.store_present_positions">
695702
<a class="viewcode-back" href="../../../autoapi/opendrift/models/basemodel/index.html#opendrift.models.basemodel.OpenDriftSimulation.store_present_positions">[docs]</a>
696703
<span class="k">def</span><span class="w"> </span><span class="nf">store_present_positions</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">IDs</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">lons</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">lats</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
@@ -2383,6 +2390,9 @@ <h1>Source code for opendrift.models.basemodel</h1><div class="highlight"><pre>
23832390
<span class="bp">self</span><span class="o">.</span><span class="n">timer_end</span><span class="p">(</span><span class="s1">&#39;total time&#39;</span><span class="p">)</span>
23842391
<span class="bp">self</span><span class="o">.</span><span class="n">state_to_buffer</span><span class="p">(</span><span class="n">final</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span> <span class="c1"># Append final status to buffer</span>
23852392

2393+
<span class="c1">## Add any other data to the result here.</span>
2394+
<span class="bp">self</span><span class="o">.</span><span class="n">post_run</span><span class="p">()</span>
2395+
23862396
<span class="k">if</span> <span class="n">outfile</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span><span class="p">:</span>
23872397
<span class="n">logger</span><span class="o">.</span><span class="n">debug</span><span class="p">(</span><span class="s1">&#39;Finalising and closing output file: </span><span class="si">%s</span><span class="s1">&#39;</span> <span class="o">%</span> <span class="n">outfile</span><span class="p">)</span>
23882398
<span class="bp">self</span><span class="o">.</span><span class="n">io_close</span><span class="p">()</span>

_sources/autoapi/opendrift/models/basemodel/index.rst.txt

+3

_sources/gallery/example_2d.rst.txt

+152-152

_sources/gallery/example_LCS_norkyst.rst.txt

+4,303-4,303

_sources/gallery/example_advection_schemes_eddy.rst.txt

+3-3

_sources/gallery/example_backandforth.rst.txt

+633-633

_sources/gallery/example_biodegradation.rst.txt

+6,831-6,831

0 commit comments

Comments
 (0)