Skip to content

Commit

Permalink
Update Github Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
fmu-tools-github-action committed Jan 9, 2025
1 parent 46aacf4 commit 7d231b8
Show file tree
Hide file tree
Showing 60 changed files with 1,550 additions and 1,103 deletions.
67 changes: 48 additions & 19 deletions _modules/fmu/tools/domainconversion/dconvert.html

Large diffs are not rendered by default.

109 changes: 83 additions & 26 deletions _modules/fmu/tools/ensembles/ensemble_well_props.html

Large diffs are not rendered by default.

25 changes: 17 additions & 8 deletions _modules/fmu/tools/extract_grid_zone_tops_etc.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@


<!DOCTYPE html>
<html class="writer-html5" lang="en">
<html class="writer-html5" lang="en" data-content_root="../../../">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>fmu.tools.extract_grid_zone_tops_etc &mdash; fmu-tools 1.18.1.dev2+g39c3f3f documentation</title>
<title>fmu.tools.extract_grid_zone_tops_etc &mdash; fmu-tools 1.18.1.dev5+g148a46c documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />


<script src="../../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js?v=00fb3d2d"></script>
<script src="../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../_static/sphinx_highlight.js?v=4825356b"></script>
<script src="../../../_static/documentation_options.js?v=81b9b667"></script>
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../../../genindex.html" />
<link rel="search" title="Search" href="../../../search.html" />
Expand Down Expand Up @@ -95,7 +95,9 @@ <h1>Source code for fmu.tools.extract_grid_zone_tops_etc</h1><div class="highlig
<span class="kn">import</span><span class="w"> </span><span class="nn">xtgeo</span>


<div class="viewcode-block" id="extract_grid_zone_tops"><a class="viewcode-back" href="../../../fmu.tools.html#fmu.tools.extract_grid_zone_tops_etc.extract_grid_zone_tops">[docs]</a><span class="k">def</span><span class="w"> </span><span class="nf">extract_grid_zone_tops</span><span class="p">(</span>
<div class="viewcode-block" id="extract_grid_zone_tops">
<a class="viewcode-back" href="../../../fmu.tools.html#fmu.tools.extract_grid_zone_tops_etc.extract_grid_zone_tops">[docs]</a>
<span class="k">def</span><span class="w"> </span><span class="nf">extract_grid_zone_tops</span><span class="p">(</span>
<span class="n">project</span><span class="p">:</span> <span class="n">Optional</span><span class="p">[</span><span class="n">Any</span><span class="p">]</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">well_list</span><span class="p">:</span> <span class="n">Optional</span><span class="p">[</span><span class="nb">list</span><span class="p">]</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">logrun</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;log&quot;</span><span class="p">,</span>
Expand Down Expand Up @@ -202,7 +204,10 @@ <h1>Source code for fmu.tools.extract_grid_zone_tops_etc</h1><div class="highlig
<span class="k">return</span> <span class="n">df</span></div>


<div class="viewcode-block" id="shift_zone_values"><a class="viewcode-back" href="../../../fmu.tools.html#fmu.tools.extract_grid_zone_tops_etc.shift_zone_values">[docs]</a><span class="k">def</span><span class="w"> </span><span class="nf">shift_zone_values</span><span class="p">(</span><span class="n">zvals</span><span class="p">:</span> <span class="n">np</span><span class="o">.</span><span class="n">ndarray</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">np</span><span class="o">.</span><span class="n">ndarray</span><span class="p">:</span>

<div class="viewcode-block" id="shift_zone_values">
<a class="viewcode-back" href="../../../fmu.tools.html#fmu.tools.extract_grid_zone_tops_etc.shift_zone_values">[docs]</a>
<span class="k">def</span><span class="w"> </span><span class="nf">shift_zone_values</span><span class="p">(</span><span class="n">zvals</span><span class="p">:</span> <span class="n">np</span><span class="o">.</span><span class="n">ndarray</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">np</span><span class="o">.</span><span class="n">ndarray</span><span class="p">:</span>
<span class="k">for</span> <span class="n">idx</span><span class="p">,</span> <span class="n">_zval</span> <span class="ow">in</span> <span class="nb">enumerate</span><span class="p">(</span><span class="n">zvals</span><span class="p">):</span>
<span class="k">if</span> <span class="n">idx</span> <span class="o">==</span> <span class="nb">len</span><span class="p">(</span><span class="n">zvals</span><span class="p">)</span> <span class="o">-</span> <span class="mi">1</span><span class="p">:</span>
<span class="k">continue</span>
Expand All @@ -211,7 +216,10 @@ <h1>Source code for fmu.tools.extract_grid_zone_tops_etc</h1><div class="highlig
<span class="k">return</span> <span class="n">zvals</span></div>


<div class="viewcode-block" id="make_alias_dict"><a class="viewcode-back" href="../../../fmu.tools.html#fmu.tools.extract_grid_zone_tops_etc.make_alias_dict">[docs]</a><span class="k">def</span><span class="w"> </span><span class="nf">make_alias_dict</span><span class="p">(</span>

<div class="viewcode-block" id="make_alias_dict">
<a class="viewcode-back" href="../../../fmu.tools.html#fmu.tools.extract_grid_zone_tops_etc.make_alias_dict">[docs]</a>
<span class="k">def</span><span class="w"> </span><span class="nf">make_alias_dict</span><span class="p">(</span>
<span class="n">alias_file</span><span class="p">:</span> <span class="n">Union</span><span class="p">[</span><span class="nb">str</span><span class="p">,</span> <span class="n">pathlib</span><span class="o">.</span><span class="n">Path</span><span class="p">],</span>
<span class="n">rms_name</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;RMS_WELL_NAME&quot;</span><span class="p">,</span>
<span class="n">ecl_name</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;ECLIPSE_WELL_NAME&quot;</span><span class="p">,</span>
Expand All @@ -223,6 +231,7 @@ <h1>Source code for fmu.tools.extract_grid_zone_tops_etc</h1><div class="highlig
<span class="n">df</span> <span class="o">=</span> <span class="n">pd</span><span class="o">.</span><span class="n">read_csv</span><span class="p">(</span><span class="n">alias_file</span><span class="p">,</span> <span class="n">index_col</span><span class="o">=</span><span class="n">rms_name</span><span class="p">)</span>
<span class="n">well_dict</span> <span class="o">=</span> <span class="n">df</span><span class="o">.</span><span class="n">to_dict</span><span class="p">()</span>
<span class="k">return</span> <span class="n">well_dict</span><span class="p">[</span><span class="n">ecl_name</span><span class="p">]</span></div>

</pre></div>

</div>
Expand Down
Loading

0 comments on commit 7d231b8

Please sign in to comment.