Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jun 25:61:111840.
doi: 10.1016/j.dib.2025.111840. eCollection 2025 Aug.

Dataset of near-infrared (NIR) spectral data for prediction of organic matter and total carbon in agricultural soil using homemade NIR spectrometer

Affiliations

Dataset of near-infrared (NIR) spectral data for prediction of organic matter and total carbon in agricultural soil using homemade NIR spectrometer

Natchanon Santasup et al. Data Brief. .

Abstract

The paper presents the spectroscopic data obtained from a homemade NIR spectrometer developed for agricultural quality analysis, along with the calibration and validation of a model database for predicting agricultural soil properties. We collected NIR spectral data from 190 soil samples taken at a depth of 0-20 cm from agricultural areas in northern Thailand, including vegetable farms, orchards, and field crops. The acquisition process started by air-drying the soil and sieving it through 2.0 mm and 0.5 mm mesh. Six preprocessing techniques, including Savitzky-Golay smoothing, multiplicative scatter correction (MSC), standard normal variate (SNV), first derivative, second derivative, and mean centering, were used with partial least squares (PLS) regression to create the prediction model for soil organic matter and total carbon. Seventy percent of the sample was divided into calibration and the remaining thirty percent was validation. The most suitable model for assessing soil organic matter (SOM) and total carbon is Savitzky-Golay smoothing through the PLSR model, with a coefficient of determination (R2) of 0.79 and 0.78, a root mean square error (RMSE) of 0.701% and 0.382% for validation samples, respectively. Thus, the NIR dataset spanning 900-1,700 nm proved to be an ideal wavelength range for developing a portable/handheld NIR spectrometer, with potential for further accuracy improvements through model refinement.

Keywords: Chemometric; Model development; Pre-processing technique; Soil fertility; Soil spectroscopy.

PubMed Disclaimer

Figures

Fig 1
Fig. 1
Raw NIR spectra of soil sample (a), spectral after smoothing pre-processing (b).
Fig 2
Fig. 2
Sample holder in the homemade NIR spectrometer (a), and soil Spectral data acquisition (b).
Fig 3
Fig 3
Comparisons of soil organic matter were assessed through wet oxidation and estimated using a homemade NIR spectrometer employing a smoothing preprocessing technique with a PLS model.
Fig 4
Fig 4
Comparisons of total carbon were assessed through wet oxidation and estimated using a homemade NIR spectrometer employing a smoothing preprocessing technique with a PLS model.

Similar articles

References

    1. Padhiary M., Saha D., Kuma R., Sethi L.N., Kumar A. Enhancing precision agriculture: a comprehensive review of machine learning and AI vision applications in all-terrain vehicle for farm automation. Smart Agric. Technol. 2024;8 doi: 10.1016/j.atech.2024.100483. - DOI
    1. Albuquerque J.R.D.P., Makara C.N., Ferreira V.G., Brazaca L.C., Carrilho E. Low-cost precision agriculture for sustainable farming using paper-based analytical devices. RSC. Adv. 2024;14(30):23392–23403. doi: 10.1039/d4ra02310b. - DOI - PMC - PubMed
    1. Soriano-Disla J.M., Janik L.J., Viscarra Rossel R.A., Macdonald L.M., McLaughlin M.J. The performance of visible, near-, and mid-infrared reflectance spectroscopy for prediction of soil physical, chemical, and biological properties. Appl. Spectrosc. Rev. 2014;49(2):139–186. doi: 10.1080/05704928.2013.811081. - DOI
    1. Rossel R.A.V., Walvoort D.J.J., McBratney A.B., Janik L.J., Skjemstad J.O. Visible, near infrared, mid infrared or combined diffuse reflectance spectroscopy for simultaneous assessment of various soil properties. Geoderma. 2006;131:59–75. doi: 10.1016/j.geoderma.2005.03.007. - DOI
    1. Yu B., Yan C., Yuan J., Ding N., Chen Z. Prediction of soil properties based on characteristic wavelengths with optimal spectral resolution by using Vis-NIR spectroscopy. Spectrochimica Acta Part A. 2023;293 doi: 10.1016/j.saa.2023.122452. - DOI - PubMed

LinkOut - more resources