welltestpy.process

welltestpy subpackage providing routines to pre process test data.

Included functions

The following classes and functions are provided

normpumptest(pumptest[, pumpingrate, factor])

Normalize the pumping rate of a pumping test.

combinepumptest(campaign, test1, test2[, …])

Combine two pumping tests to one.

filterdrawdown(observation[, tout, dxscale])

Smooth the drawdown data of an observation well.

cooper_jacob_correction(observation, …)

correction method for observed drawdown for unconfined aquifers.

smoothing_derivative(head, time[, method])

Calculate the derivative of the drawdown curve.

combinepumptest(campaign, test1, test2, pumpingrate=None, finalname=None, factor1=1.0, factor2=1.0, infooftest1=True, replace=True)[source]

Combine two pumping tests to one.

They need to have the same pumping well.

Parameters
  • campaign (welltestpy.data.Campaign) – The pumping test campaign which should be used.

  • test1 (str) – Name of test 1.

  • test2 (str) – Name of test 2.

  • pumpingrate (float, optional) – Pumping rate. Default: -1.0

  • finalname (str, optional) – Name of the final test. If replace is True and finalname is None, it will get the name of test 1. Else it will get a combined name of test 1 and test 2. Default: None

  • factor1 (float, optional) – Scaling factor for test 1 that can be used for unit conversion. Default: 1.0

  • factor2 (float, optional) – Scaling factor for test 2 that can be used for unit conversion. Default: 1.0

  • infooftest1 (bool, optional) – State if the final test should take the information from test 1. Default: True

  • replace (bool, optional) – State if the original tests should be erased. Default: True

cooper_jacob_correction(observation, sat_thickness)[source]

correction method for observed drawdown for unconfined aquifers.

Parameters
  • observation (welltestpy.data.Observation) – The observation to be corrected.

  • sat_thickness (float) – vertical length of the aquifer in which its pores are filled with water.

Returns

Return type

The corrected drawdown

filterdrawdown(observation, tout=None, dxscale=2)[source]

Smooth the drawdown data of an observation well.

Parameters
  • observation (welltestpy.data.Observation) – The observation to be smoothed.

  • tout (numpy.ndarray, optional) – Time points to evaluate the smoothed observation at. If None, the original time points of the observation are taken. Default: None

  • dxscale (int, optional) – Scale of time-steps used for smoothing. Default: 2

normpumptest(pumptest, pumpingrate=- 1.0, factor=1.0)[source]

Normalize the pumping rate of a pumping test.

Parameters
  • pumpingrate (float, optional) – Pumping rate. Default: -1.0

  • factor (float, optional) – Scaling factor that can be used for unit conversion. Default: 1.0

smoothing_derivative(head, time, method='bourdet')[source]

Calculate the derivative of the drawdown curve.

Parameters
  • head – An array with the observed head values.

  • time – An array with the time values for the observed head values.

  • method (str, optional) – Method to calculate the time derivative. Default: “bourdet”

Returns

Return type

the derivative of the observed heads.