Skip to content

Commit 81a2299

Browse files
authored
Merge pull request #33 from GeoStat-Framework/update_structure
Minor doc fixes
2 parents 0cc0ec8 + 62f3f08 commit 81a2299

File tree

7 files changed

+69
-36
lines changed

7 files changed

+69
-36
lines changed

CHANGELOG.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
22

33
All notable changes to **welltestpy** will be documented in this file.
44

5+
6+
## [1.2.0] - 2023-04
7+
8+
See [#28](https://github.com/GeoStat-Framework/welltestpy/pull/28), [#31](https://github.com/GeoStat-Framework/welltestpy/pull/31) and [#32](https://github.com/GeoStat-Framework/welltestpy/pull/32)
9+
10+
### Enhancements
11+
12+
- added archive support
13+
- simplify documentation
14+
- new arguments `val_fit_type` and `val_fit_name` for all estimators to select fitting transformation
15+
- `val_fit_name` will be incorporated into the generated plots and the header of the estimation result file
16+
17+
### Changes
18+
19+
- move to `src/` based package structure
20+
- use [hatchling](https://pypi.org/project/hatchling/) as build backend
21+
- drop py36 support
22+
- value names for all arguments in the estimators now need to match the call signatures of the used type-curves
23+
24+
### Bugfixes
25+
26+
- minor fixes for the plotting routines and the estimators
27+
28+
529
## [1.1.0] - 2021-07
630

731
### Enhancements
@@ -112,7 +136,8 @@ All notable changes to **welltestpy** will be documented in this file.
112136

113137
First alpha release of welltespy.
114138

115-
[Unreleased]: https://github.com/GeoStat-Framework/welltestpy/compare/v1.1.0...HEAD
139+
[Unreleased]: https://github.com/GeoStat-Framework/welltestpy/compare/v1.2.0...HEAD
140+
[1.2.0]: https://github.com/GeoStat-Framework/welltestpy/compare/v1.1.0...v1.2.0
116141
[1.1.0]: https://github.com/GeoStat-Framework/welltestpy/compare/v1.0.3...v1.1.0
117142
[1.0.3]: https://github.com/GeoStat-Framework/welltestpy/compare/v1.0.2...v1.0.3
118143
[1.0.2]: https://github.com/GeoStat-Framework/welltestpy/compare/v1.0.1...v1.0.2

src/welltestpy/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""
2-
Purpose
3-
=======
2+
welltestpy - a Python package to handle well-based Field-campaigns.
43
54
welltestpy provides a framework to handle and plot data from well based
65
field campaigns as well as a parameter estimation module.

src/welltestpy/data/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"""
22
welltestpy subpackage providing datastructures.
33
4-
54
Campaign classes
65
~~~~~~~~~~~~~~~~
76

src/welltestpy/estimate/estimators.py

Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ class ExtTheis3D(transient_lib.TransientPumping):
2424
function and an anisotropy ratio 0 < e <= 1.
2525
2626
Available values for fitting:
27-
- ``cond_gmean``: geometric mean conductivity
28-
- ``var``: variance of log-conductivity
29-
- ``len_scale``: correlation length scale of log-conductivity
30-
- ``anis``: anisotropy between horizontal and vertical correlation length
31-
- ``storage``: storage
27+
28+
* ``cond_gmean``: geometric mean conductivity
29+
* ``var``: variance of log-conductivity
30+
* ``len_scale``: correlation length scale of log-conductivity
31+
* ``anis``: anisotropy between horizontal and vertical correlation length
32+
* ``storage``: storage
3233
3334
Parameters
3435
----------
@@ -129,10 +130,11 @@ class ExtTheis2D(transient_lib.TransientPumping):
129130
function.
130131
131132
Available values for fitting:
132-
- ``trans_gmean``: geometric mean transmissivity
133-
- ``var``: variance of log-transmissivity
134-
- ``len_scale``: correlation length scale of log-transmissivity
135-
- ``storage``: storage
133+
134+
* ``trans_gmean``: geometric mean transmissivity
135+
* ``var``: variance of log-transmissivity
136+
* ``len_scale``: correlation length scale of log-transmissivity
137+
* ``storage``: storage
136138
137139
Parameters
138140
----------
@@ -229,10 +231,11 @@ class Neuman2004(transient_lib.TransientPumping):
229231
with an exponential correlation function.
230232
231233
Available values for fitting:
232-
- ``trans_gmean``: geometric mean transmissivity
233-
- ``var``: variance of log-transmissivity
234-
- ``len_scale``: correlation length scale of log-transmissivity
235-
- ``storage``: storage
234+
235+
* ``trans_gmean``: geometric mean transmissivity
236+
* ``var``: variance of log-transmissivity
237+
* ``len_scale``: correlation length scale of log-transmissivity
238+
* ``storage``: storage
236239
237240
Parameters
238241
----------
@@ -327,8 +330,9 @@ class Theis(transient_lib.TransientPumping):
327330
parameters. It utilizes the Theis solution.
328331
329332
Available values for fitting:
330-
- ``transmissivity``: transmissivity
331-
- ``storage``: storage
333+
334+
* ``transmissivity``: transmissivity
335+
* ``storage``: storage
332336
333337
Parameters
334338
----------
@@ -414,10 +418,11 @@ class ExtThiem3D(steady_lib.SteadyPumping):
414418
function and an anisotropy ratio 0 < e <= 1.
415419
416420
Available values for fitting:
417-
- ``cond_gmean``: geometric mean conductivity
418-
- ``var``: variance of log-conductivity
419-
- ``len_scale``: correlation length scale of log-conductivity
420-
- ``anis``: anisotropy between horizontal and vertical correlation length
421+
422+
* ``cond_gmean``: geometric mean conductivity
423+
* ``var``: variance of log-conductivity
424+
* ``len_scale``: correlation length scale of log-conductivity
425+
* ``anis``: anisotropy between horizontal and vertical correlation length
421426
422427
Parameters
423428
----------
@@ -521,9 +526,10 @@ class ExtThiem2D(steady_lib.SteadyPumping):
521526
function.
522527
523528
Available values for fitting:
524-
- ``trans_gmean``: geometric mean transmissivity
525-
- ``var``: variance of log-transmissivity
526-
- ``len_scale``: correlation length scale of log-transmissivity
529+
530+
* ``trans_gmean``: geometric mean transmissivity
531+
* ``var``: variance of log-transmissivity
532+
* ``len_scale``: correlation length scale of log-transmissivity
527533
528534
Parameters
529535
----------
@@ -624,9 +630,10 @@ class Neuman2004Steady(steady_lib.SteadyPumping):
624630
with an exponential correlation function.
625631
626632
Available values for fitting:
627-
- ``trans_gmean``: geometric mean transmissivity
628-
- ``var``: variance of log-transmissivity
629-
- ``len_scale``: correlation length scale of log-transmissivity
633+
634+
* ``trans_gmean``: geometric mean transmissivity
635+
* ``var``: variance of log-transmissivity
636+
* ``len_scale``: correlation length scale of log-transmissivity
630637
631638
Parameters
632639
----------
@@ -724,7 +731,8 @@ class Thiem(steady_lib.SteadyPumping):
724731
parameters. It utilizes the Thiem solution.
725732
726733
Available values for fitting:
727-
- ``transmissivity``: transmissivity
734+
735+
* ``transmissivity``: transmissivity
728736
729737
Parameters
730738
----------

src/welltestpy/estimate/spotpylib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def simulation(self, vector):
190190
return self.sim(**self.sim_kwargs).reshape(-1)
191191

192192
def evaluation(self):
193-
"""Accesses the observation data."""
193+
"""Access the observation data."""
194194
return self.data
195195

196196
def objectivefunction(self, simulation, evaluation):

src/welltestpy/process/processlib.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ def filterdrawdown(observation, tout=None, dxscale=2):
238238

239239

240240
def cooper_jacob_correction(observation, sat_thickness):
241-
"""correction method for observed drawdown for unconfined aquifers.
241+
"""
242+
Correction method for observed drawdown for unconfined aquifers.
242243
243244
Parameters
244245
----------

src/welltestpy/tools/diagnostic_plots.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ def diagnostic_plot_pump_test(
1818
plotname=None,
1919
style="WTP",
2020
):
21-
"""plot the derivative with the original data.
21+
"""
22+
Plot the derivative with the original data.
2223
2324
Parameters
2425
----------
@@ -48,9 +49,9 @@ def diagnostic_plot_pump_test(
4849
Plot style.
4950
Default: "WTP".
5051
51-
Returns
52-
-------
53-
Diagnostic plot
52+
Returns
53+
-------
54+
Diagnostic plot
5455
"""
5556
head, time = observation()
5657
head = np.array(head, dtype=float).reshape(-1)

0 commit comments

Comments
 (0)