Skip to content
/ LocalPLSR Public

Quantification of soil parameters e.g. organic carbon, in field soil samples using spectrally similar soil samples from a large scale soil spectral database.

License

Notifications You must be signed in to change notification settings

GFZ/LocalPLSR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LocalPLSR

Summary of the local PLSR methodology: Quantification of soil parameters e.g. organic carbon, in field soil samples using spectrally similar soil samples from a large scale soil spectral database. For this purpose, Laboratory spectra measured from the field soil samples are required and compared with the laboratory spectra from the soil spectral database. The most similar soil samples from the soil spectral database are then used to train a separate PLSR model for each field sample. Each model is applied to the respective field sample to quantify the soil parameter. The localPLSR thus represents an alternative to the conventional quantification (in the chemical laboratory) of spectrally active soil parameters. For this purpose, laboratory spectra of the field samples need to be measured with laboratory spectrometers.

Overview Script

  • Data preparation including soil spectral library (calibration) and field samples (validation)
    • Examples for smoothing and frist derivative
    • Examples of PCA and Mahalanobis distance
  • LocalPLSR function
  • Application example of localPLSR function

How to run this script

  • Open and run this script in R
  • Ensure to install the required R libraries prior to running the script
  • Further user specific adaptations of the script might be necessary of which some are indicated by comments
  • The examples given for data preparation and application of the localPLSR function should be adapted to your data

How to cite this script

About

Quantification of soil parameters e.g. organic carbon, in field soil samples using spectrally similar soil samples from a large scale soil spectral database.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages