farmingpy.soil.EUPTF2

farmingpy.soil.EUPTF2#

class EUPTF2(soildata)[source]#

Interface to eutptfv2 pedotransfer functions using tkdweber/euptf2 via rpy2. These need to be installed by the user.

Used to estimate soil hydraulic properties.

__init__(soildata)[source]#

soildata: DataFrame with columns “sand”, “silt”, “clay”. Optionally also “om” (organic matter) and “depth_m” (sampling depth) can be given.

Methods

__init__(soildata)

soildata: DataFrame with columns "sand", "silt", "clay".

water_capacity([quantiles])

Get soil saturation capacity, field capacity at 10 and 33 kPA, wilting point (1500kPA) and available water capacity.

which_ptf()

Find the right prediction model based on input data.