welltestpy.data.Well
- class Well(name, radius, coordinates, welldepth=1.0, aquiferdepth=None, screensize=None)[source]
Bases:
object
Class for a pumping-/observation-well.
This is a class for a well within a aquifer-testing campaign.
It has a name, a radius, coordinates and a depth.
- Parameters
name (
str
) – Name of the Variable.coordinates (
Variable
ornumpy.ndarray
) – Value of the Variable.welldepth (
Variable
orfloat
, optional) – Depth of the well (in saturated zone). Default: 1.0aquiferdepth (
Variable
orfloat
, optional) – Aquifer depth at the well (saturated zone). Defaults to welldepth. Default:"None"
screensize (
Variable
orfloat
, optional) – Size of the screen at the well. Defaults to 0.0. Default:"None"
Notes
You can calculate the distance between two wells
w1
andw2
by simply calculating the differencew1 - w2
.- Attributes
aquifer
float
: Aquifer depth at the well.aquiferdepth
Variable
: Aquifer depth at the well.coordinates
Variable
: Coordinates variable of the well.depth
float
: Depth of the well.info
Get information about the variable.
is_piezometer
bool
: Whether the well is only a standpipe piezometer.pos
numpy.ndarray
: Position of the well.radius
float
: Radius of the well.screen
float
: Screen size at the well.screensize
Variable
: Screen size at the well.welldepth
Variable
: Depth variable of the well.wellradius
Variable
: Radius variable of the well.
Methods
distance
(well)Calculate distance to the well.
save
([path, name])Save a well to file.
- save(path='', name=None)[source]
Save a well to file.
This writes the variable to a csv file.
- Parameters
Notes
The file will get the suffix
".wel"
.
- property info
Get information about the variable.
Here you can display information about the variable.
- property pos
Position of the well.
- Type