-
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 @ 45e95f4 🚀
- Loading branch information
Showing
61 changed files
with
1,215 additions
and
946 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 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 |
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
20 changes: 20 additions & 0 deletions
20
latest/_downloads/6ba4574d50dc50b6efce72feea6132c7/update_starting_heads_from_previous.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,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
BIN
+135 Bytes
(100%)
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.
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
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.