ptfkit.cosby1984
ptfkit.cosby1984 ¶
Cosby et al. (1984), United States.
Reference
Cosby, B. J., Hornberger, G. M., Clapp, R. B., & Ginn, T. R. (1984). A statistical exploration of the relationships of soil moisture characteristics to the physical properties of soils. Water Resources Research, 20(6), 682-690.
- Territory
-
United States
- Dataset
-
1448 soil samples from Holtan et al. (1968) and Rawls et al. (1976).
| CLASS | DESCRIPTION |
|---|---|
Cosby1984UnivariatePTFResult | Results returned by the matching PTF. |
| FUNCTION | DESCRIPTION |
|---|---|
calc_ptf_cosby1984_univariate | Estimate Cosby et al. (1984) univariate hydraulic parameter statistics from soil texture. |
Cosby1984UnivariatePTFResult ¶
Bases: NamedTuple, Generic[T]
Results returned by the matching PTF.
| ATTRIBUTE | DESCRIPTION |
|---|---|
mean_b | Mean slope of the moisture characteristic. (dimensionless) TYPE: |
mean_log_psi_s | Mean log saturation matric potential; the underlying potential is expressed in cm H2O. (reported log value) TYPE: |
mean_log_k_sat | Mean log saturated hydraulic conductivity; the underlying conductivity is expressed in inches per hour. (reported log value) TYPE: |
mean_theta_s | Mean saturated water content. (% volume/volume) TYPE: |
sd_b | Standard deviation of b. (dimensionless) TYPE: |
sd_log_k_sat | Standard deviation of log saturated hydraulic conductivity. (reported log value) TYPE: |
sd_theta_s | Standard deviation of saturated water content. (% volume/volume) TYPE: |
Source code in ptfkit/cosby1984.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | |
calc_ptf_cosby1984_univariate ¶
calc_ptf_cosby1984_univariate(*, sand: float, silt: float, clay: float) -> Cosby1984UnivariatePTFResult[floating]
calc_ptf_cosby1984_univariate(*, sand: ArrayLike, silt: ArrayLike, clay: ArrayLike, out: Cosby1984UnivariatePTFResult[NDArray[floating]] | None = None) -> Cosby1984UnivariatePTFResult[NDArray[floating]]
Estimate Cosby et al. (1984) univariate hydraulic parameter statistics from soil texture.
| PARAMETER | DESCRIPTION |
|---|---|
sand | Sand content. (%) TYPE: |
silt | Silt content. (%) TYPE: |
clay | Clay content. (%) TYPE: |
out | Optional output arrays for in-place calculation. TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
Cosby1984UnivariatePTFResult | Results grouped by result attributes. TYPE: |
Models
\(h(\theta)\): Power function moisture characteristic \(k(h)\): Saturated hydraulic conductivity parameter statistics
Notes
Prediction target: Mean and standard deviation estimates for hydraulic parameters from sand, silt, and clay percentages. No back-transform is applied to logarithmic outputs. Public API names are provisional for pilot testing.
Warning
Log-transformed output units use the pilot contract reported log value.
Source code in ptfkit/cosby1984.py
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |