ptfkit.beniaich2023
ptfkit.beniaich2023 ¶
Beniaich et al. (2023), soil-water PTFs for four Moroccan regions.
Reference
Beniaich, A., Otten, W., Shin, H.-C., Cooper, H. V., Rickson, J., Soulaimani, A., & El Gharous, M. (2023). Evaluation of pedotransfer functions to estimate some of soil hydraulic characteristics in North Africa: A case study from Morocco. Frontiers in Environmental Science, 11, 1090688. DOI: 10.3389/fenvs.2023.1090688
- Territory
-
Agricultural topsoils in Doukkala, Gharb-Loukouss, Moulouya, and Tadla, Morocco
- Dataset
-
331 disturbed topsoil samples collected at 0-20 cm from 2019 to 2022; random 50% calibration and 50% validation subsets.
| CLASS | DESCRIPTION |
|---|---|
Beniaich2023PTFResult | Results returned by the matching PTF. |
| FUNCTION | DESCRIPTION |
|---|---|
calc_ptf_beniaich2023_mlr1 | Estimate three gravimetric water contents from silt, sand, and organic matter. |
calc_ptf_beniaich2023_mlr2 | Estimate three gravimetric water contents from sand and organic matter. |
calc_ptf_beniaich2023_mlr3 | Estimate three gravimetric water contents from silt and organic matter. |
calc_ptf_beniaich2023_mlr4 | Estimate three gravimetric water contents from clay and organic matter. |
calc_ptf_beniaich2023_mlr5 | Estimate three gravimetric water contents from clay, silt, and organic matter. |
calc_ptf_beniaich2023_slr1 | Estimate three gravimetric water contents from clay. |
calc_ptf_beniaich2023_slr2 | Estimate three gravimetric water contents from silt. |
calc_ptf_beniaich2023_slr3 | Estimate three gravimetric water contents from sand. |
calc_ptf_beniaich2023_slr4 | Estimate three gravimetric water contents from clay plus silt. |
calc_ptf_beniaich2023_slr5 | Estimate three gravimetric water contents from the clay-to-silt ratio. |
calc_ptf_beniaich2023_slr6 | Estimate three gravimetric water contents from soil organic matter. |
Beniaich2023PTFResult ¶
Bases: NamedTuple, Generic[T]
Results returned by the matching PTF.
| ATTRIBUTE | DESCRIPTION |
|---|---|
water_saturation | Gravimetric water content at saturation. (g/g) TYPE: |
water_field_capacity | Gravimetric water content at -33 kPa. (g/g) TYPE: |
water_wilting_point | Gravimetric water content at -1,500 kPa. (g/g) TYPE: |
Source code in ptfkit/beniaich2023.py
52 53 54 55 56 57 58 59 60 61 62 63 64 | |
calc_ptf_beniaich2023_mlr1 ¶
calc_ptf_beniaich2023_mlr1(*, silt: float, sand: float, soil_organic_matter: float) -> Beniaich2023PTFResult[floating]
calc_ptf_beniaich2023_mlr1(*, silt: ArrayLike, sand: ArrayLike, soil_organic_matter: ArrayLike, out: Beniaich2023PTFResult[NDArray[floating]] | None = None) -> Beniaich2023PTFResult[NDArray[floating]]
Estimate three gravimetric water contents from silt, sand, and organic matter.
| PARAMETER | DESCRIPTION |
|---|---|
silt | Silt content by mass. (%) TYPE: |
sand | Sand content by mass. (%) TYPE: |
soil_organic_matter | Soil organic matter content by mass. (%) TYPE: |
out | Optional output arrays for in-place calculation. TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
Beniaich2023PTFResult | Results grouped by result attributes. TYPE: |
Models
\(h(\theta)\): Three point estimates
Notes
Prediction target: Gravimetric water content at saturation, -33 kPa, and -1,500 kPa. Source regressions operate in percentage points; outputs are divided by 100 to return g/g.
Warning
Developed from Moroccan agricultural topsoils and not independently validated outside the source territory.
Source code in ptfkit/beniaich2023.py
391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 | |
calc_ptf_beniaich2023_mlr2 ¶
calc_ptf_beniaich2023_mlr2(*, sand: float, soil_organic_matter: float) -> Beniaich2023PTFResult[floating]
calc_ptf_beniaich2023_mlr2(*, sand: ArrayLike, soil_organic_matter: ArrayLike, out: Beniaich2023PTFResult[NDArray[floating]] | None = None) -> Beniaich2023PTFResult[NDArray[floating]]
Estimate three gravimetric water contents from sand and organic matter.
| PARAMETER | DESCRIPTION |
|---|---|
sand | Sand content by mass. (%) TYPE: |
soil_organic_matter | Soil organic matter content by mass. (%) TYPE: |
out | Optional output arrays for in-place calculation. TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
Beniaich2023PTFResult | Results grouped by result attributes. TYPE: |
Models
\(h(\theta)\): Three point estimates
Notes
Prediction target: Gravimetric water content at saturation, -33 kPa, and -1,500 kPa. Source regressions operate in percentage points; outputs are divided by 100 to return g/g.
Warning
Developed from Moroccan agricultural topsoils and not independently validated outside the source territory.
Source code in ptfkit/beniaich2023.py
447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 | |
calc_ptf_beniaich2023_mlr3 ¶
calc_ptf_beniaich2023_mlr3(*, silt: float, soil_organic_matter: float) -> Beniaich2023PTFResult[floating]
calc_ptf_beniaich2023_mlr3(*, silt: ArrayLike, soil_organic_matter: ArrayLike, out: Beniaich2023PTFResult[NDArray[floating]] | None = None) -> Beniaich2023PTFResult[NDArray[floating]]
Estimate three gravimetric water contents from silt and organic matter.
| PARAMETER | DESCRIPTION |
|---|---|
silt | Silt content by mass. (%) TYPE: |
soil_organic_matter | Soil organic matter content by mass. (%) TYPE: |
out | Optional output arrays for in-place calculation. TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
Beniaich2023PTFResult | Results grouped by result attributes. TYPE: |
Models
\(h(\theta)\): Three point estimates
Notes
Prediction target: Gravimetric water content at saturation, -33 kPa, and -1,500 kPa. Source regressions operate in percentage points; outputs are divided by 100 to return g/g.
Warning
Developed from Moroccan agricultural topsoils and not independently validated outside the source territory.
Source code in ptfkit/beniaich2023.py
500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 | |
calc_ptf_beniaich2023_mlr4 ¶
calc_ptf_beniaich2023_mlr4(*, clay: float, soil_organic_matter: float) -> Beniaich2023PTFResult[floating]
calc_ptf_beniaich2023_mlr4(*, clay: ArrayLike, soil_organic_matter: ArrayLike, out: Beniaich2023PTFResult[NDArray[floating]] | None = None) -> Beniaich2023PTFResult[NDArray[floating]]
Estimate three gravimetric water contents from clay and organic matter.
| PARAMETER | DESCRIPTION |
|---|---|
clay | Clay content by mass. (%) TYPE: |
soil_organic_matter | Soil organic matter content by mass. (%) TYPE: |
out | Optional output arrays for in-place calculation. TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
Beniaich2023PTFResult | Results grouped by result attributes. TYPE: |
Models
\(h(\theta)\): Three point estimates
Notes
Prediction target: Gravimetric water content at saturation, -33 kPa, and -1,500 kPa. Source regressions operate in percentage points; outputs are divided by 100 to return g/g.
Warning
Developed from Moroccan agricultural topsoils and not independently validated outside the source territory.
Source code in ptfkit/beniaich2023.py
553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 | |
calc_ptf_beniaich2023_mlr5 ¶
calc_ptf_beniaich2023_mlr5(*, clay: float, silt: float, soil_organic_matter: float) -> Beniaich2023PTFResult[floating]
calc_ptf_beniaich2023_mlr5(*, clay: ArrayLike, silt: ArrayLike, soil_organic_matter: ArrayLike, out: Beniaich2023PTFResult[NDArray[floating]] | None = None) -> Beniaich2023PTFResult[NDArray[floating]]
Estimate three gravimetric water contents from clay, silt, and organic matter.
| PARAMETER | DESCRIPTION |
|---|---|
clay | Clay content by mass. (%) TYPE: |
silt | Silt content by mass. (%) TYPE: |
soil_organic_matter | Soil organic matter content by mass. (%) TYPE: |
out | Optional output arrays for in-place calculation. TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
Beniaich2023PTFResult | Results grouped by result attributes. TYPE: |
Models
\(h(\theta)\): Three point estimates
Notes
Prediction target: Gravimetric water content at saturation, -33 kPa, and -1,500 kPa. Source regressions operate in percentage points; outputs are divided by 100 to return g/g.
Warning
Developed from Moroccan agricultural topsoils and not independently validated outside the source territory.
Source code in ptfkit/beniaich2023.py
607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 | |
calc_ptf_beniaich2023_slr1 ¶
calc_ptf_beniaich2023_slr1(*, clay: float) -> Beniaich2023PTFResult[floating]
calc_ptf_beniaich2023_slr1(*, clay: ArrayLike, out: Beniaich2023PTFResult[NDArray[floating]] | None = None) -> Beniaich2023PTFResult[NDArray[floating]]
Estimate three gravimetric water contents from clay.
| PARAMETER | DESCRIPTION |
|---|---|
clay | Clay content by mass. (%) TYPE: |
out | Optional output arrays for in-place calculation. TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
Beniaich2023PTFResult | Results grouped by result attributes. TYPE: |
Models
\(h(\theta)\): Three point estimates
Notes
Prediction target: Gravimetric water content at saturation, -33 kPa, and -1,500 kPa. Source regressions operate in percentage points; outputs are divided by 100 to return g/g.
Warning
Developed from Moroccan agricultural topsoils and not independently validated outside the source territory.
Source code in ptfkit/beniaich2023.py
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 123 124 125 126 127 | |
calc_ptf_beniaich2023_slr2 ¶
calc_ptf_beniaich2023_slr2(*, silt: float) -> Beniaich2023PTFResult[floating]
calc_ptf_beniaich2023_slr2(*, silt: ArrayLike, out: Beniaich2023PTFResult[NDArray[floating]] | None = None) -> Beniaich2023PTFResult[NDArray[floating]]
Estimate three gravimetric water contents from silt.
| PARAMETER | DESCRIPTION |
|---|---|
silt | Silt content by mass. (%) TYPE: |
out | Optional output arrays for in-place calculation. TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
Beniaich2023PTFResult | Results grouped by result attributes. TYPE: |
Models
\(h(\theta)\): Three point estimates
Notes
Prediction target: Gravimetric water content at saturation, -33 kPa, and -1,500 kPa. Source regressions operate in percentage points; outputs are divided by 100 to return g/g.
Warning
Developed from Moroccan agricultural topsoils and not independently validated outside the source territory.
Source code in ptfkit/beniaich2023.py
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | |
calc_ptf_beniaich2023_slr3 ¶
calc_ptf_beniaich2023_slr3(*, sand: float) -> Beniaich2023PTFResult[floating]
calc_ptf_beniaich2023_slr3(*, sand: ArrayLike, out: Beniaich2023PTFResult[NDArray[floating]] | None = None) -> Beniaich2023PTFResult[NDArray[floating]]
Estimate three gravimetric water contents from sand.
| PARAMETER | DESCRIPTION |
|---|---|
sand | Sand content by mass. (%) TYPE: |
out | Optional output arrays for in-place calculation. TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
Beniaich2023PTFResult | Results grouped by result attributes. TYPE: |
Models
\(h(\theta)\): Three point estimates
Notes
Prediction target: Gravimetric water content at saturation, -33 kPa, and -1,500 kPa. Source regressions operate in percentage points; outputs are divided by 100 to return g/g.
Warning
Developed from Moroccan agricultural topsoils and not independently validated outside the source territory.
Source code in ptfkit/beniaich2023.py
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 | |
calc_ptf_beniaich2023_slr4 ¶
calc_ptf_beniaich2023_slr4(*, clay: float, silt: float) -> Beniaich2023PTFResult[floating]
calc_ptf_beniaich2023_slr4(*, clay: ArrayLike, silt: ArrayLike, out: Beniaich2023PTFResult[NDArray[floating]] | None = None) -> Beniaich2023PTFResult[NDArray[floating]]
Estimate three gravimetric water contents from clay plus silt.
| PARAMETER | DESCRIPTION |
|---|---|
clay | Clay content by mass. (%) TYPE: |
silt | Silt content by mass. (%) TYPE: |
out | Optional output arrays for in-place calculation. TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
Beniaich2023PTFResult | Results grouped by result attributes. TYPE: |
Models
\(h(\theta)\): Three point estimates
Notes
Prediction target: Gravimetric water content at saturation, -33 kPa, and -1,500 kPa. Source regressions operate in percentage points; outputs are divided by 100 to return g/g.
Warning
Developed from Moroccan agricultural topsoils and not independently validated outside the source territory.
Source code in ptfkit/beniaich2023.py
237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 | |
calc_ptf_beniaich2023_slr5 ¶
calc_ptf_beniaich2023_slr5(*, clay: float, silt: float) -> Beniaich2023PTFResult[floating]
calc_ptf_beniaich2023_slr5(*, clay: ArrayLike, silt: ArrayLike, out: Beniaich2023PTFResult[NDArray[floating]] | None = None) -> Beniaich2023PTFResult[NDArray[floating]]
Estimate three gravimetric water contents from the clay-to-silt ratio.
| PARAMETER | DESCRIPTION |
|---|---|
clay | Clay content by mass. (%) TYPE: |
silt | Silt content by mass and denominator of the clay-to-silt ratio. (%) TYPE: |
out | Optional output arrays for in-place calculation. TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
Beniaich2023PTFResult | Results grouped by result attributes. TYPE: |
Models
\(h(\theta)\): Three point estimates
Notes
Prediction target: Gravimetric water content at saturation, -33 kPa, and -1,500 kPa. Source regressions operate in percentage points; outputs are divided by 100 to return g/g.
Warning
Developed from Moroccan agricultural topsoils and not independently validated outside the source territory.
Source code in ptfkit/beniaich2023.py
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 | |
calc_ptf_beniaich2023_slr6 ¶
calc_ptf_beniaich2023_slr6(*, soil_organic_matter: float) -> Beniaich2023PTFResult[floating]
calc_ptf_beniaich2023_slr6(*, soil_organic_matter: ArrayLike, out: Beniaich2023PTFResult[NDArray[floating]] | None = None) -> Beniaich2023PTFResult[NDArray[floating]]
Estimate three gravimetric water contents from soil organic matter.
| PARAMETER | DESCRIPTION |
|---|---|
soil_organic_matter | Soil organic matter content by mass. (%) TYPE: |
out | Optional output arrays for in-place calculation. TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
Beniaich2023PTFResult | Results grouped by result attributes. TYPE: |
Models
\(h(\theta)\): Three point estimates
Notes
Prediction target: Gravimetric water content at saturation, -33 kPa, and -1,500 kPa. Source regressions operate in percentage points; outputs are divided by 100 to return g/g.
Warning
Developed from Moroccan agricultural topsoils and not independently validated outside the source territory.
Source code in ptfkit/beniaich2023.py
340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 | |