Skip to content

Commit

Permalink
[skip ci] Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ci-build committed Jan 23, 2025
1 parent 7967fff commit 169896c
Show file tree
Hide file tree
Showing 566 changed files with 468,921 additions and 476,023 deletions.
Binary file modified _downloads/029881e221949484b26146d507a804ad/example_depth.zip
Binary file not shown.
Binary file modified _downloads/033af0d93f9b09e836d807ac3b9561f7/example_relative.zip
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 modified _downloads/1e965db755ac760751848acdb71bc467/example_oil_ice.zip
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 modified _downloads/2f279a49c6164050f7f6f735325d2c2c/example_plast.zip
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/36debc3f4a32a890e68397fb8f9a3de4/example_grid.zip
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 modified _downloads/455f4a0d6f55d57bec7b1548941dfe56/example_plot.zip
Binary file not shown.
Binary file modified _downloads/46b4cb42d5bb56cc39e2b5b2b520b38d/gallery_python.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/540eb5641f8ad1d8bbba63da7a6f1b55/example_openberg.zip
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/55c56f11981bc8994b23dd67ccffd4ea/example_larvae.zip
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/57d7c3a68ca90906235269c0c377050a/example_compare.zip
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 modified _downloads/80232020e698aa1c3db016afe427fe84/example_openoil.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/838aeedbd6bf9f4ea6ea3789d94e546a/example_fjord.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/9279195b7d521d2dd58211cf2d1ee7e2/example_codegg.zip
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 modified _downloads/a5e54d5079281985180311aeb584726e/example_map.zip
Binary file not shown.
Binary file modified _downloads/a724e3e7d25baaaa1d358c1bd5c2dd60/example_fvcom.zip
Binary file not shown.
Binary file modified _downloads/a799cfc3e2163a9601d1a00e61d10a39/example_trajan.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/b5b04944cba9e81b9a5872791330760c/example_ensemble.zip
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/bb890d8fc18f9a21787029b6675af744/example_cone.zip
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/c0a3a846dd7c6d6aa449fdf8fd813796/example_macondo.zip
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/c121897cbb882ba2326dd7f0f3f9a5c6/example_drifter.zip
Binary file not shown.
Binary file modified _downloads/c53354a1383dae63edfb5fe0bcbb4be6/example_windblow.zip
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 modified _downloads/ed4c48daa486e7b41db355dc85b3fe89/example_generic.zip
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/f301a4c979f22b9b7478e10e32a3e4dc/example_leeway.zip
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 modified _downloads/f93abdd76951294346e6f02f09086575/example_2d.zip
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/fcaddee3a42ae2e2c41e00ae08d70347/gallery_jupyter.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified _images/example_2d_0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_biodegradation_0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_chemicaldrift_0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_chemicaldrift_1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_coastline_options_0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_coastline_options_1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_coastline_options_2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_coastline_options_3.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_codegg_0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_codegg_1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_cone_0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_depth_0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_dominating_0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_ensemble_0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_entrainment_rate_oil_types_0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_entrainment_rate_oil_types_1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_huge_output_0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_huge_output_1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_leeway_capsizing_0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_manual_aggregate_0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_mixed_layer_depth_0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_mixed_layer_depth_1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_mixed_layer_depth_2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_oil_ice_0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_oil_thickness_0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/example_oil_thickness_1.gif
Binary file modified _images/example_oil_verticalmixing_0.gif
Binary file modified _images/example_oil_verticalmixing_1.gif
Binary file modified _images/example_oilspill_seafloor_biodegradation_0.gif
Binary file modified _images/example_oilspill_seafloor_biodegradation_1.gif
Binary file modified _images/example_plast_0.gif
Binary file modified _images/example_plot_0.gif
Binary file modified _images/example_river_runoff_0.gif
Binary file modified _images/example_sediments_0.gif
Binary file modified _images/example_sediments_resuspension_0.gif
Binary file modified _images/example_seed_from_shapefile_0.gif
Binary file modified _images/example_shipdrift_0.gif
Binary file modified _images/example_shipdrift_leeway_0.gif
Binary file modified _images/example_static_2d_current_0.gif
Binary file modified _images/sphx_glr_example_2d_001.png
Binary file modified _images/sphx_glr_example_2d_thumb.png
Binary file modified _images/sphx_glr_example_advection_schemes_eddy_001.png
Binary file modified _images/sphx_glr_example_advection_schemes_eddy_thumb.png
Binary file modified _images/sphx_glr_example_biodegradation_001.png
Binary file modified _images/sphx_glr_example_biodegradation_thumb.png
Binary file modified _images/sphx_glr_example_chemicaldrift_001.png
Binary file modified _images/sphx_glr_example_chemicaldrift_thumb.png
Binary file modified _images/sphx_glr_example_codegg_001.png
Binary file modified _images/sphx_glr_example_codegg_thumb.png
Binary file modified _images/sphx_glr_example_cone_001.png
Binary file modified _images/sphx_glr_example_cone_thumb.png
Binary file modified _images/sphx_glr_example_depth_001.png
Binary file modified _images/sphx_glr_example_depth_thumb.png
Binary file modified _images/sphx_glr_example_ensemble_001.png
Binary file modified _images/sphx_glr_example_ensemble_thumb.png
Binary file modified _images/sphx_glr_example_entrainment_rate_oil_types_001.png
Binary file modified _images/sphx_glr_example_entrainment_rate_oil_types_002.png
Binary file modified _images/sphx_glr_example_entrainment_rate_oil_types_thumb.png
Binary file modified _images/sphx_glr_example_huge_output_001.png
Binary file modified _images/sphx_glr_example_huge_output_thumb.png
Binary file modified _images/sphx_glr_example_oil_ice_001.png
Binary file modified _images/sphx_glr_example_oil_ice_thumb.png
Binary file modified _images/sphx_glr_example_oil_thickness_001.png
Binary file modified _images/sphx_glr_example_oil_thickness_002.png
Binary file modified _images/sphx_glr_example_oil_thickness_thumb.png
Binary file modified _images/sphx_glr_example_oil_verticalmixing_001.png
Binary file modified _images/sphx_glr_example_oil_verticalmixing_002.png
Binary file modified _images/sphx_glr_example_oil_verticalmixing_003.png
Binary file modified _images/sphx_glr_example_oil_verticalmixing_thumb.png
Binary file modified _images/sphx_glr_example_oilspill_seafloor_biodegradation_002.png
Binary file modified _images/sphx_glr_example_openberg_001.png
Binary file modified _images/sphx_glr_example_openberg_002.png
Binary file modified _images/sphx_glr_example_openberg_thumb.png
Binary file modified _images/sphx_glr_example_river_runoff_001.png
Binary file modified _images/sphx_glr_example_river_runoff_002.png
Binary file modified _images/sphx_glr_example_river_runoff_thumb.png
Binary file modified _images/sphx_glr_example_sediments_001.png
Binary file modified _images/sphx_glr_example_sediments_resuspension_001.png
Binary file modified _images/sphx_glr_example_sediments_resuspension_thumb.png
Binary file modified _images/sphx_glr_example_sediments_thumb.png
Binary file modified _images/sphx_glr_example_seed_from_shapefile_001.png
Binary file modified _images/sphx_glr_example_seed_from_shapefile_thumb.png
Binary file modified _images/sphx_glr_example_shipdrift_001.png
Binary file modified _images/sphx_glr_example_shipdrift_leeway_001.png
Binary file modified _images/sphx_glr_example_shipdrift_leeway_thumb.png
Binary file modified _images/sphx_glr_example_shipdrift_thumb.png
2 changes: 1 addition & 1 deletion _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &mdash; OpenDrift documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b86133f3" />
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=e59714d7" />
<link rel="stylesheet" type="text/css" href="../_static/graphviz.css?v=4ae1632d" />
<link rel="stylesheet" type="text/css" href="../_static/plot_directive.css" />
Expand Down
68 changes: 34 additions & 34 deletions _modules/opendrift.html

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions _modules/opendrift/config.html

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions _modules/opendrift/elements/elements.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>opendrift.elements.elements &mdash; OpenDrift documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=b86133f3" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
<link rel="stylesheet" type="text/css" href="../../../_static/graphviz.css?v=4ae1632d" />
<link rel="stylesheet" type="text/css" href="../../../_static/plot_directive.css" />
Expand Down Expand Up @@ -111,12 +111,12 @@ <h1>Source code for opendrift.elements.elements</h1><div class="highlight"><pre>
<span class="c1">#</span>
<span class="c1"># Copyright 2015, Knut-Frode Dagestad, MET Norway</span>

<span class="kn">from</span> <span class="nn">collections</span> <span class="kn">import</span> <span class="n">OrderedDict</span>
<span class="kn">import</span> <span class="nn">numpy</span> <span class="k">as</span> <span class="nn">np</span>
<span class="kn">from</span><span class="w"> </span><span class="nn">collections</span><span class="w"> </span><span class="kn">import</span> <span class="n">OrderedDict</span>
<span class="kn">import</span><span class="w"> </span><span class="nn">numpy</span><span class="w"> </span><span class="k">as</span><span class="w"> </span><span class="nn">np</span>

<div class="viewcode-block" id="LagrangianArray">
<a class="viewcode-back" href="../../../autoapi/opendrift/elements/index.html#opendrift.elements.elements.LagrangianArray">[docs]</a>
<span class="k">class</span> <span class="nc">LagrangianArray</span><span class="p">:</span>
<span class="k">class</span><span class="w"> </span><span class="nc">LagrangianArray</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;A generic array-like class for Lagrangian particle tracking.</span>

<span class="sd"> A LagrangianArray is a generic class keeping the values of given</span>
Expand Down Expand Up @@ -185,7 +185,7 @@ <h1>Source code for opendrift.elements.elements</h1><div class="highlight"><pre>
<span class="s1">&#39;positive&#39;</span><span class="p">:</span> <span class="s1">&#39;up&#39;</span><span class="p">,</span>
<span class="s1">&#39;default&#39;</span><span class="p">:</span> <span class="mi">0</span><span class="p">})])</span>

<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>
<span class="k">def</span><span class="w"> </span><span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Initialises a LagrangianArray with given properties.</span>

<span class="sd"> Args:</span>
Expand Down Expand Up @@ -251,7 +251,7 @@ <h1>Source code for opendrift.elements.elements</h1><div class="highlight"><pre>
<div class="viewcode-block" id="LagrangianArray.add_variables">
<a class="viewcode-back" href="../../../autoapi/opendrift/elements/index.html#opendrift.elements.elements.LagrangianArray.add_variables">[docs]</a>
<span class="nd">@classmethod</span>
<span class="k">def</span> <span class="nf">add_variables</span><span class="p">(</span><span class="bp">cls</span><span class="p">,</span> <span class="n">new_variables</span><span class="p">):</span>
<span class="k">def</span><span class="w"> </span><span class="nf">add_variables</span><span class="p">(</span><span class="bp">cls</span><span class="p">,</span> <span class="n">new_variables</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Method used by subclasses to add specific properties/variables.&quot;&quot;&quot;</span>
<span class="n">variables</span> <span class="o">=</span> <span class="bp">cls</span><span class="o">.</span><span class="n">variables</span><span class="o">.</span><span class="n">copy</span><span class="p">()</span>
<span class="n">variables</span><span class="o">.</span><span class="n">update</span><span class="p">(</span><span class="n">new_variables</span><span class="p">)</span>
Expand All @@ -260,7 +260,7 @@ <h1>Source code for opendrift.elements.elements</h1><div class="highlight"><pre>

<div class="viewcode-block" id="LagrangianArray.extend">
<a class="viewcode-back" href="../../../autoapi/opendrift/elements/index.html#opendrift.elements.elements.LagrangianArray.extend">[docs]</a>
<span class="k">def</span> <span class="nf">extend</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">other</span><span class="p">):</span>
<span class="k">def</span><span class="w"> </span><span class="nf">extend</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">other</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Add elements from another object.&quot;&quot;&quot;</span>
<span class="n">len_self</span> <span class="o">=</span> <span class="nb">len</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span>
<span class="n">len_other</span> <span class="o">=</span> <span class="nb">len</span><span class="p">(</span><span class="n">other</span><span class="p">)</span>
Expand All @@ -285,7 +285,7 @@ <h1>Source code for opendrift.elements.elements</h1><div class="highlight"><pre>

<div class="viewcode-block" id="LagrangianArray.move_elements">
<a class="viewcode-back" href="../../../autoapi/opendrift/elements/index.html#opendrift.elements.elements.LagrangianArray.move_elements">[docs]</a>
<span class="k">def</span> <span class="nf">move_elements</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">other</span><span class="p">,</span> <span class="n">indices</span><span class="p">):</span>
<span class="k">def</span><span class="w"> </span><span class="nf">move_elements</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">other</span><span class="p">,</span> <span class="n">indices</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Remove elements with given indices, and append to another object.</span>
<span class="sd"> NB: indices is boolean array, not real indices!&quot;&quot;&quot;</span>

Expand Down Expand Up @@ -335,7 +335,7 @@ <h1>Source code for opendrift.elements.elements</h1><div class="highlight"><pre>

<div class="viewcode-block" id="LagrangianArray.__len__">
<a class="viewcode-back" href="../../../autoapi/opendrift/elements/index.html#opendrift.elements.elements.LagrangianArray.__len__">[docs]</a>
<span class="k">def</span> <span class="fm">__len__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="k">def</span><span class="w"> </span><span class="fm">__len__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="n">length</span> <span class="o">=</span> <span class="mi">0</span>
<span class="k">for</span> <span class="n">var</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">variables</span><span class="p">:</span>
<span class="n">length</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">maximum</span><span class="p">(</span><span class="n">length</span><span class="p">,</span> <span class="nb">len</span><span class="p">(</span><span class="n">np</span><span class="o">.</span><span class="n">atleast_1d</span><span class="p">(</span><span class="nb">getattr</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">var</span><span class="p">))))</span>
Expand All @@ -344,7 +344,7 @@ <h1>Source code for opendrift.elements.elements</h1><div class="highlight"><pre>

<div class="viewcode-block" id="LagrangianArray.__repr__">
<a class="viewcode-back" href="../../../autoapi/opendrift/elements/index.html#opendrift.elements.elements.LagrangianArray.__repr__">[docs]</a>
<span class="k">def</span> <span class="fm">__repr__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="k">def</span><span class="w"> </span><span class="fm">__repr__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="n">outStr</span> <span class="o">=</span> <span class="s1">&#39;&#39;</span>
<span class="k">for</span> <span class="n">variable</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">variables</span><span class="o">.</span><span class="n">keys</span><span class="p">():</span>
<span class="n">outStr</span> <span class="o">+=</span> <span class="n">variable</span> <span class="o">+</span> <span class="s1">&#39;: &#39;</span> <span class="o">+</span> <span class="nb">str</span><span class="p">(</span><span class="nb">getattr</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">variable</span><span class="p">))</span> <span class="o">+</span> <span class="s1">&#39;</span><span class="se">\n</span><span class="s1">&#39;</span>
Expand Down
6 changes: 3 additions & 3 deletions _modules/opendrift/elements/passivetracer.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>opendrift.elements.passivetracer &mdash; OpenDrift documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=b86133f3" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
<link rel="stylesheet" type="text/css" href="../../../_static/graphviz.css?v=4ae1632d" />
<link rel="stylesheet" type="text/css" href="../../../_static/plot_directive.css" />
Expand Down Expand Up @@ -111,12 +111,12 @@ <h1>Source code for opendrift.elements.passivetracer</h1><div class="highlight">
<span class="c1"># </span>
<span class="c1"># Copyright 2015, Knut-Frode Dagestad, MET Norway</span>

<span class="kn">from</span> <span class="nn">opendrift.elements</span> <span class="kn">import</span> <span class="n">LagrangianArray</span>
<span class="kn">from</span><span class="w"> </span><span class="nn">opendrift.elements</span><span class="w"> </span><span class="kn">import</span> <span class="n">LagrangianArray</span>


<div class="viewcode-block" id="PassiveTracer">
<a class="viewcode-back" href="../../../autoapi/opendrift/elements/passivetracer/index.html#opendrift.elements.passivetracer.PassiveTracer">[docs]</a>
<span class="k">class</span> <span class="nc">PassiveTracer</span><span class="p">(</span><span class="n">LagrangianArray</span><span class="p">):</span>
<span class="k">class</span><span class="w"> </span><span class="nc">PassiveTracer</span><span class="p">(</span><span class="n">LagrangianArray</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Basic implementation of LagrangianArray with no additional properties.</span>

<span class="sd"> Contains only the properties of the abstract class LagrangianArray,</span>
Expand Down
14 changes: 7 additions & 7 deletions _modules/opendrift/errors.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>opendrift.errors &mdash; OpenDrift documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=b86133f3" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=e59714d7" />
<link rel="stylesheet" type="text/css" href="../../_static/graphviz.css?v=4ae1632d" />
<link rel="stylesheet" type="text/css" href="../../_static/plot_directive.css" />
Expand Down Expand Up @@ -97,32 +97,32 @@
<h1>Source code for opendrift.errors</h1><div class="highlight"><pre>
<div class="viewcode-block" id="WrongMode">
<a class="viewcode-back" href="../../autoapi/opendrift/models/basemodel/index.html#opendrift.errors.WrongMode">[docs]</a>
<span></span><span class="k">class</span> <span class="nc">WrongMode</span><span class="p">(</span><span class="ne">Exception</span><span class="p">):</span>
<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">expected_mode</span><span class="p">,</span> <span class="n">real_mode</span><span class="p">,</span> <span class="n">msg</span> <span class="o">=</span> <span class="kc">None</span><span class="p">):</span>
<span></span><span class="k">class</span><span class="w"> </span><span class="nc">WrongMode</span><span class="p">(</span><span class="ne">Exception</span><span class="p">):</span>
<span class="k">def</span><span class="w"> </span><span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">expected_mode</span><span class="p">,</span> <span class="n">real_mode</span><span class="p">,</span> <span class="n">msg</span> <span class="o">=</span> <span class="kc">None</span><span class="p">):</span>
<span class="nb">super</span><span class="p">()</span><span class="o">.</span><span class="fm">__init__</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;Cannot call this function in this mode: </span><span class="si">{</span><span class="n">real_mode</span><span class="si">}</span><span class="s2">, only in: </span><span class="si">{</span><span class="n">expected_mode</span><span class="si">}</span><span class="s2">: </span><span class="si">{</span><span class="n">msg</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span></div>


<div class="viewcode-block" id="NotCoveredError">
<a class="viewcode-back" href="../../autoapi/opendrift/errors/index.html#opendrift.errors.NotCoveredError">[docs]</a>
<span class="k">class</span> <span class="nc">NotCoveredError</span><span class="p">(</span><span class="ne">Exception</span><span class="p">):</span>
<span class="k">class</span><span class="w"> </span><span class="nc">NotCoveredError</span><span class="p">(</span><span class="ne">Exception</span><span class="p">):</span>
<span class="k">pass</span></div>


<div class="viewcode-block" id="OutsideSpatialCoverageError">
<a class="viewcode-back" href="../../autoapi/opendrift/errors/index.html#opendrift.errors.OutsideSpatialCoverageError">[docs]</a>
<span class="k">class</span> <span class="nc">OutsideSpatialCoverageError</span><span class="p">(</span><span class="n">NotCoveredError</span><span class="p">):</span>
<span class="k">class</span><span class="w"> </span><span class="nc">OutsideSpatialCoverageError</span><span class="p">(</span><span class="n">NotCoveredError</span><span class="p">):</span>
<span class="k">pass</span></div>


<div class="viewcode-block" id="OutsideTemporalCoverageError">
<a class="viewcode-back" href="../../autoapi/opendrift/errors/index.html#opendrift.errors.OutsideTemporalCoverageError">[docs]</a>
<span class="k">class</span> <span class="nc">OutsideTemporalCoverageError</span><span class="p">(</span><span class="n">NotCoveredError</span><span class="p">):</span>
<span class="k">class</span><span class="w"> </span><span class="nc">OutsideTemporalCoverageError</span><span class="p">(</span><span class="n">NotCoveredError</span><span class="p">):</span>
<span class="k">pass</span></div>


<div class="viewcode-block" id="VariableNotCoveredError">
<a class="viewcode-back" href="../../autoapi/opendrift/errors/index.html#opendrift.errors.VariableNotCoveredError">[docs]</a>
<span class="k">class</span> <span class="nc">VariableNotCoveredError</span><span class="p">(</span><span class="n">NotCoveredError</span><span class="p">):</span>
<span class="k">class</span><span class="w"> </span><span class="nc">VariableNotCoveredError</span><span class="p">(</span><span class="n">NotCoveredError</span><span class="p">):</span>
<span class="k">pass</span></div>

</pre></div>
Expand Down
Loading

0 comments on commit 169896c

Please sign in to comment.