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.

  • radius (Variable or float) – Value of the Variable.

  • coordinates (Variable or numpy.ndarray) – Value of the Variable.

  • welldepth (Variable or float, optional) – Depth of the well (in saturated zone). Default: 1.0

  • aquiferdepth (Variable or float, optional) – Aquifer depth at the well (saturated zone). Defaults to welldepth. Default: "None"

  • screensize (Variable or float, optional) – Size of the screen at the well. Defaults to 0.0. Default: "None"

Notes

You can calculate the distance between two wells w1 and w2 by simply calculating the difference w1 - 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.

distance(well)[source]

Calculate distance to the well.

Parameters

well (Well or tuple of float) – Coordinates to calculate the distance to or another well.

save(path='', name=None)[source]

Save a well to file.

This writes the variable to a csv file.

Parameters
  • path (str, optional) – Path where the variable should be saved. Default: ""

  • name (str, optional) – Name of the file. If None, the name will be generated by "Well_"+name. Default: None

Notes

The file will get the suffix ".wel".

property aquifer

Aquifer depth at the well.

Type

float

property aquiferdepth

Aquifer depth at the well.

Type

Variable

property coordinates

Coordinates variable of the well.

Type

Variable

property depth

Depth of the well.

Type

float

property info

Get information about the variable.

Here you can display information about the variable.

property is_piezometer

Whether the well is only a standpipe piezometer.

Type

bool

property pos

Position of the well.

Type

numpy.ndarray

property radius

Radius of the well.

Type

float

property screen

Screen size at the well.

Type

float

property screensize

Screen size at the well.

Type

Variable

property welldepth

Depth variable of the well.

Type

Variable

property wellradius

Radius variable of the well.

Type

Variable