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 Apr 26, 2024
1 parent de04000 commit 1a10c6b
Show file tree
Hide file tree
Showing 300 changed files with 365,168 additions and 363,775 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: bf40b9a54b64bc285de991c3b17f37f3
config: c85dde0485e4452806d426063e32886d
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified _downloads/46b4cb42d5bb56cc39e2b5b2b520b38d/gallery_python.zip
Binary file not shown.
Binary file modified _downloads/fcaddee3a42ae2e2c41e00ae08d70347/gallery_jupyter.zip
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_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_convolve_input_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_drifter_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_grid_time_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_horizontal_diffusion_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_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_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_model_landmask_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_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_radionuclides_0.gif
Binary file modified _images/example_radionuclides_1.gif
Binary file modified _images/example_relative_0.gif
Binary file modified _images/example_river_runoff_0.gif
Binary file modified _images/example_rungekutta_norkyst_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_backandforth_001.png
Binary file modified _images/sphx_glr_example_backandforth_002.png
Binary file modified _images/sphx_glr_example_backandforth_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_coastline_options_001.png
Binary file modified _images/sphx_glr_example_coastline_options_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_convolve_input_001.png
Binary file modified _images/sphx_glr_example_convolve_input_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_drifter_001.png
Binary file modified _images/sphx_glr_example_drifter_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_model_landmask_001.png
Binary file modified _images/sphx_glr_example_model_landmask_002.png
Binary file modified _images/sphx_glr_example_model_landmask_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_001.png
Binary file modified _images/sphx_glr_example_oilspill_seafloor_biodegradation_002.png
Binary file modified _images/sphx_glr_example_oilspill_seafloor_biodegradation_thumb.png
Binary file modified _images/sphx_glr_example_openberg_new_001.png
Binary file modified _images/sphx_glr_example_openberg_new_thumb.png
Binary file modified _images/sphx_glr_example_radionuclides_001.png
Binary file modified _images/sphx_glr_example_radionuclides_002.png
Binary file modified _images/sphx_glr_example_radionuclides_thumb.png
Binary file modified _images/sphx_glr_example_relative_001.png
Binary file modified _images/sphx_glr_example_relative_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
5 changes: 0 additions & 5 deletions _modules/opendrift/models/basemodel/environment.html
Original file line number Diff line number Diff line change
Expand Up @@ -449,11 +449,6 @@ <h1>Source code for opendrift.models.basemodel.environment</h1><div class="highl
<span class="n">reader</span><span class="o">.</span><span class="n">name</span> <span class="o">=</span> <span class="n">tmp_name</span>
<span class="k">break</span>

<span class="c1"># Horizontal buffer of reader must be large enough to cover</span>
<span class="c1"># the distance possibly covered by elements within a time step</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">reader</span><span class="o">.</span><span class="n">is_lazy</span><span class="p">:</span>
<span class="n">reader</span><span class="o">.</span><span class="n">set_buffer_size</span><span class="p">(</span><span class="n">max_speed</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:max_speed&#39;</span><span class="p">))</span>

<span class="bp">self</span><span class="o">.</span><span class="n">readers</span><span class="p">[</span><span class="n">reader</span><span class="o">.</span><span class="n">name</span><span class="p">]</span> <span class="o">=</span> <span class="n">reader</span>
<span class="n">logger</span><span class="o">.</span><span class="n">debug</span><span class="p">(</span><span class="s1">&#39;Added reader &#39;</span> <span class="o">+</span> <span class="n">reader</span><span class="o">.</span><span class="n">name</span><span class="p">)</span>

Expand Down
2 changes: 1 addition & 1 deletion _modules/opendrift/models/oceandrift.html
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ <h1>Source code for opendrift.models.oceandrift</h1><div class="highlight"><pre>
<span class="s1">&#39;level&#39;</span><span class="p">:</span> <span class="n">CONFIG_LEVEL_ESSENTIAL</span><span class="p">},</span>
<span class="p">})</span>

<span class="bp">self</span><span class="o">.</span><span class="n">_set_config_default</span><span class="p">(</span><span class="s1">&#39;drift:max_speed&#39;</span><span class="p">,</span> <span class="mi">1</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_set_config_default</span><span class="p">(</span><span class="s1">&#39;drift:max_speed&#39;</span><span class="p">,</span> <span class="mi">2</span><span class="p">)</span>

<div class="viewcode-block" id="OceanDrift.update">
<a class="viewcode-back" href="../../../autoapi/opendrift/models/openoil/index.html#opendrift.models.oceandrift.OceanDrift.update">[docs]</a>
Expand Down
8 changes: 0 additions & 8 deletions _modules/opendrift/readers/basereader.html
Original file line number Diff line number Diff line change
Expand Up @@ -288,14 +288,6 @@ <h1>Source code for opendrift.readers.basereader</h1><div class="highlight"><pre
<span class="k">return</span> <span class="kc">False</span></div>


<div class="viewcode-block" id="BaseReader.prepare">
<a class="viewcode-back" href="../../../autoapi/opendrift/readers/basereader/index.html#opendrift.readers.basereader.BaseReader.prepare">[docs]</a>
<span class="k">def</span> <span class="nf">prepare</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">extent</span><span class="p">,</span> <span class="n">start_time</span><span class="p">,</span> <span class="n">end_time</span><span class="p">,</span> <span class="n">max_speed</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Prepare reader for given simulation coverage in time and space.&quot;&quot;&quot;</span>
<span class="n">logger</span><span class="o">.</span><span class="n">debug</span><span class="p">(</span><span class="s1">&#39;Nothing more to prepare for &#39;</span> <span class="o">+</span> <span class="bp">self</span><span class="o">.</span><span class="n">name</span><span class="p">)</span>
<span class="k">pass</span> <span class="c1"># to be overriden by specific readers</span></div>


<div class="viewcode-block" id="BaseReader.index_of_closest_z">
<a class="viewcode-back" href="../../../autoapi/opendrift/readers/basereader/index.html#opendrift.readers.basereader.BaseReader.index_of_closest_z">[docs]</a>
<span class="k">def</span> <span class="nf">index_of_closest_z</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">requested_z</span><span class="p">):</span>
Expand Down
3 changes: 3 additions & 0 deletions _modules/opendrift/readers/basereader/structured.html
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,9 @@ <h1>Source code for opendrift.readers.basereader.structured</h1><div class="high
<span class="c1"># Set buffer large enough for whole simulation</span>
<span class="n">logger</span><span class="o">.</span><span class="n">debug</span><span class="p">(</span><span class="s1">&#39;Time step is None for </span><span class="si">%s</span><span class="s1">, setting buffer size large nough for whole simulation&#39;</span> <span class="o">%</span> <span class="bp">self</span><span class="o">.</span><span class="n">name</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">set_buffer_size</span><span class="p">(</span><span class="n">max_speed</span><span class="p">,</span> <span class="n">end_time</span><span class="o">-</span><span class="n">start_time</span><span class="p">)</span>
<span class="k">else</span><span class="p">:</span>
<span class="bp">self</span><span class="o">.</span><span class="n">set_buffer_size</span><span class="p">(</span><span class="n">max_speed</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">time_step</span><span class="p">)</span>

<span class="nb">super</span><span class="p">()</span><span class="o">.</span><span class="n">prepare</span><span class="p">(</span><span class="n">extent</span><span class="p">,</span> <span class="n">start_time</span><span class="p">,</span> <span class="n">end_time</span><span class="p">,</span> <span class="n">max_speed</span><span class="p">)</span></div>


Expand Down
9 changes: 9 additions & 0 deletions _modules/opendrift/readers/basereader/variables.html
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,15 @@ <h1>Source code for opendrift.readers.basereader.variables</h1><div class="highl

<span class="nb">super</span><span class="p">()</span><span class="o">.</span><span class="fm">__init__</span><span class="p">()</span>

<div class="viewcode-block" id="Variables.prepare">
<a class="viewcode-back" href="../../../../autoapi/opendrift/readers/basereader/variables/index.html#opendrift.readers.basereader.Variables.prepare">[docs]</a>
<span class="k">def</span> <span class="nf">prepare</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">extent</span><span class="p">,</span> <span class="n">start_time</span><span class="p">,</span> <span class="n">end_time</span><span class="p">,</span> <span class="n">max_speed</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Prepare reader for given simulation coverage in time and space.&quot;&quot;&quot;</span>
<span class="n">logger</span><span class="o">.</span><span class="n">debug</span><span class="p">(</span><span class="s1">&#39;Nothing more to prepare for &#39;</span> <span class="o">+</span> <span class="bp">self</span><span class="o">.</span><span class="n">name</span><span class="p">)</span>
<span class="k">pass</span> <span class="c1"># to be overriden by specific readers</span></div>



<div class="viewcode-block" id="Variables.activate_environment_mapping">
<a class="viewcode-back" href="../../../../autoapi/opendrift/readers/basereader/variables/index.html#opendrift.readers.basereader.Variables.activate_environment_mapping">[docs]</a>
<span class="k">def</span> <span class="nf">activate_environment_mapping</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">mapping_name</span><span class="p">):</span>
Expand Down
10 changes: 5 additions & 5 deletions _sources/autoapi/opendrift/readers/basereader/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,11 @@ Attributes



.. py:method:: prepare(extent, start_time, end_time, max_speed)
Prepare reader for given simulation coverage in time and space.


.. py:method:: activate_environment_mapping(mapping_name)
Expand Down Expand Up @@ -698,11 +703,6 @@ Attributes
.. py:method:: y_is_north()
.. py:method:: prepare(extent, start_time, end_time, max_speed)
Prepare reader for given simulation coverage in time and space.


.. py:method:: index_of_closest_z(requested_z)
Return (internal) index of z closest to requested z.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,11 @@ Attributes



.. py:method:: prepare(extent, start_time, end_time, max_speed)
Prepare reader for given simulation coverage in time and space.


.. py:method:: activate_environment_mapping(mapping_name)
Expand Down
Loading

0 comments on commit 1a10c6b

Please sign in to comment.