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.
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
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
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