1 Introduction

Soil texture is an important property that affects a soil’s function, water retention, and distribution of nutrients and trace elements (Dexter et al. 2004; Acosta et al. 2011; Rabot et al. 2018; Schweizer et al. 2019; ). Also, knowledge about soil texture or particle size distribution helps measure bulk density and soil organic matter (Dexter et al. 2004; Keller et al. 2010; Prout et al. 2020). However, the sector standard for determination of soil texture involves quantification of % clay, % silt, and % sand with the sieve-pipette method. This process was developed nearly 40 years ago by Gee and Bauder (1986) and requires several lengthy pre-treatment stages (Jensen et al. 2017), whereby soil organic matter is removed in the first step by treating dried and sieved soils with hydrogen peroxide (H2O2) overnight. After which, more H2O2 is added, and the solution is heated, followed by the addition of NH4OH to decompose any remaining H2O2. Deionised water and sodium hexametaphosphate are then added, and the samples are left on an end-over-end shaker for 16 h. The solution is decanted in sieves with different mesh sizes to collect coarse and fine sand particles, and part of the solution is poured into crucibles and oven dried overnight. The remaining liquid is left in a temperature-controlled water bath for a few hours to settle. Thereafter, the solution is shaken, and aliquots are taken for silt and clay content and oven dried overnight, the process is then repeated for sampling of clay content. Consequently, the process is time-consuming and labour-intensive, with it taking about 2–3 days to obtain results for a sample, and only about 20 samples can be analysed in a typical laboratory per week.

In recent years, rapid techniques for particle size analysis such as the laser diffraction method have been developed; however, this method overestimates and sometimes underestimates % clay in some soil types due to the particle morphology (Beuselinck et al. 1998; Taubner et al. 2009). Fenton et al. (2015) indicate that altering the clay/silt particle size boundary during analysis with the laser diffraction method can compensate for the overestimation and underestimation of % clay in some soil types. However, these systems are still expensive to acquire and do not provide additional data other than particle size.

According to Lucadamo and Leone (2015), spectrometry techniques coupled with mathematical models such as chemometrics can be effective methods for predicting soil texture. X-ray fluorescence spectrometry (XRF) is a suitable rapid and cost-effective method for measuring trace elements and macronutrients in various environmental samples, including soil with the additional advantage of being portable ( Kalnicky et al. 2001; Melquiades and Appoloni 2004; Wu et al. 2012; Rouillon and Taylor 2016; Melquiades et al. 2019; Croffie et al. 2020). XRF measured elements such as rubidium (Rb) have been found to strongly correlate with % clay and % sand in soils from different countries (Zhu et al. 2011; Tóth et al. 2019).

Rb is strongly adsorbed to clay minerals in weathered soils; however, it does not form its own minerals, but it is present in the interlayer sites of mica as a replacement for K (Wampler et al. 2012; Zaunbrecher et al. 2015). Rb is also present in illite and montmorillonite as it has similar ionic radii with K (Négrel et al. 2018; Swetha and Chakraborty 2021). Although Rb and K are strongly correlated in soils, the use of K as an indicator to predict % clay may not be feasible since K concentration in soils is influenced by plant uptake and the application rate of fertilisers (Fay et al. 2007; Tóth et al. 2019). Comparatively, Rb is seldom added to agricultural soils, and it is not mobile; hence, its concentration can better reflect the physico-chemical properties of soil.

In addition, other elements such as Fe, Si, and Al have been found to strongly correlate with % sand and % clay; thus, correlation between these elements and particle size distribution results from the mineralogy of the soils due to their parent material and weathering-leaching degree (O’Rourke et al. 2016; Silva et al. 2020; Swetha and Chakraborty 2021). Soils from certain areas are rich in Fe, Si, and Al oxides, hydroxides, and silicate minerals such as phyllosilicates and tectosilicates; also Al and Fe can be found in the clay fractions, with Si in the sand fraction; thus, the chemical composition of the soils is related to soil texture (Zhu et al. 2011; O’ Rourke et al. 2016; Silva et al. 2020). It is important to note that although these studies used portable XRF, sample analyses were done under laboratory conditions and not in the field. For example, the soils were dried, sieved (2 mm mesh), and measured as loose powders. Improvements to the accuracy of the XRF analysis can be achieved with sample preparation techniques such as pressed pellet or fused beads (Shibata et al. 2009; Markowicz 2011; Takahashi 2015; Schneider et al. 2016; Takahashi 2015; Ichikawa and Nakamura 2016) but also by using Cartesian geometry EDXRF benchtop systems operated under vacuum atmosphere (Croffie et al. 2020).

Despite XRF measurement having been shown as a suitable technique for soil texture prediction in Indian, Brazilian, and Australian soils (O’Rourke et al. 2016; Silva et al. 2020; Swetha and Chakraborty 2021), there is limited research on XRF use to predict particle size distribution (PSD) in Irish soils. Geology and climate have a notable influence on soil formation in Ireland; thus, the country has a unique landscape, whereby the soil parent material’s chemical and physical properties differ over short distances (Meere et al. 2013; Creamer et al. 2007). The parent materials in Ireland are mostly comprised of solid bedrock geology or bedrock-derived glacial geology, and the soils are formed from the retreat of glacial deposits (Holland and Sanders 2009; Ballantyne et al. 2011a, b; Meere et al. 2013; Creamer and O’Sullivan 2018). Also, Ireland has a mild maritime climate due to its location on the North East side of the Atlantic Ocean where it forms the western fringe of Europe (Creamer and O’Sullivan 2018). Thus, precipitation is higher in the west and declines as it tracks to the east (Domonkos et al. 2020). The country’s weather is characterised by cool winters and mild summers and has a varied rainfall pattern with the highest annual precipitation (> 3000 mm) recorded in the mountainous regions of the west and south west, and annual precipitation is < 750 mm in parts of the east (Creamer and O’Sullivan 2018; Domonkos et al. 2020).

The main objective of this study was to explore the use of benchtop XRF as a rapid screening method to predict PSD in Irish soils. Another objective was to determine the best elemental parameter to predict PSD using simple linear regression models. We hypothesised that XRF measured elements coupled with regression models can predict % clay, % sand, and % silt in Irish soils.

2 Materials and method

2.1 Sample selection

This study used archived soils and data from two independent projects in the Republic of Ireland (ROI), namely the Irish Soil Information System (Irish SIS) and the Heavy Soil Programme (HSP). The Irish SIS consolidated existing information on the distribution of soil types in Ireland and created a 1:250,000 scale soil map with an archive of modal profiles and an accompanying database (Creamer et al. 2007; Creamer and O’Sullivan 2018). In addition, a new soil classification system for the country was generated by harmonising data for the SIS survey and previous soil surveys, thereby creating a soil classification consisting of three levels: great groups, soil subgroups, and series (Simo et al. 2019). The soils used for this study have been classified according to World Reference Base for Soil Resources (IUSS WG WRB 2015) and can be found in Supplementary Table ST1. Also, the details of the soil map of Ireland can be found here: https://gis.teagasc.ie/soils/.

The HSP is an ongoing project at Teagasc since 2011 that aims to improve grass growth on heavy textured soils by implementing appropriate land management systems (www.teagasc.ie/crops/grassland/heavy-soils/). An available archive of soil samples with an accompanying database representing 10 farms enrolled on this programme was used for independent validation of the linear regression models; however, the soil types featured did not cover as wide a range as the SIS data (calibration set). Samples with existing information on the parent material were randomly selected from the SIS samples archive. A total of 308 mineral soils covering a range of soil types and land use were selected and used to develop particle size predictions from XRF data. In addition, archived samples and data from the HSP (n = 47) were selected from the HSP project as a validation set. Figure 1 shows a map of Ireland highlighting the origin of the calibration and validation samples, and Supplementary Table ST2 shows the distribution of the samples on the selected counties based on parent material.

Fig. 1
figure 1

Map of Ireland showing the counties where the calibration and validation sets originate

For the final analysis, the SIS data were separated based on the parent material of the soils. Furthermore, 27 soils with no parent material information along with soils from Chert, Schist, and Old Redstone parent materials were eliminated from the SIS dataset due to their small sample size (n < 5). To explore the relationship between element concentration and PSD, only samples from limestone, shale, siliceous stones, sandstone, slate, and quartzite were considered which are the most representative of Ireland’s parent material. Also, from percentile analysis performed on the SIS data, samples with Rb > 150 mg kg−1 were not considered for calibration since 90% of the samples were below 150 mg kg−1. Moreover, 4 samples with clay > 50% were not considered as these are rarely found on agricultural soils in Ireland. Prior to this, the data was divided into different Rb concentration bands based on an Rb distribution map by Fay et al. (2007). A decision tree showing the selection process is shown in Supplementary Fig. SF1.

2.2 Sample preparation

Soil samples which had been dried at 40 °C and sieved at 2 mm were retrieved from long-term storage and mixed thoroughly using the coning and quartering method described by Gerlach and Nocerino (2003). To obtain a representative sample, a cone was formed with the soil sample initially; the cone is then flattened and divided into quarters. Opposite quarters are discarded and the remaining quarters are mixed and another cone is formed. A sub-sample is then taken from the newly formed cone. Representative samples were then made into a pressed pellet with a binder using 8 g of soil plus 2 g of a wax binder, with 20 tons of pressure then added to create the pellet (Croffie et al. 2020).

2.3 EDXRF analysis

All soil samples were analysed with a benchtop Rigaku NEX-CG EDXRF. The instrument is equipped with a nine-place sample holder with a spin function, a palladium X-ray tube, and a silicon drift detector. It uses secondary targets at Cartesian geometry to improve the detection of trace elements. The targets used for this study were Al, Mo, Rx9, Si, and Cu. Samples were scanned under a vacuum atmosphere. A library calibration is made weekly using pure elements, namely Cu, Sn, and SiO2 to check for instrument drift. All samples were run with the in-built fundamental parameters calibration. A multichannel analyser (MCA) was used as a drift monitor before analysis daily to check the instrument’s stability. Furthermore, certified reference materials (CRMs), ISE 921, BAM-U110, and NCS DC85108, were run after every 40 samples to check the instrument’s accuracy. The recovery (measured value/certified value*100) (Rouillon and Taylor 2016; Croffie et al. 2020) of the elements was calculated and shown in Table 1.

Table 1 Data for certified reference materials

2.4 Data analysis

Descriptive statistics were performed in MS-Excel 2016. Pearson correlation (r), coefficient of determination (R2), root mean square error (RMSE), and the significance of the data (p < 0.05) were analysed with GraphPad Prism 9.0 and MS-Excel 2016. All graphs were plotted with GraphPad Prism 9.0. Regression models were made with the same software to compare element data derived from the EDXRF to the sieve-pipette method’s (Gee and Bauder 1986) particle size results. The equation of the line y = mx + c of the regression models was used to predict particle size where x = % PSD, y = element concentration, c = y-intercept, and m = slope. Thus, for the predicted % PSD using the validation set, x was considered the unknown variable; therefore, to predict the % PSD with XRF, this equation was used: x = (y − c)/m.

3 Results and discussion

3.1 Selection of elements for calibration models

In this study, 7 elements were initially selected to examine their association with soil PSD fractions, namely Rb, Al, Fe, Si, Mn, Ca, and Mg. Three CRMs (Table 1) consisting of different concentrations of the elements were routinely analysed to check the measurement accuracy of the EDXRF. From Table 1, the lowest recovery observed was 77% for Si at a concentration of 271 g kg−1, and the highest recovery was 139% for Mg at 8.4 g kg−1. However, the recoveries for most elements (Table 1) were within the benchmark of 100% ± 20% for measurement accuracy (Rouillon and Taylor 2016; Sacristán et al. 2016). A summary of the range of concentrations for the selected elements and PSD for the calibration and validation sets is shown in Tables 2 and 3, respectively.

Table 2 Summary of descriptive statistics for soil samples from the Irish Soil Information System (SIS) (n = 308) (calibration samples)
Table 3 Summary data for the independent validation set from the heavy soils programme (HSP) consisting of soils originating from limestone, shale, and siliceous stone parent materials (n = 47)

The study focussed on significant associations between Rb and particle size. However, Al, Si, Fe, Mg, Ca, and Mn were also considered, and significant correlations between the selected elements and particle size fractions were examined to determine which elements were associated with PSD. A summary of the correlation results between the elements and PSD is shown in Table 4. There was a significant positive correlation between Rb and % clay (r = 0.27, R2 = 0.07) and Fe and % clay (r = 0.39, R2 = 0.15) (Table 4) and a negative correlation between Rb and % sand (r = − 0.24, R2 = 0.06) and Fe and % sand (r = − 0.49, R2 = 0.24) (Table 4). There was no significant correlation between % clay and Mn and % sand and % silt with both Mg and Mn. Although Ca had a significantly positive correlation (r = 0.17) with % sand and a negative correlation with both % clay (r = − 0.19) and % silt (r = − 0.11) (Table 4), the R2 was < 0.10.

Table 4 Correlation of elements with particle size distribution

From the initial correlation results stated above, Rb and Fe had a stronger relationship with % clay in Irish soils compared to the other elements. Previous studies by Tóth et al. (2019) and Zhu et al. (2011) found a stronger relationship between Rb and % clay (r > 0.80) in soils from Hungary and the USA, respectively, using portable XRF. However, unlike the previous studies, the initial correlation coefficient for this study was lower (r = 0.27) (Table 4). Compared to previous studies, the weaker relationship observed in this study was not influenced by the instrument’s accuracy as the recovery for Rb was within the benchmark of 100% ± 20% (Table 1). Moreover, the benchtop EDXRF used for the current study is equipped with secondary targets at Cartesian geometry, improving the sensitivity of trace elements such as Rb by reducing background intensity; thus, it is more sensitive/accurate and precise than the portable XRF (Bisgård et al. 1981; Zarkadas et al. 2001; Manousakas et al. 2018).

Also, the Rb peaks on the Mo targets were checked visually for any influence of background intensity using samples with low (5.52 mg kg−1) to high concentration (213 mg kg−1) (Supplementary Fig. SF2). No influence of the background intensity was found with concentrations above 24.4 mg kg−1, also the average concentration of Rb > 90 mg kg−1 (Tables 2 and 3) in Irish soils is above this threshold. Furthermore, in certain soil types whereby the particle size is larger than that of clay, such as sand, the EDXRF suffers from particle size effects resulting from variable particle size when using the pressed pellet sample preparation method (Croffie et al. 2020). However, from previous research (Croffie et al. 2020), the addition of the wax binder during sample preparation may reduce this effect by filling up the spaces between the coarse grains. Also, particle size is more pronounced in analysis of light elements such as P, Mg, and S with shallow analytical depth. However, Ichikawa and Nakamura (2016) estimated the analytical depth of Rb using igneous rock to be 800 μm which is deep enough for the EDXRF to measure accurately the concentration of Rb. In addition, Potts et al. (1997) indicates that the critical analytical depth that represents 99% of the XRF signal ranges from 632 to 1086 μm in silicate rocks. This shows that the EDXRF can accurately detect Rb at even low concentrations as shown in Supplementary Fig. SF2 unlike certain elements such as P and S. Based on this, the Irish dataset had a unique relationship between Rb and clay compared to the other soils (Zhu et al. 2011; Tóth et al. 2019).

3.2 Analysis of relationship between clay content and Rb based on location

When the data was divided into four different Rb concentration groups based on an Rb distribution map of Ireland by Fay et al. (2007), no strong association between Rb and % clay emerged (Supplementary Fig. SF3). Rb is found in clay fractions of the soil after weathering and Rb increases with increasing clay fractions; thus, in American soils (specifically soils from Louisiana and Capulin, New Mexico), there was a strong correlation (r > 0.80) between Rb and % clay (Zhu et al. 2011). However, from Supplementary Fig. SF3, the opposite is true for the Irish soils, whereby correlation was weak (r < 0.30) between Rb in concentrations from 40 to 60 mg kg−1, 60 to 150 mg kg−1, and 150 to 250 mg kg−1. The difference in the Irish soils compared to the American soils may result from different patterns of soil formation as the geology, mineralogy, and climate vary (Zhu et al. 2011; Creamer and O’ Sullivan 2018).

The relationship between Rb and % clay was examined again based on sample county origin and a trend emerged. Within the SIS dataset, it was observed that a strong relationship exists between Rb and % clay for counties Kerry, Louth, and Roscommon with an R2 of 0.77, 0.66, and 0.94, respectively, as shown in Fig. 2. Also, the correlation (r > 0.80) between Rb and % clay in samples from these counties was statistically significant (p < 0.001). In addition, from Fig. 2, the regression for Louth and Kerry followed the same trend; however, the regression line for the Kerry samples was steeper than that of Louth. This is similar to the findings of Zhu et al. (2011) who showed that samples from two different locations in the USA followed the same trend of relationship between Rb and % clay; however, the authors note that the slope of the Capulin samples was steeper than that of the Louisiana samples. Although the authors’ did not give a reason for this and state that the relationship between Rb and % clay needs further investigation. However, from this current study, the relationship between Rb and % clay could be influenced by the soils’ parent material. Moreover, geographically the counties are not very far apart; however, the parent material of the soils in Ireland is highly heterogeneous over short distances (Creamer et al. 2007).

Fig. 2
figure 2

Irish counties with soils having a strong correlation between Rb concentration and % clay

Also, in Fig. 2, the Roscommon samples showed a different trend compared to the Louth and Kerry samples because the concentration of Rb in samples from Roscommon was lower than the other counties. This again results from the parent material as Roscommon County (Fig. 1) is found in the midlands of Ireland, where the land area is mainly covered with carboniferous limestone bedrock (Holland and Sanders 2009). Limestone parent material usually has low Rb concentrations (Fay et al. 2007; Négrel et al. 2018). Also the Roscommon samples had the strongest association (R2 = 0.94) for Rb with % clay among the 3 counties.

Silva et al. (2020) state that the stronger correlation between Rb measured by XRF and % clay in the samples studied by Zhu et al. (2011) as compared to their Brazilian soils, which showed a poor correlation between Rb with % clay, resulted from the weathering patterns of the soils. In this study, the degree of correlation between Rb and % clay may result from weathering, geology (i.e. parent material), and mineralogy of the soils as these factors have the strongest influence on the physico-chemical characteristics of soils. Also, from Supplementary Table ST2, most Roscommon soils had limestone parent material, while Kerry and Louth’s samples were primarily derived from sandstone and siliceous stone parent materials.

Furthermore, Rb is closely bound to clay fractions in weathered soils; although it does not form its own minerals, it can replace K in feldspar and mica and in parent materials such as limestone; these clay fractions have a strong influence on the mechanical behaviour of the bedrock (Wampler et al. 2012; Zaunbrecher et al. 2015; Cherblanc et al. 2016; Négrel et al. 2018). Since Rb is not easily mobile, concentrations of Rb reflect the physico-chemical properties of a soil. From the results above, it was inferred that the most suitable approach to explore further the relationship between Rb and % clay in Irish soils was by grouping the dataset based on the parent materials.

3.3 Effect of parent material on the correlation of Rb against particle size distribution

Soils originating from limestone (R2 = 0.47, r = 0.69), siliceous stones (R2 = 0.54, r = 0.74), and slate (R2 = 0.39, r = 0.63) had a stronger association between Rb and % clay (Fig. 3) compared with soils originating from sandstone where R2 = 0.21 and r = 0.45. The strongest relationship between these parameters was recorded in soils derived from limestone and siliceous stones (Fig. 3). Table 5 shows the summary of correlation and regression results between the selected elements and PSD. Table 5 presents a significant (p < 0.05) positive correlation between % clay and Rb (r = 0.69), Fe (r = 0.77), and Al (r = 0.63) and negative correlation between % sand and Rb (r = − 0.66), Fe (− 0.72), and Al (r = − 0.63) in soils derived from limestone parent material. However, of the elements selected, Rb and Fe had the strongest relationships with % sand and % clay in soils derived from limestone and siliceous stones.

Fig. 3
figure 3

Regression plots showing parent material with the good correlation between % clay and Rb determined by EDXRF

Table 5 Regression and correlation results for elements measured by XRF and particle size distribution

The relationship between % silt and the selected elements was the weakest among the PSD for most parent materials. The strongest relationship with the selected elements was for Rb in soils from siliceous stones (R2 = 0.49, r = 0.70, p < 0.05), and the weakest relationship for % silt were Fe (r = 0.16, p > 0.05) for shale and Si (r = 0.17) for sandstone parent materials (Table 5). Furthermore, soils derived from quartzite had no significant relationship between the elements with % clay, % sand, and % silt except between Si and % silt (r = 0.60, R2 = 0.36).

These parent materials have different clay mineralogy (Ballantyne et al. 2006; Doff 2009), thus accounting for limestone and siliceous stone showing a stronger relationship between Rb and % clay than sandstone, quartzite, and slate. Also, since Rb is adsorbed to clay after weathering and concentrates in potassium (K) feldspar and mica, thus, the structure of different clay minerals is reflected by the concentration of Rb (Négrel et al. 2018). High concentration of Rb can be found in kaolinite and montmorillonite. Although there is limited information available on the clay mineralogy of the Irish soils, from Supplementary SF4, it can be inferred that the soils from granite, gneiss, quartzite, and slate may contain kaolinite and montmorillonite. Furthermore, higher Rb concentration reflects higher clay content (Zhu et al. 2011); however, some Irish soils did not follow this trend, which accounts for the weaker relationship observed in soils from granite, gneiss, quartzite, and slate. It is worth noting that the parent material in Ireland varies over short distances (Creamer et al. 2007); hence, there is a likelihood that the clay mineralogy may also vary.

Low concentration of Rb is associated with quartz and organic rich parent materials which results from increases in kaolinite, illite, and/or K-feldspar and muscovite (Négrel et al. 2018). The carboniferous limestone parent material distributed across Ireland is dominated by clays with high amounts of quartz and in some cases low levels of mica (Doff 2009). It could be that clay minerals in Irish soils with low concentrations of Rb have better correlation between Rb and % clay as compared to soils with higher concentrations of Rb.

Clay minerals have different mechanical behaviour (Cherblanc et al. 2016), and in terms of weathering, Rb distribution and geochemistry is different in the individual clay types. Thus, soils derived from parent materials that do not weather easily such as slate, granite, and quartzite show a weak relationship between Rb and % clay compared to soils from limestones which weather easily. In addition, soils from such parent material have high silica or hardened clay and retain more elements, explaining the high Rb concentration in these soils. Furthermore, each parent material has different weathering pattern and processes; hence, the weathered soils’ have both physical and chemical characteristics unique to the parent material (Clemens et al. 2010; da Silva et al. 2016; Négrel et al. 2018). Thus, due to this unique geochemistry of the weathered soil, Mancini et al. (2020) were able to predict the parent material of Brazilian soils using portable XRF coupled with machine learning.

3.3.1 Calibration and validation models

Rb and Fe were selected to predict PSD based on the correlation and regression coefficients in Irish soils (Table 5). Also, soils derived from limestone, shale, and siliceous stone were chosen as suitable calibration (SIS dataset) and validation (HSP dataset) samples as these are representative of the parent material commonly found in Ireland. Prior to evaluating the linear regression model, the correlation between Rb and Fe was assessed to determine if there was the need to have separate models for each of the elements. It was observed that there was a statistically significant (p < 0.001) and strong relationship between the elements (R2 = 0.87, r = 0.93) of limestone and siliceous stone of the SIS data, as shown in Fig. 4.

Fig. 4
figure 4

Regression between Rb and Fe for soil samples selected for the calibration model for limestone and siliceous stones

Figure 5 illustrates the model performance for limestone and siliceous stone; for this study, samples for both parent materials were grouped. From the regression model shown in Fig. 5, there was a stronger relationship between Rb and % clay (R2 = 0.55) (Fig. 5a) compared to the Rb relationship with % sand (R2 = 0.49) (Fig. 5b) and % silt (R2 = 0.32) (Fig. 5c). However, for the independent validation, % sand (Fig. 5e) and % silt (Fig. 5f) had a stronger relationship with Rb than % clay (Fig. 5d). The samples’ origin may account for the better performance of the HSP compared to the SIS datasets since the samples from the west of the country (Fig. 2) had a stronger relationship between Rb and % clay than samples from the east with Rb ‘hot spots’.

Fig. 5
figure 5

Calibration and validation data using energy-dispersive x-ray fluorescence spectrometer determined Rb concentration to predict particle size distribution in soils originating from limestone and siliceous stones

Evaluation of the regression model performance using RMSE showed that the prediction model for clay (RMSE = 10.20%) and % silt (RMSE = 10.38%) performed better than % sand (RMSE = 14.87%). Although RMSE < 10% is preferred and indicative of a good predictive technique, the RMSE in this study was slightly higher; however, the values for % clay and % silt were < 11%. The poor performance of the regression model for % sand may have resulted from its limitations in predicting the samples with high silica content; since Rb is strongly sorbed to clay fractions in weathered soils, a soil with high silica content may be deficient in Rb.

Also, the soil types used for the validation were not varied enough which may explain the poor performance of the models. Benedet et al. (2020) use a random forest algorithm to predict soil texture for Brazilian soils with portable XRF derived results and had RMSE’s of the models > 30% for % sand, % silt, and % clay, although the R2 was > 0.80. In contrast, Silva et al. (2020), who also did a similar work with Brazilian soils, had RMSE values for random forest models of the % sand, % clay, and % silt < 10%. Although the two studies were carried out using soils from the same region, the difference is that the latter study used soils of a wide range of soil types unlike the former study. Rubidium-determined EDXRF can be used for qualitative analysis and not a quantitative analysis of PSD in Irish soils from limestone and siliceous stone parent materials only.

3.3.2 Evaluation of soil texture classification

Analysis of PSD is an essential factor for determining soil texture. Information about soil texture helps to determine or infer various agronomic indicators such as soil organic carbon, bulk density, and the distribution of heavy metals (Keller and Håkansson 2010; Chandrasekaran and Ravisankar 2015; Rabot et al. 2018; Jensen et al. 2017; Shweizer et al. 2019). Figure 6 shows the comparison of the models developed from the EDXRF analysis to the gravimetric method; the USDA soil texture triangle was used for this study. Also, the use of a traffic light system was used to enhance the understanding of the visual displays, where green indicated a correct soil texture classification of the soil, yellow indicated minor misclassification of the sample close to its actual soil texture, and red indicated major misclassification of the model, placing the sample 2 to 3 classes away from its actual soil texture (Fig. 6). From Fig. 6, 39% of the soils derived from limestone and siliceous stone were placed in the correct soil texture class, while another 39% was placed close to the actual soil texture class and 22% placed in the wrong class.

Fig. 6
figure 6

Comparison of the gravimetric method to energy-dispersive x-ray fluorescence spectrometer (EDXRF) for determining soil texture for soils originating from limestone and siliceous stones; green indicates a correct soil texture classification, yellow indicates a minor misclassification to a neighbouring texture class, and red indicates a major misclassification (n = 18)

In Fig. 6, more than 50% of the Irish soils evaluated had high silt content, and the soil types were distributed across 6 texture class, namely 8 silty clay loam, 3 silty clay, 1 silt loam, 1 clay loam, 4 sandy loam, and 1 sandy loam. Also, the model could predict almost all the sandy loam samples accurately. However, there were limitations with the prediction of silty types of soils, majority of the soil types that had major misclassification were silty clay loam. Thus, the model is more suitable for samples with high sand content than silt. Furthermore, Silva et al. (2020) observed that the prediction model for silt content was worse than both sand and clay content in Brazilian soils. This the authors’ attribute to the moderate correlation between silt content and XRF measured elements as compared to sand and clay content which showed a stronger correlation with the elements. This finding agrees with the observation in this current study, whereby correlation between silt and Rb was weaker than correlation between Rb with both sand and clay content.

4 Conclusion

EDXRF can be used as a rapid screening method for % clay in Irish soils, especially for examples originating from limestone and siliceous stone. Al and Fe correlated strongly with % sand and % clay in soils derived from these parent materials; however, Rb was the most suitable marker to predict PSD in unknown soils. Also, this study has highlighted that the parent materials of the soils studied had a strong influence on the model’s performance due to their geochemistry and clay mineralogy. Thus, the EDXRF has major difficulties in predicting % clay, % sand, and % silt in soils from parent materials that do not weather easily such as granite, gneiss, shale, and quartzite. Although the EDXRF was not as accurate as the gravimetric method, for predicting particle size compared to previous research, it has been shown previously that that the poor performance in soils derived from shale, quartzite, gneiss, and granite parent materials may result from the mineralogy of the soils as these parent materials are usually high in Rb, and since Rb can be found in clay fractions, it is assumed that they are closely related. However, interestingly in Irish soils, the opposite was true, whereby samples from these parent materials had higher concentrations of Rb but lower % clay due to their mineralogy. Future work may have to consider the clay mineralogy of soils derived from quartzite, shale, granite, and gneiss with X-ray diffraction and explore the use of data fusion with the EDXRF to model particle size distribution as an alternative to the gravimetric method for predicting PSD.