Reproducible code for the paper titled "Quantifying Uncertainty in the Prediction of Soil Properties Using Mid-Infrared Spectra"
Run the R Markdown file in the "PLS_GAM_RMD" folder.
All data and files are located in the X drive (X:\Lincoln\Smap-CovariateLayers\Spectroscopy_Modelling).
All derived model are available online here via an api- https://dev-soil-models.landcareresearch.co.nz/v1_0/docs#/ and the version in used can be seen here - https://dev-soil-models.landcareresearch.co.nz/modelInfo.html
Run the python notebook for the individual soil properties