Introduction

An accurate and advanced detection of soil physicochemical attribute (SPA) is a tricky issue in soil science which is requisite for precision farming, environmental monitoring, decision-making, and planning. However, soils are more heterogeneous and dynamic in nature than air and water. In addition, the structure, study and processes of soils are also complicated and formidable both spatially and temporally. With reference to the past experiences, the customary laboratory investigations were made to detect the soil chemical and physical attributes using hazardous compounds. However, these laboratory methods are time-consuming, expensive, and labor-intensive. Consequently, there is a universal need to develop speedy and less expensive methods to detect the SPA (Anne et al. 2014; Bilgili et al. 2010; Das et al. 2015; Rossel et al. 2006, 2016; Vibhute and Gawali 2013). Accordingly, neoteric research has suggested that the usage of VNIR (350–2500 nm)-DRS could be an inexpensive prognostication of SPA that may be used to improve or replace the customary ways of soil analysis overcoming some of the limitations. The VNIR-DRS is productive, rapid, non-wasting, non-destructive, and more accurate as compared to customary ways. The in situ method provides information about the SPA without perilous compounds (Awiti et al. 2008; Bilgili et al. 2010; Brown et al. 2006; Demattê et al. 2010; Rossel et al. 2006, 2016; Srivastava et al. 2017; Udelhoven et al. 2003; Zornoza et al. 2008). In addition, a single spectrum of soils provides information about the various SPA and the methods are adaptable for on-the-go at the field (Rossel et al. 2006). Nevertheless, single reflectance spectra of soil may be diminished by the physicochemical attributes of the soil and the controlled laboratory conditions may provide variable physicochemical attributes of soils which are difficult to determine directly (Ben-Dor et al. 1999, 2002; Ben-Dor and Banin 1994).

The digital soil exploration and its physicochemical attributes detection along with appraisal of it is somewhat formidable task due to availability of various SPA in soils. The varied effect of various attributes of planet surface that can affect the reflectance spectra of soils. The premise of detecting and estimating SPA using VNIR-DRS analysis under laboratory conditions was extensively tested by scientists with some limits. Over the past few decades, many scientists have demonstrated that reflectance spectra of soil in the VNIR region can detect and predict the SPA along with its classification and mapping with hyperspectral datasets (Anne et al. 2014; Ben-Dor et al. 2002; Vibhute et al. 2015). For instance, Rossel et al. (2016) developed a soil spectral library and predicted some soil properties such as soil organic and inorganic carbon, pH, sand, silt, clay, cation exchange capacity (CEC), and iron contents of all land cover soils. The machine learning approach was used to predict the soil attributes (Rossel et al. 2016). Spectral models were developed based on PLSR to estimate the soil properties at densely covered regions with coastal vegetations. The predicted soil attributes were SOM, labile carbon, labile nitrogen, silt, and clay with good accuracy (Anne et al. 2014). VNIR and mid-infrared or combined DRS were compared simultaneously to determine the combined information generated improved outcomes of soil properties than each of the individual regions. The PLSR model was implemented to calculate calibration models for extraction of soil properties such as soil pHca, pHw, CEC, lime requirements, organic carbon, exchangeable calcium (Ca) and aluminum (Al), nitrogen, phosphorous, potassium, sand, clay, silt, and EC. The results were varied according to the reflectance regions of spectroscopy for the predictions of individual attributes (Rossel et al. 2006). The raw reflectance spectra of soils may give the unacceptable results due to errors found in data while recording the spectra by the devices. Consequently, spectral data of soil can transfer with derivatives and smoothing methods to reconstruct the raw data. The study has been carried out by (Bilgili et al. 2010) using the first-order derivative transformation (FDT) and Savitzky–Golay (SG) methods along with PLSR and multivariate adaptive regression splines (MARS) models for obtaining soil properties.

The methodology is well established in soil science to predict the soil properties with various methods using VNIR-DRS regions for various soil groups. However, the spatial and temporal variability of soils in addition to methods used to detect and predict the soil properties have several limitations to some extent. Moreover, the literature reveals the less attention in the farming sectors for rapid detection of spatial information of SPA which allows management and planning to use fertilizers to the crop growth while increasing the farming productivity with decreasing risks of farming droughts.

Under this constraint, efforts have been made to detect and predict the SPA from the farming soils. The goal of this study is to develop statistical models which predict soil attributes belong to the nutrients and soil textures which are imperative to crop growth from the farming sectors. The main objectives of the study were (1) to study the VNIR-DRS regions to detect and predict the SPA from farming sites, (2) to reconstruct the raw spectra by pre-treatment methods (Savitzky–Golay and derivatives), and (3) to develop PLSR-based statistical models from VNIR-DRS regions which predict soil attributes belong to the nutrients and soil textures. As per literature, very few studies have been done for SPA from farming sites for the region. The present manuscript is arranged in four sections. The first section introduces the challenges of the related study with advancement of VNIR-DRS hyper spectral remote sensing datasets with background study. The second section highlights the geographic location of the studied site, soil sampling and chemical analysis strategy, spectral measurements by the ASD instrument, spectral pre-treatment with its renovation, statistical modeling, chemometrics analysis using PLSR model, and its precision evaluation. Experimental results were explained in the third section with detailed discussion. Conclusion and future scope have been given in the fourth section.

Materials and Methods

The study site

The study site (Fig. 1) was selected which covers near about 72 km2 area of Kanhori, Pimpalgaon Walan, Pal, and Wanegaon rural areas in Phulambri Taluka of Aurangabad district, Maharashtra, India. The soil specimens were agglomerated from a study region on the experimental farming sectors of said region geologically to be located at 19°28′43.27″–20°24′52.19″ N latitude and 75°13′10.75″–75°30′14.87″ E longitude. The study site has a complex nature with hills (Vibhute et al. 2016). The site has a semiarid atmosphere at an elevation of 580 m above the sea level with an average annual temperature as 17 to 33 °C and an annual average precipitation of 710 mm. The surface soil type of the site is black cotton soil and mostly textured as sandy loam in the studied site.

Fig. 1
figure 1

The geographical location of the study site

Soil sampling and chemical analyses

The topsoil (0–20 cm) soil specimens were agglomerated from 72-km2 farming sectors in airtight containers. The soil sampling was implemented during the period of 10 February–25 March, 2015, just after the harvest of cotton, wheat, and Jowar crops in between 0800 to 1330 h with clear climate. The surface crop/plant relics were removed by hands while agglomerating the specimens in airtight containers. An exhaustive 74 specimens was agglomerated, air-dried, and passed through a 2-mm sieve. The specimens were uniformly alienated into two portions which were used for determining the reflected spectra of soils and SPA, respectively. The soil in the site consisted of mainly deep and medium black cotton with sandy loam texture (Balpande 2013). A number of 15 soil specimens were used for calibration set and the rest of the 59 specimens were used for a validation set from the random 74 specimens.

The components of SPA for our study were SOC, N, SOM, pH values, EC, P, K, Fe, sand, silt, and clay. The chemical analyses of soil attributes were performed at the “MIT Soil and Water Testing Laboratory”, Aurangabad, Maharashtra, India. The SPAs were analyzed by standard laboratory methods. Soil particle size (soil textures) distributions were determined by the Bouyoucos hydrometer method (Bouyoucos 1927). The potassium dichromate method was used for the analysis of SOM content. Soil pH was determined in water with 1:2 (soil:water ratio) using a glass electrode pH meter (Eckert and Sims 1995) and EC in soil using a conductivity meter (Jackson 1973). The K concentrations of the soil extracts were calculated by a flame photometer (Jackson 1973). The SOC and N were determined by the Thermo Quest EA 1112 elemental analyzer. P was analyzed by calorimetrically (molybdenum blue) method.

Spectral measurements using the ASD

The reflected spectra of each soil specimen were measured using the ASD Field Spec 4 spectroradiometer (Fig. 2a) (https://www.asdi.com/) at VNIR wavelengths ranging from 0.35 to 2.5 μm, yielding a total of 2151 data values per spectrum. The measuring was instantly after the specimen agglomeration from farming sectors. The instrument has high spectral resolution with 3 nm for 350–1000 nm and 10 nm for 1000–2500 nm along with sampling intervals 1.4 and 2 nm for each range. Specimens were placed at the bottom of a 4-cm diameter Petri dish using a high-intensity source probe. This instrument uses a 75-W tungsten quartz halogen filament lamp as a light source for illuminating the specimens. The lamp was set as 60° of zenith angle at a distance of 45 cm above the soil specimen. The reflected light was collected in 1-nm bandwidths between 0.35 and 2.5 μm with 8° field-of-view (FOV) fiber-optic cable of spectroradiometer that was kept off-nadir at a distance of 15 cm above the soil specimen. The instrument was optimized and calibrated using white spectralon for obtaining absolute reflectance for controlled laboratory readings before specimens were recorded (Hatchell 1999). The average of 10 spectra was recorded at each specimen to minimize noise produced by the instrument for obtaining the final spectra. The RS3 (version 6.3) inbuilt software was used to record the reflected spectra.

Fig. 2
figure 2

a The ASD Field spec 4 spectroradiometer with optical setup and b acquired raw spectra of all 74 specimens of soils

Spectral pre-treatment and renovation

The fringe spectra 350–399 nm and 2451–2500 nm were omitted prior to performing statistical analysis as these were found to be background or low-signal-to-noise produced by the instrument, leaving 2051 waveband predictors between 400 and 2450 nm (Fig. 3a) (Hatchell 1999; Rossel et al. 2006). The reflectance spectra were transferred from .asd file to ASCII and exported in batches by View Spec Pro (6.0.11) designed by ASD Inc.

Fig. 3
figure 3

a Fringe removed spectra and b FDT with SG smoothing of all soil specimens of the study

The spectral data were renovated by FDT (Savitzky and Golay 1964) with SG smoothing in Unscrambler X 10.5 software CAMO, Norway. The mathematical formation of SG smoothing method is formulized by Eq. 1.

$$ {A}_i, SG=\frac{\sum \limits_{j=-m}^{j=m}{C}_j\cdot {A}_i+j}{N} $$
(1)

where Ai, SG is the smoothed and Ai is the original reflectance value, Cj is the filter coefficients, j is the running index of the original data in the original data table and N is the number of convoluting integers (Savitzky and Golay 1964).

The mathematical treatments of the SG transformation were 2, 1, 2, and 5, which refer to the order of polynomial, order of derivative, first smoothing point, and second smoothing point, respectively. The FDT and SG smoothing was used to process all the spectral data to smooth the spectra and to eliminate the particle size effects and noise produced by illumination variations (Bilgili et al. 2010; Tsai and Philpot 1998). It is found to be an optimal spectral pre-treatment in alike studies (Awiti et al. 2008; Bilgili et al. 2010; Srivastava et al. 2017). The SPAs were detected by the first derivative transferred spectra which generally augment the absorption features. Finally, combination of FDT with SG smoothing method was used in predicting the soil attributes.

Statistical modeling

A number of 74 specimens was randomly separated into two subsets viz. calibration (15) and validation (testing) (59) datasets. The predictions of SPA were based on cross-validation of all specimens used in the calibration and afterward to test the precision of predictions with validation datasets. The correlation studies were performed between SPA and their respective predictor variables (spectral reflectance) using the statistical analysis. The calibration between reflectance of soil and its SPA were carried out in Unscrambler X 10.5 software CAMO, Norway, via PLSR-based chemometric analysis approach.

Chemometric analyses

The renovated spectra by pre-treatment methods were used to implement PLSR-based models with leave-one-out cross-validation and were used to calibrate the spectral data with the reference (laboratory) data of soil.

Partial least squares regression (PLSR)-based modeling

PLSR is a widely acceptable modeling method in chemometrics and is normally used in quantitative reflectance spectroscopy data analyses. The PLSR is a linear multiple regression method which merges and generalizes the features from multiple regression and principal component regression. The two matrices X and Y are relatively used using a linear multivariate model. It is also used to construct the predictive model using highly correlated spectral variables while reducing the unwanted spectral bands. The PLSR decomposes the X and Y variables with finding new latent variables and selects successive orthogonal factors that maximizes the covariance between predictor (X-soil reflectance) and response variables (Y-measured SPA by laboratory data). In the fitting of the PLSR model, the selection of the number of the latent variables is critical to prevent the data that explain most of the variation in both predictors and responses. Consequently, proper fitting of the data is very important which were obtained by cross-validation (Bilgili et al. 2010; Rossel et al. 2006; Qiao et al. 2017). The basic idea behind the PLSR model is to look for components T that allow us to decompose the block of predictors (Eq. 2),

$$ X=T\cdot {P}^T+ Residuals(E) $$
(2)

and predict the response variables (Eq. 3),

$$ Y=T\cdot C+ Error(f) $$
(3)

where X and Y are the mean-centered matrices that contain the predictor and response variables, respectively. P and C are the factor loadings, and E and f are the matrices of residuals and errors, respectively (Rossel et al. 2006; Lin et al. 2016).

Prediction accuracy assessment of models

The prediction accuracy of the models was used for each soil attributes based on PLSR method and was tested using coefficient of determination (R2) values, RMSEP, and ratio of performance to deviation (RPD) by Eqs. 4, 5, and 6, respectively. The best model was chosen based on higher values of R2 and lower values of RMSEP. The lower the RMSEP and the higher the R2 indicate a more accurate and stable model.

$$ {R}^2=1-\frac{\sum \limits_{i=1}^n{\left({Y}_{meas}-{Y}_{pred}\right)}^2}{\sum \limits_{i=1}^n{\left({Y}_i-{Y}_{mean}\right)}^2} $$
(4)
$$ RMSEP=\sqrt{\frac{1}{n}\sum \limits_{i=1}^n{\left({Y}_{pred}-{Y}_{meas}\right)}^2} $$
(5)
$$ RPD={SD}_{val.}/ RMSEP $$
(6)

where Ymeas is the measured value (SPA), Ypred is the predicted theoretical value, Ymean is the mean of measured values, n is the number of measured/predicted values with i = 1, 2, 3,…,n, SDval. is standard deviation of measured values in the validation set, and RMSEP is the root mean square error of prediction of validation dataset (Bilgili et al. 2010; Srivastava et al. 2017; Zornoza et al. 2008).

Results and discussion

Raw spectra and pre-treatment

The fringe removed spectra of 74 specimens as discussed in the earlier “Spectral pre-treatment and renovation” section are exposed in Fig. 3a and b. Figure 2b shows the raw spectra derived by the ASD instrument (Fig. 2a) with the wavelength 350–2500 nm of 74 soil specimens which are having unwanted noise in fringe spectra. Consequently, firstly fringe spectra were eliminated (Fig. 3a and b) from the processing to avoid the said noises which are generally present in the wavelength 350–399 nm and 2451–2500 nm. The fringe removed hyper spectral data has also much more spectral channels which is very complicated for computation.

Chemical composition (laboratory analysis) and correlation of soil attributes

The statistics of the SPA of the processed soil specimens studied under laboratory conditions are given in Table 1.

Table 1 Statistical summary of the SPA analyzed using conventional laboratory methods

Table 1 shows that the SOC was ranged between 0.123 and 0.161 g kg−1 with more soil specimens having fewer values than 0.13 g kg−1. The soil pH values ranged from 7.14 to 8.42 which mean more soil specimens were having less than 7.95 pH values, which indicated that the soil from the studied region was good for farming practices. The total average nitrogen was below than 226 mg kg−1, whereas SOM concentration was average 50.46 g kg−1. The EC values vary from 0.25 to 0.46 d Sm−1 where values were less than 0.36 d Sm−1. The average values of P, K, and Fe were 37.41, 1937.06, and 1.85 mg kg−1, respectively. The textural classes of soils were also calculated in the terms as sand, silt, and clay with average values 230.37, 236.11, and 77.63 g kg−1, respectively. The silt concentrations were higher values than sand and clay textures. The textural class silt was varied from 97 to 876 g kg−1 and sand was varied between 89 and 765 g kg−1 along with clay varied between 109 and 398 g kg−1. The correlation matrix of measured soil attributes is given in Table 2.

Table 2 Correlation matrix of measured soil attributes

The soil attributes such as SOC, N, SOM, pH, EC, P, K, Fe, sand, silt, and clay were correlated to each other with both positive and negative sides. The SOC is strongly correlated with N, SOM, pH, and EC, and negatively correlated to P and Fe. The SOM is positively correlated to pH values, EC, Fe, silt, and clay, and negatively correlated to P, K, and sand. The pH is negatively correlated to EC values, K, and sand, whereas Fe is moderately correlated to sand and silt while negatively correlated to clay. The P is positively correlated to Fe, sand, and clay whereas K is positively correlated to Fe, silt, and clay. Sand is negatively correlated to silt and clay.

Spectral reflectance characteristics of soil and its relationship with attributes in soil

The soil reflectance curve is affected by the physicochemical attributes of soil. The major physical attributes of the soil which affect the spectral reflectance curve are soil moisture, soil structure, soil texture, soil color, soil surface conditions, etc. along with soil chemical attributes SOM, Fe, carbonates, soil minerals, and salinity of soil. The spectral reflectance of soils is decreased by the soil attributes particularly with increase of organic matter, soil water contents, and soil clay contents with Fe contents (Bowers and Hanks 1965; Mitran et al. 2015). Figure 3a and b illustrates the fringe bands removed raw spectra derived by the ASD instrument (Fig. 2a) which was used to carry the present study along with the FDT with the SG smoothing method. The soil reflectance with the fringe removed spectra (Fig. 3a and b) clearly shows that the reflectance curve of spectra was smoothed and reflected very well and noise-free. The visible region (400–700 nm) of the spectrum has lower reflectance (Islam et al. 2003; Shepherd and Walsh 2002) as compared to the near-infrared (1000–2450 nm) region which reflects high for soil. The three notable absorption peaks were identified at 1417-, 1914-, and 2209-nm bands by reflectance spectra as well as FDT-SG methods along with clay concentrations at 2200–2329 nm (Ben-Dor and Banin 1994; Islam et al. 2003). The absorption peaks at 1400 and 1900 nm are related to water (moisture and hydroxyl ions) and clay lattice OH features at 1400 and 2200 nm (Bilgili et al. 2010; Srivastava et al. 2017). The water absorption peaks were usually enhanced in the FDT with SG smoothing method (Fig. 3a and b). The correlation matrix (Table 2) showed that SOC, N, SOM, pH values, and EC values have significant correlation with the reflectance at 417, 436, 441, 444, 447, 480, 517, 549, 572, 617, 747, 760, 832, 847, and 980 nm. Accordingly, the results show that there are both positive and negative correlations between soil attributes and their reflectance spectra at various wavelengths. The highest correlation for the soil N material (R2 = 0.95) was found at 980 nm. Some of the other high correlations were also observed for pH values (R2 = 0.87), EC values (R2 = 0.89), and SOM (R2 = 0.89). The reference of Wei et al. (2017) reported the positive correlations with reflectance spectra of N contents at visible wavebands. The visible waveband at 417 nm was determined as the significant wavelength along with 1000 nm (Qiao et al. 2017). The more sensitive wavelengths for N, SOC, and SOM were found at 403, 470, 687, and 846 nm for N; at 400, 409, 441, and 907 nm for SOC; and at 400, 441, 832, and 907 nm for SOM (Gmur et al. 2012).

Prediction of attributes in soil based on PLSR modeling

The random cross-validation method along with kernel PLS of PLSR was used on both raw datasets (Table 3, Figs. 4 and 5) and FDT with the SG smoothing datasets (Table 4, Figs. 6 and 7) to test the prediction accuracy for soil attributes. The soil attributes such as SOC (R2 = 0.72 and RMSE = 5.55), SOM (R2 = 0.71 and RMSE = 5.69), pH values (R2 = 0.68 and RMSE = 2.87), EC (R2 = 0.80 and RMSE = 2.07), P (R2 = 0.92 and RMSE = 3.07), K (R2 = 0.69 and RMSE = 5.35), sand (R2 = 0.80 and RMSE = 8.95), and silt (R2 = 0.87 and RMSE = 2.20) were well calibrated before its pre-treatments. Table 3 describes the statistics resulted from PLSR modeling with its calibration (R2 values and RMSE) and validation (R2 values, RMSEP, SD, and RPD) before the use of FDT with the SG smoothing methods. Figures 4 and 5 depict the scatter plot of measured values and VNIR prediction values of all soil attributes derived from PLSR models before its pre-treatment.

Table 3 The statistical summary of the spectral models for the soil attributes using PLSR on raw datasets (before pre-treatment)
Fig. 4
figure 4

Scatter plots of measured values and VNIR prediction values of SOC, SOM, pH values, EC, P, and K derived from PLSR modeling on raw datasets (before pre-treatment)

Fig. 5
figure 5

Scatter plots of measured values and VNIR prediction values of Fe, sand, silt, clay, and N derived from PLSR modeling on raw datasets (before pre-treatment)

Table 4 Statistics summary of the spectral models for the soil attributes using PLSR on FDT with the SG smoothing datasets (after pre-treatment)
Fig. 6
figure 6

Scatter plots of measured values and VNIR prediction values of SOC, SOM, pH values, EC, P, and K derived from PLSR modeling on FDT with the SG smoothing datasets (after pre-treatment)

Fig. 7
figure 7

Scatter plots of measured values and VNIR prediction values of Fe, sand, silt, clay, and N derived from PLSR modeling on FDT with the SG smoothing datasets (after pre-treatment)

Higher regression coefficients (R2) were obtained for all the PLSR models developed for predicting the soil attributes in the calibration sets. The prediction results of raw datasets (before the pre-treatment explained in the “Spectral pre-treatment and renovation” section) obtained satisfactory values for SOC (R2 = 0.72 and RMSEP = 5.64), SOM (R2 = 0.68 and RMSEP = 5.89), pH values (R2 = 0.67 and RMSEP = 2.96), EC (R2 = 0.77 and RMSEP = 2.27), P (R2 = 0.90 and RMSEP = 3.38), K (R2 = 0.65 and RMSEP = 5.62), sand (R2 = 0.80 and RMSEP = 9.31), and silt (R2 = 0.85 and RMSE = 2.42). The soil attributes such as N, Fe, and clay were moderately calibrated and validated (Table 3) as compared to other soil attributes. Table 4 summarizes PLSR cross-validation statistics for the soil attributes after the use of pre-treatment methods (FDT with the SG smoothing). The PLSR method was evaluated using cross-validation R2 and RMSEP with RPD (Table 4) for various soil attributes. Figures 6 and 7 demonstrate the scatter plot of measured values and VNIR prediction values of all soil attributes derived from PLSR models after its pre-treatment by FDT-SG methods.

The evaluation of the accuracy for prediction performances of the PLSR models for various soil attributes was estimated based on R2, RMSEP, and RPD values achieved in the independent validation set, both of raw datasets and transferred datasets by SG-FDT method (Tables 3 and 4). The value of R2 demonstrates the percentage of the variation in the dependent variable that is accounted for the independent variables. The RMSEP value estimates the variation of predicted values around measured values, and as this approaches to zero, prediction performance of the equation improves (Srivastava et al. 2017).

The prediction of accuracy has been improved by the RPD factor as compared to using the mean composition for all samples (Srivastava et al. 2017). Chang et al. (2001) have predicted the quality of soil attributes using VNIR-DRS is based on RPD values. The RPD factor has categorized into three ranges of RPD values as > 2.0, 1.4–2.0, and < 1.4 which indicate the excellent, acceptable, and poor predictions, respectively. They recommended that the predictions between the ranges 1.4 and 2.0 could be gained by various calibration approaches. On the other hand, the properties of the ranges < 1.4 may not be reliably predicted using DRS (Chang et al. 2001). As per the result, the developed calibration models of soil attributes were performed better for RPD values for all soil attributes excluding Fe, sand, silt, and clay on the raw datasets and EC with clay on the FDT-SG datasets as indicated in Tables 3 and 4. The high RPD values of SOC, N, SOM, pH, and EC were 3.99, 2.57, 2.50, 3.72, and 3.50, respectively, for the raw datasets, whereas high RPD values of SOC, N, SOM, pH, and Fe were 2.19, 2.13, 2.31, 2.03, and 2.14, respectively, for FDT-SG datasets. The acceptable RPD values were 1.58 and 1.56 for P and K, respectively, on raw datasets, whereas 1.81, 1.48, 1.78, and 1.74 for P, K, sand, and silt, respectively, on processed datasets. Poor predictions were obtained for Fe, sand, silt, and clay with RPD values between 0.90 and 1.27 on raw datasets and EC (1.33) and clay (1.32) with RPD values on transferred datasets. The calibration and prediction accuracy (R2 values) of all soil attributes were increased significantly after the pre-treatment by FDT-SG method as the results detailed in the Table 4. The prediction results may vary based on different statistical processing methods and derivatives of spectra (Reeves et al. 2002). The best predictive models were obtained for SOC (R2 = 0.89 and RMSEP = 3.51), SOM (R2 = 0.93 and RMSEP = 2.66), pH values (R2 = 0.82 and RMSEP = 2.12), EC values (R2 = 0.89 and RMSEP = 4.11), P (R2 = 0.98 and RMSEP = 1.41), K (R2 = 0.82 and RMSEP = 4.22), Fe (R2 = 0.94 and RMSEP = 1.56), sand (R2 = 0.98 and RMSEP = 1.89), and silt (R2 = 0.90 and RMSEP = 1.97). The moderate predictions were obtained for N and clay only with R2 = 0.68 and RMSEP = 4.34 and R2 = 0.69 and RMSEP = 9.91, respectively. The results found in this study are superior to the previous study by Bilgili et al. (2010) for SOM, K, pH values, EC values, sand, and silt with R2 = 0.93, 0.82, 0.82, 0.89, 0.98, and 0.90, respectively. The R2 values of the present study for SOC (0.89), N (0.68), sand (0.98), silt (0.90), clay (0.69), P (0.98), K (0.82), and EC (0.89) are slightly better than those of the reference (Rossel et al. 2006) which were revealed for the simultaneous assessment of various soil properties using visible, near-infrared, mid-infrared, or combined diffuse spectroscopy. The classification of the soil condition was estimated using infrared spectroscopy and resulted coefficient of determination (R2) of pH values (0.72), sand (0.75) and silt (0.77) which were smaller than the values reported in Awiti et al. (2008) as compared to the values reported here.

Conclusions

The soil attributes were detected through the VNIR-DRS with soil specimens accumulated from farming sectors. It is concluded that the soil attributes can be detected successfully by the VNIR hyper spectral (DRS) datasets at wavelength 400–2450 nm with superior outcome. Our outcome demonstrated that the potential use of VNIR spectroscopy for detecting the soil attributes can be used in an effective manner which may be useful in precision farming practices along with farming planning and management. According to the current study, spectral pre-treatment is essential to correlate the soil attributes in a better way. It may be concluded that the pre-treatment by SG-FDT method produced positive response on the robustness of PLSR models. Major soil nutrients were well predicted using hyper spectral VNIR spectroscopy. Our results revealed the importance of VNIR spectroscopy for the measurement of soil properties than the conventional laboratory approaches which are costly, time-consuming, and tedious. The PLSR-based model was developed for detecting the soil nutrients with better accuracy for all attributes with less RMSEP values as mentioned in Tables 3 and 4. The sensitive bands were detected for SOC at wavelengths 436, 444, 447, 549, and 616 nm; for N at wavelengths 480, 980, and 1702 nm; and for SOM at wavelengths 417, 441, 832, and 907 nm. The bands at 517, 657, 747, 1477, and 1492 nm showed good correlations with soil pH values, whereas bands at 572, 847, 992, 1202, 1537, 1622, and 1767 nm for EC values. The K sensitive bands were correlated at wavelengths 535, 1542, 1862, and 1947 nm. In conclusion, the pre-treatment is imperative for developing PLSR models to extract the soil attributes from the VNIR spectrum. The detected soil attributes were analyzed by spectroscopy using the PLSR model which may be useful in precision farming and management. In the future scope, more soil samples will be considered for developing better predictive models. The detected soil attributes will be quantitatively mapped through satellite or airborne hyper spectral imagery for the large area.