Skip to content

Commit

Permalink
Deploying to gh-pages from @ 3a6ec42 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
aleaf committed Aug 22, 2023
1 parent d0c9052 commit 82e8dcd
Show file tree
Hide file tree
Showing 62 changed files with 1,189 additions and 333 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 hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: bd17dd9a197d576165f27d527046f5ca
config: 7120a413fddcd01edc1a4040adba86c4
tags: 645f666f9bcd5a90fca523b33c5a78b7
467 changes: 467 additions & 0 deletions latest/10min.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
simulation:
sim_name: 'shellmound'
version: 'mf6'
sim_ws: 'model'

model:
simulation: 'shellmound'
modelname: 'shellmound'
options:
print_input: True
save_flows: True
newton: True
packages:
- dis
- ic
- np
- oc
- sto
- rch
- sfr
- wel

setup_grid:
source_data:
features_shapefile:
filename: '../mfsetup/tests/data/shellmound/tmr_parent/gis/irregular_boundary.shp'
buffer: 0
dxy: 1000 # Uniform x, y spacing in meters
rotation: 0.
crs: 5070 # EPSG code for NAD83 CONUS Albers (meters)
snap_to_NHG: True # option to snap to the USGS National Hydrogeologic Grid

dis:
remake_top: True
options:
length_units: 'meters'
dimensions:
nlay: 1
source_data:
top:
filename: '../mfsetup/tests/data/shellmound/rasters/meras_100m_dem.tif'
elevation_units: 'feet'
botm:
filenames:
0: '../mfsetup/tests/data/shellmound/rasters/mdwy_surf.tif'
elevation_units: 'feet'
idomain:
# polygon shapefile of model active area
filename: '../mfsetup/tests/data/shellmound/tmr_parent/gis/irregular_boundary.shp'

tdis:
options:
time_units: 'days'
start_date_time: '2020-01-01'
perioddata:
group 1:
perlen: 1
nper: 1
nstp: 1
steady: True

npf:
options:
save_flows: True
rewet: True
griddata:
icelltype: 1
k: 30.
k33: 0.3

sto:
options:
save_flows: True
griddata:
iconvert: 1 # convertible layers
sy: 0.2
ss: 1.e-6

rch:
options:
print_input: True
print_flows: False
save_flows: True
readasarrays: True
recharge: 0.00025 # 0.00025 m/d ~ 3.5 inches/year

sfr:
options:
save_flows: True
source_data:
flowlines:
filename: '../mfsetup/tests/data/shellmound/shps/flowlines.shp'
id_column: 'COMID' # arguments to sfrmaker.lines.from_shapefile
routing_column: 'tocomid'
width1_column: 'width1'
width2_column: 'width2'
up_elevation_column: 'elevupsmo'
dn_elevation_column: 'elevdnsmo'
name_column: 'GNIS_NAME'
width_units: 'feet' # units of flowline widths
elevation_units: 'feet' # units of flowline elevations
sfrmaker_options:
one_reach_per_cell: True # consolidate SFR reaches to one per i, j location
to_riv: # convert this line and all downstream lines to the RIV package
- 18047206

oc:
period_options:
0: ['save head last','save budget last']

ims:
options:
print_option: 'all'
complexity: 'complex'
csv_output_filerecord: 'solver_out.csv'
nonlinear:
outer_dvclose: 1. # m3/d in SFR package
outer_maximum: 50
linear:
inner_maximum: 100
inner_dvclose: 0.01
rcloserecord: [0.001, 'relative_rclose']
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
simulation:
sim_name: 'shellmound'
version: 'mf6'
sim_ws: 'model'

model:
simulation: 'shellmound'
modelname: 'shellmound'
options:
print_input: True
save_flows: True
newton: True
packages: [
]

setup_grid:
source_data:
features_shapefile:
filename: '../mfsetup/tests/data/shellmound/tmr_parent/gis/irregular_boundary.shp'
buffer: 0
dxy: 1000 # Uniform x, y spacing in meters
rotation: 0.
crs: 5070 # EPSG code for NAD83 CONUS Albers (meters)
snap_to_NHG: True # option to snap to the USGS National Hydrogeologic Grid
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from mfsetup import MF6model


def setup_grid(cfg_file):
"""Just set up (a shapefile of) the model grid.
For trying different grid configurations."""
m = MF6model(cfg=cfg_file)
m.setup_grid()
m.modelgrid.write_shapefile('postproc/shps/grid.shp')

if __name__ == '__main__':

setup_grid('initial_config_poly.yaml')
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
simulation:
sim_name: 'shellmound'
version: 'mf6'
sim_ws: 'model'

model:
simulation: 'shellmound'
modelname: 'shellmound'
options:
print_input: True
save_flows: True
newton: True
packages: [
]

setup_grid:
xoff: 501405 # lower left x-coordinate
yoff: 1175835 # lower left y-coordinate
nrow: 30
ncol: 35
dxy: 1000
rotation: 0.
epsg: 5070
snap_to_NHG: True
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import os

from mfsetup import MF6model


def setup_grid(cfg_file):
"""Just set up (a shapefile of) the model grid.
For trying different grid configurations."""
cwd = os.getcwd()
m = MF6model(cfg=cfg_file)
m.setup_grid()
m.modelgrid.write_shapefile('postproc/shps/grid.shp')
# Modflow-setup changes the working directory
# to the model workspace; change it back
os.chdir(cwd)


def setup_model(cfg_file):
"""Set up the whole model."""
cwd = os.getcwd()
m = MF6model.setup_from_yaml(cfg_file)
m.write_input()
os.chdir(cwd)
return m


if __name__ == '__main__':

#setup_grid('initial_config_poly.yaml')
setup_model('initial_config_full.yaml')
7 changes: 4 additions & 3 deletions latest/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &mdash; modflow-setup 0.3.0.post10+g51c4e5f documentation</title>
<title>Overview: module code &mdash; modflow-setup 0.3.0.post11+g3a6ec42 documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/plot_directive.css" type="text/css" />
Expand Down Expand Up @@ -38,7 +38,7 @@
modflow-setup
</a>
<div class="version">
0.3.0.post10+g51c4e5f
0.3.0.post11+g3a6ec42
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
Expand All @@ -52,6 +52,7 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="../philosophy.html"> Philosophy</a></li>
<li class="toctree-l1"><a class="reference internal" href="../installation.html"> Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../10min.html"> 10 Minutes to Modflow-setup</a></li>
<li class="toctree-l1"><a class="reference internal" href="../examples.html"> Examples</a></li>
<li class="toctree-l1"><a class="reference internal" href="../config-file-gallery.html"> Configuration File Gallery</a></li>
</ul>
Expand Down Expand Up @@ -118,7 +119,7 @@ <h1>All modules for which code is available</h1>

<div role="contentinfo">
<p>&#169; Copyright 2019-2023, Modflow-setup developers |.
<span class="lastupdated">Last updated on Aug 17, 2023.
<span class="lastupdated">Last updated on Aug 22, 2023.
</span></p>
</div>

Expand Down
7 changes: 4 additions & 3 deletions latest/_modules/mfsetup/discretization.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mfsetup.discretization &mdash; modflow-setup 0.3.0.post10+g51c4e5f documentation</title>
<title>mfsetup.discretization &mdash; modflow-setup 0.3.0.post11+g3a6ec42 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../../_static/plot_directive.css" type="text/css" />
Expand Down Expand Up @@ -38,7 +38,7 @@
modflow-setup
</a>
<div class="version">
0.3.0.post10+g51c4e5f
0.3.0.post11+g3a6ec42
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand All @@ -52,6 +52,7 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../philosophy.html"> Philosophy</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../installation.html"> Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../10min.html"> 10 Minutes to Modflow-setup</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../examples.html"> Examples</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../config-file-gallery.html"> Configuration File Gallery</a></li>
</ul>
Expand Down Expand Up @@ -846,7 +847,7 @@ <h1>Source code for mfsetup.discretization</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2019-2023, Modflow-setup developers |.
<span class="lastupdated">Last updated on Aug 17, 2023.
<span class="lastupdated">Last updated on Aug 22, 2023.
</span></p>
</div>

Expand Down
7 changes: 4 additions & 3 deletions latest/_modules/mfsetup/fileio.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mfsetup.fileio &mdash; modflow-setup 0.3.0.post10+g51c4e5f documentation</title>
<title>mfsetup.fileio &mdash; modflow-setup 0.3.0.post11+g3a6ec42 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../../_static/plot_directive.css" type="text/css" />
Expand Down Expand Up @@ -38,7 +38,7 @@
modflow-setup
</a>
<div class="version">
0.3.0.post10+g51c4e5f
0.3.0.post11+g3a6ec42
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand All @@ -52,6 +52,7 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../philosophy.html"> Philosophy</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../installation.html"> Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../10min.html"> 10 Minutes to Modflow-setup</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../examples.html"> Examples</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../config-file-gallery.html"> Configuration File Gallery</a></li>
</ul>
Expand Down Expand Up @@ -1328,7 +1329,7 @@ <h1>Source code for mfsetup.fileio</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2019-2023, Modflow-setup developers |.
<span class="lastupdated">Last updated on Aug 17, 2023.
<span class="lastupdated">Last updated on Aug 22, 2023.
</span></p>
</div>

Expand Down
7 changes: 4 additions & 3 deletions latest/_modules/mfsetup/grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mfsetup.grid &mdash; modflow-setup 0.3.0.post10+g51c4e5f documentation</title>
<title>mfsetup.grid &mdash; modflow-setup 0.3.0.post11+g3a6ec42 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../../_static/plot_directive.css" type="text/css" />
Expand Down Expand Up @@ -38,7 +38,7 @@
modflow-setup
</a>
<div class="version">
0.3.0.post10+g51c4e5f
0.3.0.post11+g3a6ec42
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand All @@ -52,6 +52,7 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../philosophy.html"> Philosophy</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../installation.html"> Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../10min.html"> 10 Minutes to Modflow-setup</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../examples.html"> Examples</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../config-file-gallery.html"> Configuration File Gallery</a></li>
</ul>
Expand Down Expand Up @@ -1260,7 +1261,7 @@ <h1>Source code for mfsetup.grid</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2019-2023, Modflow-setup developers |.
<span class="lastupdated">Last updated on Aug 17, 2023.
<span class="lastupdated">Last updated on Aug 22, 2023.
</span></p>
</div>

Expand Down
7 changes: 4 additions & 3 deletions latest/_modules/mfsetup/interpolate.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mfsetup.interpolate &mdash; modflow-setup 0.3.0.post10+g51c4e5f documentation</title>
<title>mfsetup.interpolate &mdash; modflow-setup 0.3.0.post11+g3a6ec42 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../../_static/plot_directive.css" type="text/css" />
Expand Down Expand Up @@ -38,7 +38,7 @@
modflow-setup
</a>
<div class="version">
0.3.0.post10+g51c4e5f
0.3.0.post11+g3a6ec42
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand All @@ -52,6 +52,7 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../philosophy.html"> Philosophy</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../installation.html"> Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../10min.html"> 10 Minutes to Modflow-setup</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../examples.html"> Examples</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../config-file-gallery.html"> Configuration File Gallery</a></li>
</ul>
Expand Down Expand Up @@ -516,7 +517,7 @@ <h1>Source code for mfsetup.interpolate</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2019-2023, Modflow-setup developers |.
<span class="lastupdated">Last updated on Aug 17, 2023.
<span class="lastupdated">Last updated on Aug 22, 2023.
</span></p>
</div>

Expand Down
Loading

0 comments on commit 82e8dcd

Please sign in to comment.