Skip to content

Commit

Permalink
Deploying to gh-pages from @ 45e95f4 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
aleaf committed Nov 14, 2024
1 parent 8a2e661 commit 41a93bb
Show file tree
Hide file tree
Showing 61 changed files with 1,215 additions and 946 deletions.
2 changes: 1 addition & 1 deletion latest/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
config: f109e659416db4b7a31f6f42fb5f29d5
config: 2cbf27b512f4ae1e9539be81b53b45b4
tags: 645f666f9bcd5a90fca523b33c5a78b7
8 changes: 4 additions & 4 deletions latest/10min.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>10 Minutes to Modflow-setup &mdash; modflow-setup 0.5.0.post50+g346edf0 documentation</title>
<title>10 Minutes to Modflow-setup &mdash; modflow-setup 0.5.0.post58+g45e95f4 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=7ab3649f" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
<link rel="stylesheet" type="text/css" href="_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />


<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=374c9353"></script>
<script src="_static/documentation_options.js?v=14b17a75"></script>
<script src="_static/doctools.js?v=9bcbadda"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -441,7 +441,7 @@ <h2>5) Make a minimum working configuration file and model build script<a class=

<div role="contentinfo">
<p>&#169; Copyright 2019-2024, Modflow-setup developers |.
<span class="lastupdated">Last updated on Oct 23, 2024.
<span class="lastupdated">Last updated on Nov 14, 2024.
</span></p>
</div>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
"""Update model starting heads from previous (initial steady-state) solution
"""
from pathlib import Path

import numpy as np
from flopy.utils import binaryfile as bf

model_ws = Path('.')
headfile = model_ws / 'model.hds'
starting_heads_file_fmt = str(model_ws / 'external/strt_{:03d}.dat')


hdsobj = bf.HeadFile(headfile)
print(f'reading {headfile}...')

initial_ss_heads = hdsobj.get_data(kstpkper=(0, 0))
for per, layer_heads in enumerate(initial_ss_heads):
outfile = starting_heads_file_fmt.format(per)
np.savetxt(starting_heads_file_fmt.format(per), layer_heads, fmt='%.2f')
print(f"updated {outfile}")
Binary file modified latest/_images/notebooks_Pleasant_lake_lgr_example_36_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions latest/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &mdash; modflow-setup 0.5.0.post50+g346edf0 documentation</title>
<title>Overview: module code &mdash; modflow-setup 0.5.0.post58+g45e95f4 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=7ab3649f" />
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=e59714d7" />
<link rel="stylesheet" type="text/css" href="../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />


<script src="../_static/jquery.js?v=5d32c60e"></script>
<script src="../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../_static/documentation_options.js?v=374c9353"></script>
<script src="../_static/documentation_options.js?v=14b17a75"></script>
<script src="../_static/doctools.js?v=9bcbadda"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -117,7 +117,7 @@ <h1>All modules for which code is available</h1>

<div role="contentinfo">
<p>&#169; Copyright 2019-2024, Modflow-setup developers |.
<span class="lastupdated">Last updated on Oct 23, 2024.
<span class="lastupdated">Last updated on Nov 14, 2024.
</span></p>
</div>

Expand Down
18 changes: 14 additions & 4 deletions latest/_modules/mfsetup/discretization.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mfsetup.discretization &mdash; modflow-setup 0.5.0.post50+g346edf0 documentation</title>
<title>mfsetup.discretization &mdash; modflow-setup 0.5.0.post58+g45e95f4 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=7ab3649f" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=e59714d7" />
<link rel="stylesheet" type="text/css" href="../../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />


<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=374c9353"></script>
<script src="../../_static/documentation_options.js?v=14b17a75"></script>
<script src="../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -567,6 +567,16 @@ <h1>Source code for mfsetup.discretization</h1><div class="highlight"><pre>
<span class="n">y1</span> <span class="o">=</span> <span class="n">inset_modelgrid</span><span class="o">.</span><span class="n">ycellcenters</span><span class="p">[</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span> <span class="o">-</span><span class="mi">1</span><span class="p">]</span>
<span class="n">pi1</span><span class="p">,</span> <span class="n">pj1</span> <span class="o">=</span> <span class="n">parent_modelgrid</span><span class="o">.</span><span class="n">intersect</span><span class="p">(</span><span class="n">x1</span><span class="p">,</span> <span class="n">y1</span><span class="p">,</span> <span class="n">forgive</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>
<span class="n">idomain</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">ones</span><span class="p">(</span><span class="n">parent_modelgrid</span><span class="o">.</span><span class="n">shape</span><span class="p">,</span> <span class="n">dtype</span><span class="o">=</span><span class="nb">int</span><span class="p">)</span>
<span class="k">if</span> <span class="nb">any</span><span class="p">(</span><span class="n">np</span><span class="o">.</span><span class="n">isnan</span><span class="p">([</span><span class="n">pi0</span><span class="p">,</span> <span class="n">pj0</span><span class="p">])):</span>
<span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;LGR model upper left corner </span><span class="si">{</span><span class="n">pi0</span><span class="si">}</span><span class="s2">, </span><span class="si">{</span><span class="n">pj0</span><span class="si">}</span><span class="s2"> &quot;</span>
<span class="s2">&quot;is outside of the parent model domain! &quot;</span>
<span class="s2">&quot;Check the grid offset and dimensions.&quot;</span>
<span class="p">)</span>
<span class="k">if</span> <span class="nb">any</span><span class="p">(</span><span class="n">np</span><span class="o">.</span><span class="n">isnan</span><span class="p">([</span><span class="n">pi1</span><span class="p">,</span> <span class="n">pj1</span><span class="p">])):</span>
<span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;LGR model lower right corner </span><span class="si">{</span><span class="n">pi0</span><span class="si">}</span><span class="s2">, </span><span class="si">{</span><span class="n">pj0</span><span class="si">}</span><span class="s2"> &quot;</span>
<span class="s2">&quot;is outside of the parent model domain! &quot;</span>
<span class="s2">&quot;Check the grid offset and dimensions.&quot;</span>
<span class="p">)</span>
<span class="n">idomain</span><span class="p">[</span><span class="mi">0</span><span class="p">:(</span><span class="n">np</span><span class="o">.</span><span class="n">array</span><span class="p">(</span><span class="n">ncppl</span><span class="p">)</span> <span class="o">&gt;</span> <span class="mi">0</span><span class="p">)</span><span class="o">.</span><span class="n">sum</span><span class="p">(),</span>
<span class="n">pi0</span><span class="p">:</span><span class="n">pi1</span><span class="o">+</span><span class="mi">1</span><span class="p">,</span> <span class="n">pj0</span><span class="p">:</span><span class="n">pj1</span><span class="o">+</span><span class="mi">1</span><span class="p">]</span> <span class="o">=</span> <span class="mi">0</span>
<span class="k">return</span> <span class="n">idomain</span></div>
Expand Down Expand Up @@ -922,7 +932,7 @@ <h1>Source code for mfsetup.discretization</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2019-2024, Modflow-setup developers |.
<span class="lastupdated">Last updated on Oct 23, 2024.
<span class="lastupdated">Last updated on Nov 14, 2024.
</span></p>
</div>

Expand Down
8 changes: 4 additions & 4 deletions latest/_modules/mfsetup/fileio.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mfsetup.fileio &mdash; modflow-setup 0.5.0.post50+g346edf0 documentation</title>
<title>mfsetup.fileio &mdash; modflow-setup 0.5.0.post58+g45e95f4 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=7ab3649f" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=e59714d7" />
<link rel="stylesheet" type="text/css" href="../../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />


<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=374c9353"></script>
<script src="../../_static/documentation_options.js?v=14b17a75"></script>
<script src="../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -1425,7 +1425,7 @@ <h1>Source code for mfsetup.fileio</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2019-2024, Modflow-setup developers |.
<span class="lastupdated">Last updated on Oct 23, 2024.
<span class="lastupdated">Last updated on Nov 14, 2024.
</span></p>
</div>

Expand Down
8 changes: 4 additions & 4 deletions latest/_modules/mfsetup/grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mfsetup.grid &mdash; modflow-setup 0.5.0.post50+g346edf0 documentation</title>
<title>mfsetup.grid &mdash; modflow-setup 0.5.0.post58+g45e95f4 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=7ab3649f" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=e59714d7" />
<link rel="stylesheet" type="text/css" href="../../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />


<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=374c9353"></script>
<script src="../../_static/documentation_options.js?v=14b17a75"></script>
<script src="../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -1521,7 +1521,7 @@ <h1>Source code for mfsetup.grid</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2019-2024, Modflow-setup developers |.
<span class="lastupdated">Last updated on Oct 23, 2024.
<span class="lastupdated">Last updated on Nov 14, 2024.
</span></p>
</div>

Expand Down
8 changes: 4 additions & 4 deletions latest/_modules/mfsetup/interpolate.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mfsetup.interpolate &mdash; modflow-setup 0.5.0.post50+g346edf0 documentation</title>
<title>mfsetup.interpolate &mdash; modflow-setup 0.5.0.post58+g45e95f4 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=7ab3649f" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=e59714d7" />
<link rel="stylesheet" type="text/css" href="../../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />


<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=374c9353"></script>
<script src="../../_static/documentation_options.js?v=14b17a75"></script>
<script src="../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -536,7 +536,7 @@ <h1>Source code for mfsetup.interpolate</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2019-2024, Modflow-setup developers |.
<span class="lastupdated">Last updated on Oct 23, 2024.
<span class="lastupdated">Last updated on Nov 14, 2024.
</span></p>
</div>

Expand Down
8 changes: 4 additions & 4 deletions latest/_modules/mfsetup/mf6model.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mfsetup.mf6model &mdash; modflow-setup 0.5.0.post50+g346edf0 documentation</title>
<title>mfsetup.mf6model &mdash; modflow-setup 0.5.0.post58+g45e95f4 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=7ab3649f" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=e59714d7" />
<link rel="stylesheet" type="text/css" href="../../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />


<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=374c9353"></script>
<script src="../../_static/documentation_options.js?v=14b17a75"></script>
<script src="../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -1323,7 +1323,7 @@ <h1>Source code for mfsetup.mf6model</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2019-2024, Modflow-setup developers |.
<span class="lastupdated">Last updated on Oct 23, 2024.
<span class="lastupdated">Last updated on Nov 14, 2024.
</span></p>
</div>

Expand Down
Loading

0 comments on commit 41a93bb

Please sign in to comment.