farmingpy.soil.Rosetta#
- class Rosetta(soildata)[source]#
Interface to USDA Rosetta pedotransfer function model using https://pypi.org/project/rosetta-soil/. Used to estimate soil hydraulic properties.
Methods
__init__
(soildata)soildata: DataFrame with columns "sand", "silt", "clay"
average_soils
()Return average soil data for USDA Rosetta model.
find_params
(soilname)plot_water_retention
([fc, wp, sat, legend])Plot water retention curve
vg_params
()Get soil hydrological parameters using USDA Rosetta model.
water_capacity
()Get soil saturation capacity, field capacity at 10 and 33 kPA, wilting point (1500kPA) and available water capacity.
water_retention
(phi[, rosettaparams])Function that computes volumetric water content from soil matric potential using the van Genuchten (1980) model.
Attributes
rosetta_avg