-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ 3a6ec42 🚀
- Loading branch information
Showing
62 changed files
with
1,189 additions
and
333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Large diffs are not rendered by default.
Oops, something went wrong.
122 changes: 122 additions & 0 deletions
122
latest/_downloads/509f6a4d0dd4389c5a7ae0a232072191/initial_config_full.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'] |
24 changes: 24 additions & 0 deletions
24
latest/_downloads/ad797c943aa792619c7a8c98cfbd6638/initial_config_poly.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
13 changes: 13 additions & 0 deletions
13
latest/_downloads/b6ae5d6478362c1168ffc009e617fa38/initial_grid_setup.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') |
24 changes: 24 additions & 0 deletions
24
latest/_downloads/baf13b4007664691088da3dfada3c732/initial_config_box.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
30 changes: 30 additions & 0 deletions
30
latest/_downloads/e1fbf3d202706a1435f28708d4ab74a5/initial_model_setup.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.