welltestpy.data.PumpingTest
- class PumpingTest(name, pumpingwell, pumpingrate, observations=None, aquiferdepth=1.0, aquiferradius=inf, description='Pumpingtest', timeframe=None)[source]
Bases:
TestClass for a pumping test.
This is a class for a pumping test on a field site. It has a name, a description, a timeframe and a pumpingwell string.
- Parameters
name (
str) – Name of the test.pumpingwell (
str) – Pumping well of the test.pumpingrate (
floatorVariable) – Pumping rate of at the pumping well. If a float is given, it is assumed to be given inm^3/s.observations (
dict, optional) – Observations made within the pumping test. The dict-keys are the well names of the observation wells or the pumpingwell. Values need to be an instance ofObservationDefault:Noneaquiferdepth (
floatorVariable, optional) – Aquifer depth at the field site. Can also be used to store the saturated thickness of the aquifer. If a float is given, it is assumed to be given inm. Default:1.0aquiferradius (
floatorVariable, optional) – Aquifer radius ot the field site. If a float is given, it is assumed to be given inm. Default:infdescription (
str, optional) – Description of the test. Default:"Pumpingtest"timeframe (
str, optional) – Timeframe of the test. Default:None
- Attributes
aquiferdepthVariable: aquifer depth or saturated thickness.aquiferradiusfloat: aquifer radius at the field site.constant_ratebool: state if this is a constant rate test.depthfloat: aquifer depth or saturated thickness.observationsdict: observations made at the field site.observationwellspumpingratefloat: pumping rate variable at the pumping well.radiusfloat: aquifer radius at the field site.ratefloat: pumping rate at the pumping well.testtypestr: String containing the test type.wells
Methods
add_observations(obs)Add some specified observations.
add_steady_obs(well, observation[, description])Add steady drawdown observations.
add_transient_obs(well, time, observation[, ...])Add transient drawdown observations.
correct_observations([aquiferdepth, wells, ...])Correct observations with the selected method.
del_observations(obs)Delete some specified observations.
diagnostic_plot(observation_well, **kwargs)Make a diagnostic plot.
make_steady([time])Convert the pumping test to a steady state test.
plot(wells[, exclude, fig, ax])Generate a plot of the pumping test.
save([path, name])Save a pumping test to file.
state([wells])Get the state of observation.
- add_observations(obs)[source]
Add some specified observations.
- Parameters
obs (
dict,list,Observation) – Observations to be added.
- add_steady_obs(well, observation, description='Steady State Drawdown observation')[source]
Add steady drawdown observations.
- add_transient_obs(well, time, observation, description='Transient Drawdown observation')[source]
Add transient drawdown observations.
- correct_observations(aquiferdepth=None, wells=None, method='cooper_jacob')[source]
Correct observations with the selected method.
- Parameters
Notes
This will be used by the Campaign class.
- del_observations(obs)[source]
Delete some specified observations.
This will delete observations from the pumping test. You can give a list of observations or a single observation by name.
- diagnostic_plot(observation_well, **kwargs)[source]
Make a diagnostic plot.
- Parameters
observation_well (
str) – The observation well for the data to make the diagnostic plot.
Notes
This will be used by the Campaign class.
- plot(wells, exclude=None, fig=None, ax=None, **kwargs)[source]
Generate a plot of the pumping test.
This will plot the pumping test on the given figure axes.
- Parameters
Notes
This will be used by the Campaign class.
- save(path='', name=None)[source]
Save a pumping test to file.
This writes the variable to a csv file.
- Parameters
Notes
The file will get the suffix
".tst".