generated from GeoStat-Examples/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from GeoStat-Examples/theis_analysis
Theis analysis
- Loading branch information
Showing
93 changed files
with
236 additions
and
8 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
Binary file not shown.
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
-4.041889357980989139e+00 | ||
-2.135803320654749093e+00 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
9.245823995020188146e-01 | ||
3.719771898965359425e-01 |
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,3 @@ | ||
# mu lnS | ||
5.038909757147155277e-01 | ||
4.920174665307080336e-02 |
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
-4.599175133715375452e+00 | ||
-2.087130985265374772e+00 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
9.225084243636654247e-01 | ||
3.793486775373275943e-01 |
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,3 @@ | ||
# mu lnS | ||
4.869093878870895398e-01 | ||
4.923811270271956364e-02 |
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
-4.469906947665515773e+00 | ||
-2.558349156725309381e+00 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
9.248095705848720094e-01 | ||
3.488981377084626745e-01 |
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,3 @@ | ||
# mu lnS | ||
5.003059063840357146e-01 | ||
4.880588355868517580e-02 |
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
-3.687795829848876217e+00 | ||
-3.341085358753064227e+00 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
9.432098411371168112e-01 | ||
2.745695629845287256e-01 |
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,3 @@ | ||
# mu lnS | ||
6.384341518194548426e-01 | ||
4.890268754194360828e-02 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
-4.616495101489531905e+00 | ||
-1.814607315343006677e+00 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
9.269326284369937552e-01 | ||
3.549613290790790687e-01 |
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,3 @@ | ||
# mu lnS | ||
5.410627948848325541e-01 | ||
5.298159575586086634e-02 |
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
-4.254505512021658831e+00 | ||
-2.398455627950027313e+00 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
9.237182492940093637e-01 | ||
3.122240325370111425e-01 |
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,3 @@ | ||
# mu lnS | ||
4.959178374954668067e-01 | ||
4.916851923696172189e-02 |
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
-4.108162874320472113e+00 | ||
-2.363775493525403171e+00 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
9.160116039704321311e-01 | ||
3.383748292193309304e-01 |
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,3 @@ | ||
# mu lnS | ||
4.587503507086950205e-01 | ||
5.934418044628082811e-02 |
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
-5.022233358482504073e+00 | ||
-1.668808864276526194e+00 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
9.222609064596241080e-01 | ||
3.693173255790749288e-01 |
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,3 @@ | ||
# mu lnS | ||
5.012227180660423498e-01 | ||
5.500582275881459038e-02 |
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
-4.184148473481728026e+00 | ||
-2.259962264311639046e+00 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
9.468237177786873460e-01 | ||
3.401689381372080545e-01 |
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,3 @@ | ||
# mu lnS | ||
6.919797689549598285e-01 | ||
5.663505775749034382e-02 |
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
-4.846352643774878288e+00 | ||
-1.702396323325426231e+00 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,3 @@ | ||
# mu lnS | ||
9.160779984425324596e-01 | ||
4.159615368057123508e-01 |
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,3 @@ | ||
# mu lnS | ||
4.582454345407614427e-01 | ||
5.645156912666832866e-02 |
Binary file not shown.
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,3 @@ | ||
#!/bin/bash | ||
|
||
mpiexec -n 4 python3 02b_para_estimation_theis.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,68 @@ | ||
# -*- coding: utf-8 -*- | ||
"""Estimate HH+LW: single test and combined test estimation.""" | ||
|
||
import os | ||
from mpi4py import MPI | ||
import welltestpy as wtp | ||
import matplotlib.pyplot as plt | ||
|
||
# increase fontsize of plots, prevent type 3 fonts in pdf output | ||
plt.rcParams.update({"font.size": 16, "pdf.fonttype": 42, "ps.fonttype": 42}) | ||
|
||
# rank is the actual core-number, size is total number of cores | ||
rank = MPI.COMM_WORLD.Get_rank() | ||
size = MPI.COMM_WORLD.Get_size() | ||
|
||
# saving estimation results in results | ||
here = os.path.abspath(os.path.dirname(__file__)) | ||
results = os.path.normpath(os.path.join(here, "..", "results", "01b_estimate")) | ||
data = os.path.normpath(os.path.join(here, "..", "data")) | ||
os.makedirs(results, exist_ok=True) | ||
|
||
# setups for single test and combined estimation | ||
setups = [ | ||
[os.path.join(data, "lauswiesen.cmp"), "all_lw"], | ||
[os.path.join(data, "lauswiesen.cmp"), "B2"], | ||
[os.path.join(data, "lauswiesen.cmp"), "B3"], | ||
[os.path.join(data, "lauswiesen.cmp"), "B4"], | ||
[os.path.join(data, "lauswiesen.cmp"), "B5"], | ||
[os.path.join(data, "horkheim.cmp"), "all_hh"], | ||
[os.path.join(data, "horkheim.cmp"), "p05"], | ||
[os.path.join(data, "horkheim.cmp"), "p40"], | ||
[os.path.join(data, "horkheim.cmp"), "p42"], | ||
[os.path.join(data, "horkheim.cmp"), "p44"], | ||
] | ||
|
||
for i, setup in enumerate(setups): | ||
if i % size != rank: | ||
continue | ||
campaign_file, well = setup | ||
print(well + " on core {}/{} started".format(rank + 1, size)) | ||
# load the lauswiesen pumpingtest | ||
cmp = wtp.load_campaign(campaign_file) | ||
# get the included tests | ||
is_all = well.startswith("all") | ||
testinclude = {well: cmp.tests[well].wells} if not is_all else None | ||
# set up the estimation | ||
estimation = wtp.estimate.Theis( | ||
"est", cmp, testinclude=testinclude, generate=True | ||
) | ||
# run the estimation | ||
estimation.run( | ||
rep=2500, | ||
folder=os.path.join(results, well), | ||
dbname="db", | ||
traceplotname="paratrace.pdf", | ||
fittingplotname="fit.pdf", | ||
interactplotname="parainteract.pdf", | ||
estname="estimate.txt", | ||
# run=False, | ||
) | ||
# estimate the sensitivites | ||
estimation.sensitivity( | ||
folder=os.path.join(results, well), | ||
dbname="sens_db", | ||
plotname="sens.pdf", | ||
traceplotname="sens_trace.pdf", | ||
sensname="sens_estimate.txt", | ||
) |
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