Skip to content

Scripts of updated European hydraulic pedotransfer functions (euptfv2)

License

Notifications You must be signed in to change notification settings

brigittaszabo/euptfv2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

euptfv2

Scripts of updated European hydraulic pedotransfer functions (euptfv2) DOI

This repository includes the R scripts used to derive the updated European prediction algorithms to compute soil hydraulic parameters from easily available soil properties, aka pedotransfer functions (PTFs). The new algorithms, based on random forests (RF), lead to significantly better predictions and provide built-in prediction uncertainty computation. The influence of predictor variables on predicted soil hydraulic properties is explored. A website (https://ptfinterface.rissac.hu) and an R package (https://doi.org/10.5281/ZENODO.3759442) facilitates easy application of the updated prediction algorithms.

For each point or parameter PTF, the workflow is to run the R scripts in the following order:

  1. setupRF.R: loading data, define path, input variables and function to compute performance of the PTFs;
  2. tuneRF.R: parameter tuning of the random forest;
  3. buildfinalRF.R: building final random forest, and finally
  4. testRF.R: compute performance of the final random forest on the test set. The above scripts are included separately for point and parameter estimations.

The suggested_PTFs folder includes:

  • the list of suggested PTFs by predictor variables is included list_of_final_PTFs.csv and
  • final PTFs (random forest algorithms) by predicted soil hydraulic parameters are available in RData format.

Recommendation of PTFs for a given set of predictor variables was based on the performance of euptfv2 on the test sets. If there was no significant difference in performance, the PTF derived from the largest population was selected.

The help folder contains a sample input dataset (data_sample.csv) and an R script (apply_PTFs_script.R) which shows some examples on how to apply the PTFs in R.

Please cite as:

Szabó, B., Weynants, M. and Weber, T. K. D. (2021) Updated European hydraulic pedotransfer functions with communicated uncertainties in the predicted variables (euptfv2). Geoscientific Model Development, 14, 151–175 doi: 10.5194/gmd-14-151-2021.

Szabó, B., Weynants, M., and Weber, T. K. (2020) Scripts of updated European hydraulic pedotransfer functions (euptfv2), Zenodo doi: 10.5281/ZENODO.3759442. 

About

Scripts of updated European hydraulic pedotransfer functions (euptfv2)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages