flopy 2.2.353__zip → 3.0.2__zip
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- flopy-3.0.2/PKG-INFO +148 -0
- flopy-3.0.2/flopy/__init__.py +32 -0
- flopy-3.0.2/flopy/mbase.py +709 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/__init__.py +5 -1
- flopy-3.0.2/flopy/modflow/mf.py +354 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfbas.py +9 -4
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfbcf.py +134 -57
- flopy-3.0.2/flopy/modflow/mfchd.py +189 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfde4.py +75 -35
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfdis.py +28 -15
- flopy-3.0.2/flopy/modflow/mfdrn.py +197 -0
- flopy-3.0.2/flopy/modflow/mfevt.py +273 -0
- flopy-3.0.2/flopy/modflow/mfghb.py +201 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfgmg.py +51 -0
- flopy-3.0.2/flopy/modflow/mfhfb.py +325 -0
- flopy-3.0.2/flopy/modflow/mflmt.py +84 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mflpf.py +86 -31
- flopy-3.0.2/flopy/modflow/mfmlt.py +172 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfmnw1.py +64 -5
- flopy-3.0.2/flopy/modflow/mfmnw2.py +392 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfmnwi.py +42 -1
- flopy-3.0.2/flopy/modflow/mfnwt.py +332 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfoc.py +65 -44
- flopy-3.0.2/flopy/modflow/mfpar.py +319 -0
- flopy-3.0.2/flopy/modflow/mfparbc.py +269 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfpbc.py +3 -3
- flopy-3.0.2/flopy/modflow/mfpcg.py +253 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfpcgn.py +58 -0
- flopy-3.0.2/flopy/modflow/mfpks.py +208 -0
- flopy-3.0.2/flopy/modflow/mfpval.py +160 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfrch.py +82 -55
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfriv.py +44 -73
- flopy-3.0.2/flopy/modflow/mfsip.py +139 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfsms.py +1 -0
- flopy-3.0.2/flopy/modflow/mfsor.py +82 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfswi.py +12 -0
- flopy-3.0.2/flopy/modflow/mfswi2.py +505 -0
- flopy-3.0.2/flopy/modflow/mfswr1.py +136 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfupw.py +78 -32
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfuzf1.py +183 -8
- flopy-3.0.2/flopy/modflow/mfwel.py +217 -0
- flopy-3.0.2/flopy/modflow/mfzon.py +162 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modpath/mp.py +2 -1
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modpath/mpbas.py +39 -13
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modpath/mpsim.py +30 -27
- {flopy-2.2.353/flopy/mt3dms → flopy-3.0.2/flopy/mt3d}/mt.py +18 -4
- flopy-3.0.2/flopy/mt3d/mtbtn.py +446 -0
- {flopy-2.2.353/flopy/mt3dms → flopy-3.0.2/flopy/mt3d}/mtdsp.py +36 -33
- {flopy-2.2.353/flopy/mt3dms → flopy-3.0.2/flopy/mt3d}/mtrct.py +14 -7
- flopy-3.0.2/flopy/mt3d/mtssm.py +204 -0
- {flopy-2.2.353/flopy/mt3dms → flopy-3.0.2/flopy/mt3d}/mttob.py +2 -2
- flopy-3.0.2/flopy/utils/__init__.py +28 -0
- flopy-3.0.2/flopy/utils/binaryfile.py +1144 -0
- flopy-3.0.2/flopy/utils/binaryhydmodfile.py +195 -0
- flopy-3.0.2/flopy/utils/binaryswrfile.py +572 -0
- flopy-3.0.2/flopy/utils/mfreadnam.py +140 -0
- flopy-3.0.2/flopy/utils/util_array.py +1206 -0
- flopy-3.0.2/flopy/utils/util_list.py +423 -0
- flopy-3.0.2/flopy/version.py +4 -0
- flopy-3.0.2/setup.py +30 -0
- flopy-2.2.353/PKG-INFO +0 -82
- flopy-2.2.353/flopy/__init__.py +0 -17
- flopy-2.2.353/flopy/mbase.py +0 -351
- flopy-2.2.353/flopy/modflow/mf.py +0 -240
- flopy-2.2.353/flopy/modflow/mfchd.py +0 -116
- flopy-2.2.353/flopy/modflow/mfdrn.py +0 -185
- flopy-2.2.353/flopy/modflow/mfevt.py +0 -205
- flopy-2.2.353/flopy/modflow/mfghb.py +0 -229
- flopy-2.2.353/flopy/modflow/mflmt.py +0 -25
- flopy-2.2.353/flopy/modflow/mfmnw2.py +0 -250
- flopy-2.2.353/flopy/modflow/mfnwt.py +0 -99
- flopy-2.2.353/flopy/modflow/mfpcg.py +0 -125
- flopy-2.2.353/flopy/modflow/mfpks.py +0 -88
- flopy-2.2.353/flopy/modflow/mfsip.py +0 -23
- flopy-2.2.353/flopy/modflow/mfsor.py +0 -20
- flopy-2.2.353/flopy/modflow/mfswi2.py +0 -138
- flopy-2.2.353/flopy/modflow/mfswr1.py +0 -31
- flopy-2.2.353/flopy/modflow/mfwel.py +0 -246
- flopy-2.2.353/flopy/mt3dms/mtbtn.py +0 -176
- flopy-2.2.353/flopy/mt3dms/mtssm.py +0 -412
- flopy-2.2.353/flopy/utils/__init__.py +0 -5
- flopy-2.2.353/flopy/utils/binaryfile.py +0 -702
- flopy-2.2.353/flopy/utils/binaryfile_recarray.py +0 -641
- flopy-2.2.353/flopy/utils/mfreadbinaries.py +0 -195
- flopy-2.2.353/flopy/utils/mfreadnam.py +0 -65
- flopy-2.2.353/flopy/utils/mtreadbinaries.py +0 -118
- flopy-2.2.353/flopy/utils/util_array.py +0 -856
- flopy-2.2.353/flopy/version.py +0 -3
- flopy-2.2.353/setup.py +0 -93
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfaddoutsidefile.py +0 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modflow/mfbct.py +0 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/modpath/__init__.py +0 -0
- {flopy-2.2.353/flopy/mt3dms → flopy-3.0.2/flopy/mt3d}/__init__.py +0 -0
- {flopy-2.2.353/flopy/mt3dms → flopy-3.0.2/flopy/mt3d}/mtadv.py +0 -0
- {flopy-2.2.353/flopy/mt3dms → flopy-3.0.2/flopy/mt3d}/mtgcg.py +0 -0
- {flopy-2.2.353/flopy/mt3dms → flopy-3.0.2/flopy/mt3d}/mtphc.py +0 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/seawat/__init__.py +0 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/seawat/swt.py +0 -0
- {flopy-2.2.353 → flopy-3.0.2}/flopy/seawat/swtvdf.py +0 -0
flopy-3.0.2/PKG-INFO
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
Metadata-Version: 1.0
|
|
2
|
+
Name: flopy
|
|
3
|
+
Version: 3.0.2
|
|
4
|
+
Summary: FloPy is a Python package to create, run, and post-process MODFLOW-based models.
|
|
5
|
+
Home-page: https://github.com/modflowpy/flopy/
|
|
6
|
+
Author: Mark Bakker, Vincent Post, Chris Langevin, Joe Hughes, Jeremy White, Jeff Starn, Mike Fienen, and Alain Frances
|
|
7
|
+
Author-email: mark.bakker@tudelft.nl, vincent.post@flinders.edu.au, langevin@usgs.gov, jdhughes@usgs.gov, jwhite@usgs.gov, jjstarn@usgs.gov, mnfienen@usgs.gov, frances.alain@gmail.com
|
|
8
|
+
License: New BSD
|
|
9
|
+
Description: Introduction
|
|
10
|
+
------------
|
|
11
|
+
|
|
12
|
+
*FloPy3* includes support for MODFLOW-2000, MODFLOW-2005, and
|
|
13
|
+
MODFLOW-NWT. Other supported MODFLOW-based models include MODPATH
|
|
14
|
+
(version 6), MT3D and SEAWAT.
|
|
15
|
+
|
|
16
|
+
FloPy3 Changes
|
|
17
|
+
--------------
|
|
18
|
+
|
|
19
|
+
*FloPy3* is significantly different from *FloPy2* (hosted on
|
|
20
|
+
`googlecode <https://code.google.com/p/flopy/>`__). The main changes
|
|
21
|
+
are:
|
|
22
|
+
|
|
23
|
+
- *FloPy3* is fully zero-based. This means that layers, rows and
|
|
24
|
+
columns start counting at *zero*. The reason for this is consistency.
|
|
25
|
+
Arrays are zero-based by default in Python, so it was confusing to
|
|
26
|
+
have a mix.
|
|
27
|
+
- Input for packages that take *layer, row, column, data* input (like
|
|
28
|
+
the wel or ghb package) has changed and is much more flexible now.
|
|
29
|
+
See the notebook
|
|
30
|
+
`flopy3boundaries <http://nbviewer.ipython.org/github/modflowpy/flopy/blob/master/examples/basic/flopy3boundaries.ipynb>`__
|
|
31
|
+
- Support for use of EXTERNAL and OPEN/CLOSE array specifiers has been
|
|
32
|
+
improved.
|
|
33
|
+
- *load()* methods have been developed for all of the standard MODFLOW
|
|
34
|
+
packages and a few less used packages (*e.g.* SWI2).
|
|
35
|
+
- MODFLOW parameter support has been added to the *load()* methods.
|
|
36
|
+
MULT, PVAL, and ZONE packages are now supported and parameter data
|
|
37
|
+
are converted to arrays in the *load()* methods. MODFLOW parameters
|
|
38
|
+
are not supported in *write()* methods. MULT package FUNCTION and
|
|
39
|
+
EXPRESSION functionality are not currently supported.
|
|
40
|
+
|
|
41
|
+
Installation
|
|
42
|
+
------------
|
|
43
|
+
|
|
44
|
+
To install *FloPy3* type:
|
|
45
|
+
|
|
46
|
+
::
|
|
47
|
+
|
|
48
|
+
pip install flopy
|
|
49
|
+
|
|
50
|
+
To update *FloPy3* type:
|
|
51
|
+
|
|
52
|
+
::
|
|
53
|
+
|
|
54
|
+
pip install flopy --upgrade
|
|
55
|
+
|
|
56
|
+
To uninstall *FloPy3* type:
|
|
57
|
+
|
|
58
|
+
::
|
|
59
|
+
|
|
60
|
+
pip uninstall flopy
|
|
61
|
+
|
|
62
|
+
To install the bleeding edge version of *FloPy3* from the git repository
|
|
63
|
+
type:
|
|
64
|
+
|
|
65
|
+
::
|
|
66
|
+
|
|
67
|
+
pip install git+https://github.com/modflowpy/flopy.git
|
|
68
|
+
|
|
69
|
+
To update your version of *FloPy3* with the bleeding edge code from the
|
|
70
|
+
git repository type:
|
|
71
|
+
|
|
72
|
+
::
|
|
73
|
+
|
|
74
|
+
pip install git+https://github.com/modflowpy/flopy.git --upgrade
|
|
75
|
+
|
|
76
|
+
Documentation
|
|
77
|
+
-------------
|
|
78
|
+
|
|
79
|
+
Documentation for *FloPy3* is a work in progress. *FloPy3* code
|
|
80
|
+
documentation is available at:
|
|
81
|
+
|
|
82
|
+
- http://modflowpy.github.io/flopydoc/
|
|
83
|
+
|
|
84
|
+
Examples
|
|
85
|
+
--------
|
|
86
|
+
|
|
87
|
+
IPython Notebook Examples
|
|
88
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
89
|
+
|
|
90
|
+
The following IPython Notebooks contain example FloPy scripts for a
|
|
91
|
+
variety of models and FloPy features
|
|
92
|
+
|
|
93
|
+
Basic examples
|
|
94
|
+
^^^^^^^^^^^^^^
|
|
95
|
+
|
|
96
|
+
- The `lake
|
|
97
|
+
example <http://nbviewer.ipython.org/github/modflowpy/flopy/blob/master/examples/basic/lake_example.ipynb>`__,
|
|
98
|
+
a very simple *FloPy3* example of steady flow in a square model with
|
|
99
|
+
a fixed head cell in the middle (representing a lake) in a 10-layer
|
|
100
|
+
model.
|
|
101
|
+
- An overview of the options to enter *layer,row,column,data* values
|
|
102
|
+
for packages such as the wel and ghb packages is given in the
|
|
103
|
+
`flopy3boundaries <http://nbviewer.ipython.org/github/modflowpy/flopy/blob/master/examples/basic/flopy3boundaries.ipynb>`__
|
|
104
|
+
Notebook
|
|
105
|
+
- The `Henry
|
|
106
|
+
Problem <http://nbviewer.ipython.org/github/modflowpy/flopy/blob/master/examples/henry/henry.ipynb>`__,
|
|
107
|
+
a simple saltwater intrusion model developed with Flopy and run using
|
|
108
|
+
SEAWAT.
|
|
109
|
+
|
|
110
|
+
SWI2 examples
|
|
111
|
+
^^^^^^^^^^^^^
|
|
112
|
+
|
|
113
|
+
- `Example
|
|
114
|
+
1 <http://nbviewer.ipython.org/github/modflowpy/flopy/blob/master/examples/swi_examples/swiex1.ipynb>`__
|
|
115
|
+
of the SWI2 manual, simulating a rotating interface.
|
|
116
|
+
|
|
117
|
+
SWI2 Test Problems for *FloPy3*
|
|
118
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
119
|
+
|
|
120
|
+
A zip file containing *FloPy3* scripts for running and post-processing
|
|
121
|
+
the SWI2 Examples (examples 1 to 5) that are described in `Bakker et al.
|
|
122
|
+
(2013) <http://pubs.usgs.gov/tm/6a46/>`__ is available at:
|
|
123
|
+
|
|
124
|
+
- http://flopy.googlecode.com/svn/examples/SWI2ExampleProblems_flopy.zip
|
|
125
|
+
|
|
126
|
+
Note that examples 2 and 5 also include *FloPy3* scripts for running and
|
|
127
|
+
post-processing SEAWAT models.
|
|
128
|
+
|
|
129
|
+
Tutorials
|
|
130
|
+
~~~~~~~~~
|
|
131
|
+
|
|
132
|
+
A few simple *FloPy3* tutorials are available at:
|
|
133
|
+
|
|
134
|
+
- http://modflowpy.github.io/flopydoc/tutorials.html
|
|
135
|
+
|
|
136
|
+
MODFLOW Resources
|
|
137
|
+
~~~~~~~~~~~~~~~~~
|
|
138
|
+
|
|
139
|
+
- `MODFLOW and Related Programs <http://water.usgs.gov/ogw/modflow/>`__
|
|
140
|
+
- `Online guide for
|
|
141
|
+
MODFLOW-2000 <http://water.usgs.gov/nrp/gwsoftware/modflow2000/Guide/index.html>`__
|
|
142
|
+
- `Online guide for
|
|
143
|
+
MODFLOW-2005 <http://water.usgs.gov/ogw/modflow/MODFLOW-2005-Guide/>`__
|
|
144
|
+
- `Online guide for
|
|
145
|
+
MODFLOW-NWT <http://water.usgs.gov/ogw/modflow-nwt/MODFLOW-NWT-Guide/>`__
|
|
146
|
+
|
|
147
|
+
Platform: Windows
|
|
148
|
+
Platform: Mac OS-X
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"""
|
|
2
|
+
The FloPy package consists of a set of Python scripts to run MODFLOW, MT3D,
|
|
3
|
+
SEAWAT and other MODFLOW-related groundwater programs. FloPy enables you to
|
|
4
|
+
run all these programs with Python scripts. The FloPy project started in 2009
|
|
5
|
+
and has grown to a fairly complete set of scripts with a growing user base.
|
|
6
|
+
|
|
7
|
+
This version of Flopy (FloPy3) was released in December 2015 with a few great
|
|
8
|
+
enhancements that make FloPy3 backwards incompatible. The first significant
|
|
9
|
+
change is that FloPy3 uses zero-based indexing everywhere, which means that
|
|
10
|
+
all layers, rows, columns, and stress periods start numbering at zero. This
|
|
11
|
+
change was made for consistency as all array-indexing was already zero-based
|
|
12
|
+
(as are all arrays in Python). This may take a little getting-used-to, but
|
|
13
|
+
hopefully will avoid confusion in the future. A second significant enhancement
|
|
14
|
+
concerns the ability to specify time-varying boundary conditions that are
|
|
15
|
+
specified with a sequence of layer-row-column-values, like the WEL and GHB
|
|
16
|
+
packages. A variety of flexible and readable ways have been implemented to
|
|
17
|
+
specify these boundary conditions. FloPy is an open-source project and any
|
|
18
|
+
assistance is welcomed. Please email the development team if you want to
|
|
19
|
+
contribute.
|
|
20
|
+
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
__name__ = 'flopy'
|
|
24
|
+
__author__ = 'Mark Bakker, Vincent Post, Chris Langevin, Joe Hughes, Jeremy White, Jeff Starn, Mike Fienen, and Alain Frances'
|
|
25
|
+
from version import __version__, __build__
|
|
26
|
+
|
|
27
|
+
#imports
|
|
28
|
+
import modflow
|
|
29
|
+
import mt3d
|
|
30
|
+
import seawat
|
|
31
|
+
import modpath
|
|
32
|
+
import utils
|