Introduction

Groundwater is a vital natural resource and has a significant role in the global economy. For irrigation purposes, groundwater is a reliable source of water and can be used in a flexible manner (USGS 2001). According to the World Bank (2012), the largest consumer of groundwater in the world is India, with an estimated annual groundwater use of 230 km3. Owing to the pressure created on hydrologic and hydrogeologic systems, the quality of groundwater is being degraded particularly in coastal areas across the globe. In coastal regions, seawater intrusion and salinization of groundwater because of overexploitation of freshwater aquifers will establish a negative water balance (Ferguson and Gleeson 2012). Hydrochemical studies of groundwater have vigorously been conducted by several researchers globally to identify and interpret the human-induced impact on groundwater chemistry (Sahu and Sikhdar 2008; Gibrilla et al. 2011; Aly et al. 2014; Brindha and Kavitha 2015; Sarikhani et al. 2015; Li et al. 2016; Diana et al. 2017; Wagh et al. 2018; He et al. 2019; Loh et al. 2020). The multiusage of groundwater for drinking, agricultural and industrial purposes, fisheries and energy production depends considerably on its quality (Iscen et al. 2008). The soil structure and crop yields are adversely affected by the presence of salts in irrigation waters. Arid and semi-arid climate regions are particularly vulnerable to salinity because of variations in rainfall and temperatures that lead to high evaporation (Jalali 2007; Houatmia et al. 2016). The soils of agricultural areas have created environmental problems like water resource contaminants and health risks for human beings due to the vigorous usage of fertilisers and agrochemicals (Shindo et al. 2006; Scanlon et al. 2007; Jiang et al. 2009). Zakaria et al. (2021) conducted groundwater quality studies in the Anayari catchment area, which is predominantly dependent on groundwater for agricultural purposes. They found that the water containing a low percentage of Na+ with moderate salinization can usually be used for irrigation purposes without any prior treatment. In the recent years, with an increasing number of chemical and physical variables in groundwater, a wide range of conventional tools and techniques of statistical methods have been applied for proper analysis and interpretation of data (Belkhiri et al. 2010; Machiwal and Jha 2010). Hierarchical cluster analysis, being a simple but efficient approach, was applied by researchers to distinguish the multivariate similarities in groundwater quality. Principal Component Analysis (PCA)/Factor Analysis (FA) and Cluster Analysis (CA) explains the dataset matrixes for understanding environmental systems and the quality of water influenced either by natural or anthropogenic conditions (Lee et. al. 2001; Subyani and Ahmadi 2010; Dudeja et al. 2011; Guggenmos et al. 2011; Blake et al. 2016; Ravikumar et al. 2017; Sayad et al. 2017; Khelif and Boudoukha 2018; Paul et al. 2019; Sandeep et al. 2020). Multivariate statistical techniques can be employed to analyze large datasets on water quality with the minimum loss of vital information (Simeonov et al. 2003; Jauhir et al. 2011; Gulgundi and Shetty 2018). The alluvial aquifer system is the dominant type of aquifer in the coastal area. The coastal alluvial aquifer is relatively vulnerable to contamination by seawater. It is hard to restore its fresh groundwater condition which makes groundwater unsuitable for drinking as well as agriculture use (Jeen et al. 2001; Chidambaram et al. 2009; Mohapatra et al. 2011; Swarna Latha and Nageswara Rao 2012; Guler et al. 2012; Reddy 2013; CGWB 2014; Sajjil Kumar 2016; Alfrrah et al. 2018; Sivakarun et al. 2020). The conversion of agriculture and marshy lands into aquaculture, which uses large scale saline water from creeks and urban industrialization lead to the alteration of freshwater aquifers in coastal regions. Therefore, understanding the hydrochemical characteristics of the coastal groundwater is essential to prevent saline intrusion and its associated problems (Prasanna et al. 2011; Thilagavathi et al. 2019). The residents of coastal regions in India are facing severe drinking water quality problems in comparison with other regions.

Keeping this in to consideration, the present study was carried out to evaluate the hydrochemical characteristics and quality of groundwater and its suitability for domestic use and irrigation in an alluvial coastal aquifer using multivariate statistical techniques. The main aim of the present study is to assess the quality of water based on the entropy weighted water quality index (EWQI) for drinking purposes.

Study area

The study area is located in the West Godavari delta region of coastal Andhra Pradesh (AP) in Southern India. The district of West Godavari in AP is bounded by the districts of East Godavari in the North and Krishna in the South, Telangana State in the West and the Bay of Bengal in the East. The area under research lies between 16º 19' N to 16º 40' N latitudes and 81º 19' E to 81º 43' E longitudes (Fig. 1). It has a 23 km coastline covered with natural vegetation, cashew, casuarina and coconut plantations on its sandy tracts. The study area receives rainfall mostly from the south-west monsoon (June to September) and the average annual rainfall recorded is about 875 mm. The climate is maritime tropical humid with the maximum of 38 °C in May. The River Godavari is a major river and its tributaries, namely the Tammileru, Yarrakalva and Ramileru, flow through the West Godavari district, providing an abundant water supply for vast tracts of agriculture fields and aquaculture ponds. The river Godavari bifurcates into Gautami Godavari and Vasishta Godavari in the district region. The Gautami Godavari river marks the district boundary on the right side and drains through the present study area before ultimately debouching into the Bay of Bengal at Antarvedi.

Fig. 1
figure 1

Location map of the study area

The delta area is aided by the large canal system and numerous other drains. The oceanic saline water from creeks is also extensively used for aqua farming near the coastal tracts. The largest shallow freshwater lake in Asia is Kolleru Lake, in the southwestern part of the study area, and is designated as a wetland of international importance under the international Ramsar Convention. The study area accommodates nearly 0.5 million people, spread over several villages. Agriculture and aquaculture are the predominant activities found in the study area. The area is known for the large scale production of paddy, sugarcane, pulses, oilseeds, coconuts, etc. and it is considered to be one of the largest aqua farming regions of the country. The study area has been infested by a huge number of fish and prawn ponds during the last three decades, resulting in an ecological and environmental imbalance (Swarna Latha and Hema Malini 2018).

General geology and geomorphology

Geologically, the study area is underlain by the quaternary sediments with unconsolidated to semi consolidated sand, silt and clay formations. In general, the delta sediments consist of brown, grey, gravelly sands and silty clay. The thickness of the sediments gradually increases towards the sea and is of the order of 400 m in the Godavari delta (Raju et al. 1994; Ramesh 2008). The quaternary sediments comprise thick layers of alluvium, gravel and colluvial deposits, beach sand, kankar and soils of various types. Different geomorphic features such as flood plains, alluvial plains, levees, paleochannels, beach ridges, active tidal flats, mudflats, swamps and backwaters etc. are observed. Flood plains are built up of alluvium carried by the river during floods and is deposited in the sluggish water. The flat or nearly level sloping ground of these flood plains yields high groundwater potential zones. Beach ridges are low dunes formed as continuous mounds of beach materials (sand, gravel, shingle, etc.) parallel to the shoreline. Another important feature is tidal flats, which are characteristically extensive, nearly horizontal, marshy or barren stretches of land alternately covered and uncovered by the rise and fall of the tides. It consists of unconsolidated sediments, mostly mud and sand. Soils predominantly are deep black clay and sandy; and to some extent, gravelly, dark brown and silty soils. Groundwater extraction structures in the study region are mainly open, bore or tube wells. The average depth of the dug well recorded is 7 m below ground level (m bgl). The borewell depth varies from 10 to 65 m. The average fluctuation of the water table is recorded at 0.91 m in the study area (CGWB 2017).

Materials and methods

A total of fifty eight (58) groundwater samples were collected with proper care from the bore wells covering the entire study area during May 2017 (Fig. 1). The 1L polyethylene bottles were used for collecting groundwater and were properly rinsed with distilled water before carrying out the sampling. At the sampling location, the bottles were rinsed several times with the same bore well water to avoid any contamination before filling. These samples were cautiously sealed and labelled and taken to the laboratory to carry out the analysis within a week. The samples were preserved by adding appropriate reagents in the laboratory by adopting standard protocols (APHA 1998). The pH, electrical conductivity (EC) and total dissolved solids (TDS) were analyzed using a multi parameter digital meter. Total alkalinity (TA), total hardness (TH), calcium (Ca2+), bicarbonates (HCO3) and chlorides (Cl) were measured by the titration method, sodium (Na+) and potassium (K+) by flame photometer whereas sulphates (SO42−) were analyzed by spectrophotometry. Magnesium (Mg2+) was estimated by the formulae [TH-(2.5 × CaH)]/4.1 (Todd and Mays 2005). The result of ionic balance shows that the error for groundwater samples was ≤ 10%. The analytical results of chemical parameters of groundwater are presented in Table 1. The Bureau of Indian Standards (BIS 2012) was considered for comparing chemical constituents in groundwater for its utilization for both domestic and agricultural purposes.

Table 1 The analytical results of physico-chemical parameters of groundwater samples in the study area

Entropy weighted water quality index (EWQI)

The water quality index methods provide better and more valid information to ascertain quality issues more accurately. The entropy weighted water quality index (EWQI) is one such method which explains the quality of water with a numerical number by integrating all the analyzed hydrochemical parameters. This improved water quality index model is considered to be more reliable and accurate as it greatly reduces the biased weight assignment to the quality parameters. EWQI is calculated as explained below in five steps (Wu et al. 2018; Subba Rao et al. 2020; Adimalla 2021):

Step 1 The eigenvalue matrix “X” which is associated with the water quality parameters estimated by the following equation:

$$X = \left[ {\begin{array}{*{20}c} {x_{11} , x_{12} , x_{13} , \ldots . . x_{1n} } \\ {x_{21} , x_{22} , x_{23} , \ldots . . x_{2n} } \\ . \\ . \\ . \\ {x_{m1} , x_{m2} , x_{m3} , \ldots . . x_{mn} } \\ \end{array} } \right]$$

where, m (i = 1, 2, 3, 4, …, m) represents water samples and n (j = 1, 2, 3, 4, ……., n) represents the total number of hydrochemical parameters of each sample.

Step 2 The standardization process “yij” is evaluated and then standard evaluation matrix “Y” is obtained as:

$$y_{ij} = \frac{{x_{ij} - \left( {x_{ij} } \right)_{{{\text{min}}}} }}{{\left( {x_{ij} } \right)_{{{\text{max}}}} - \left( {x_{ij} } \right)_{{{\text{min}}}} }}$$
$$Y = \left[ {\begin{array}{*{20}c} {y_{11} , y_{12} , y_{13} , \ldots . . y_{1n} } \\ {y_{21} , y_{22} , y_{23} , \ldots . . y_{2n} } \\ . \\ . \\ . \\ {y_{m1} , y_{m2} , y_{m3} , \ldots . . y_{mn} } \\ \end{array} } \right]$$

where xij is the initial matrix; (xij)min and (xij)max are the minimum and maximum values of the hydrochemical parameters of the samples, respectively.

Step 3 The entropy “(ej)” and entropy weight “(wj)” are computed using the equations as follows:

The entropy weight function is based on the discrete probability distribution.

$$e_{j} = \frac{ - 1}{{{\text{ln}}\left( m \right)}}\mathop \sum \limits_{i = 1}^{m} n_{ij} {\text{ln}}\left( {n_{ij} } \right)$$

where, \(n_{ij} = - \frac{{\left( {1 + y_{ij} } \right)}}{{\mathop \sum \nolimits_{i = 1}^{m} \left( {1 + y_{ij} } \right)}}\).

The degree of diversity (d) possessed by each criteria is evaluated as:

$$d_{j} = 1 - e_{j } , \,j = 1, 2, 3, \ldots$$

The weight for each criteria is given by

$$w_{j} = - \frac{{d_{j} }}{{\mathop \sum \nolimits_{i = 1}^{m} d_{j} }}$$

Step 4 The quality rating scale “qj” of the “j” parameter is calculated as:

$$q_{j} = \frac{{V_{j} }}{{S_{j} }}$$

where, “Vj” is the concentration value of chemical parameter “j” and “Sj” is the standard limit of BIS of parameter “j”.

Step 5 EWQI is calculated by using the following equation.

$${\text{EWQI}} = \mathop \sum \limits_{J = 1}^{m} w_{j} q_{j}$$

The computed EWQI for each sampling station has been grouped into five categories, namely, excellent (EWQI < 25), good (between 25 and 50), poor (50–100), very poor (100–150) and extremely poor (EWQI > 150) for human consumption. The standard values and the corresponding entropy weights are presented in Table 2.

Table 2 The water quality standards and calculated entropy weights used in the assessment of EWQI

Irrigation suitability parameters

The following selected parameters were computed for assessing the groundwater suitability for irrigation purpose.

$${\text{Percent sodium }}\left( {{\text{Na\% }}} \right) = \left( {\frac{{{\text{Na}}^{ + } + {\text{K}}^{ + } }}{{{\text{Ca}}^{2 + } + {\text{Mg}}^{2 + } + {\text{Na}}^{ + } + {\text{K}}^{ + } }}} \right) \times 100$$
$${\text{Sodium adsorption ratio }}\left( {{\text{SAR}}} \right) = \frac{{{\text{Na}}^{ + } }}{{\sqrt {\frac{{{\text{Ca}}^{ + + } + {\text{Mg}}^{ + + } }}{2}} }}$$
$${\text{Residual sodium carbonate }}\left( {{\text{RSC}}} \right) = \left( {{\text{CO}}_{3}^{2 - } + {\text{HCO}}_{3}^{ - } } \right) - \left( {{\text{Ca}}^{ + + } + {\text{Mg}}^{ + + } } \right)$$
$${\text{Permeability index }}\left( {{\text{PI}}} \right) = \left( {\frac{{{\text{Na}}^{ + } + \sqrt {{\text{HCO}}_{3}^{ - } } }}{{{\text{Ca}}^{ + + } + {\text{Mg}}^{ + + } + {\text{Na}}^{ + } }}} \right) \times 100$$
$${\text{Chloro alkaline indice }}1{ }\left( {{\text{CAI}}1} \right) = \left[ {{\text{Cl}}^{ - } { - }\left( {{\text{Na}}^{ + } {\text{ + K}}^{ + } } \right){\text{/Cl}}^{ - } } \right]$$
$${\text{Chloro alkaline indice }}2{ }\left( {{\text{CAI}}2} \right) = \frac{{\left[ {{\text{Cl}}^{ - } { - }\frac{{\left( {{\text{Na}}^{ + } {\text{ + K}}^{ + } } \right)}}{{{\text{Cl}}^{ - } }}} \right]}}{{\left( {{\text{SO}}_{{4}}^{{2 - }} {\text{ + HCO}}_{{3}}^{ - } {\text{ + CO}}_{{3}}^{{2 - }} {\text{ + NO}}_{{3}}^{ - } } \right)}}$$
$${\text{Kelly ratio }}\left( {{\text{KR}}} \right) = \left( {\frac{{{\text{Na}}^{ + } }}{{{\text{Ca}}^{ + + } + {\text{Mg}}^{ + + } }}} \right)$$
$${\text{CCR}} = \frac{{\left( {\frac{{{\text{Cl}}^{ - } }}{35.5}} \right) + \left( {\frac{{{\text{SO}}_{4}^{2 - } }}{48}} \right)}}{{\left( {\frac{{{\text{CO}}_{3}^{2 - } + {\text{HCO}}_{3}^{ - } }}{50}} \right)}}$$

where the concentration of ions used in the calculations are in meq/L except for KR and CR for which mg/L used.

The results of all irrigation quality parameters are given in Table 3. Multivariate statistical analysis methods, including principal component analysis, factor analysis, and correlation, were used to analyze the groundwater chemistry characteristics. XLSTAT 2018 was utilized for preparing graphs and data table analysis. The Piper, USSL, Wilcox diagrams were generated using Aquachem 2014 software.

Table 3 The calculated values of chemical parameters for analyzing their suitability for irrigation

Results and discussion

The box plot helps in summarizing the distribution of a data set by the median, the variation, the skewness, outliers and extreme values in a graphical form. From Fig. 2, it is noted that TA, EC, TDS, Mg2+, HCO3, SO42− are approaching normality. The data for the variables Ca2+, Na+, Cl and NO3 depart from a normal distribution only in skewness. There are outliers for pH, TH and K+ but the data departs from a normal distribution only in the skewness. The unexpected outliers may be due to the usage of fertilizers in agricultural and aqua pond regions. The abundance of chemical parameters is as follows: Na+  > K+  > Mg2+  > Ca2+  = Cl > HCO3 > SO42− > NO3.

Fig. 2
figure 2

Data normality of water quality parameters explaining by the box plot

Hydro chemical processes

The Piper (1944) plot explains the evolutionary trends of water quality parameters in order to classify the similarities and differences in the chemical composition of water into certain water types. The groundwaters were categorized into different hydrochemical facies based on major cations Ca2+, Mg2+, Na+, K+ and major anions HCO3, Cl, SO42− using Piper’s trilinear diagram (Fig. 3). The prominent types shown are Na-Mg-Cl-HCO3, Na-Cl-HCO3 and Mg–Na–Cl–HCO3. It can be observed from the plot that the majority of groundwater samples fall into the field of 4 suggesting that strong acids exceed weak acids. The exceeding primary salinity (field 7) and alkalies exceeding alkaline earths (field 2) are also found (Table 4). The samples in the Na–Mg–Cl facies indicate the leaching of primary/secondary salts and exchange of ions from the clay deposits. The mechanism controlling the geochemical process of groundwater with respect to atmospheric precipitation, rock–water interaction and evaporation, has been presented by Gibbs plot (1970) for the present study (Fig. 4). The ratio of dominant cations (Na+ + K+)/(Na+ + K+ + Ca2+) and anions (Cl/(Cl + HCO3) against TDS was plotted. It is found that most sampling points fall towards evaporation dominance, indicating that the groundwater has high salinity controlled by evaporation and also rock weathering solubilization. Cation exchange is the influencing factor controlling hydrochemical processes. The limited interaction of rock water generally includes the chemical weathering of the rocks, the precipitation dissolution of secondary carbonates and the exchange of ions between the water and the clay minerals.

Fig. 3
figure 3

Classification of hydrochemical facies using the Piper plot

Table 4 Groundwater classification based on the Piper diagram
Fig. 4
figure 4

Gibbs plot showing the geochemical process of groundwaters

Suitability of groundwater use for drinking

The chemical constituents present in the groundwater show a wide variation in different individual parameters (Table 1). The pH of groundwater samples ranged from 7.2 to 8.7, with a mean of 7.8, indicating the slightly alkaline nature of groundwater in the study area. The concentrations of chemical constituents in groundwater and their effects on human health are presented in Table 5. The minimum and maximum values of alkalinity ranged from 124 to 466 mg/L with a standard deviation of 81.8. Above 250 mg/L, the concentration of total alkalinity in the water gives an unpleasant taste (BIS 2012). Nearly 85% of the water samples in the study area contain alkalinity values higher than the desirable limits. The high alkalinity values in the study area are raised due to the action of carbonates on the basic materials in the soil, which gives water an unpleasant taste. EC fluctuated from 1675 to 3881 µS/cm, with a mean of 2800 µS/cm while TDS ranged between 985 and 2283 mg/L, with a mean of 1647 mg/L. High EC is probably resulted from the dissolved inorganic substances largely present in the water (Hem, 1985). All groundwater samples recorded TDS levels above the desirable limits (more than 500 mg/L) and 84% of samples had TDS levels greater than 2000 mg/L, indicating that they are unfit for drinking (BIS 2012).TH as CaCO3 varied from 114 to 688 mg/L with a mean of 386. There are ten samples that fall within the desirable limits and the remaining samples (83% of total samples > 300 mg/L) fall into the very hard water category. The cations Ca2+, Mg2+, Na+ and K+ ranged between 11–69 mg/L, 10–139 mg/L, 98–414 mg/L, 29–143 mg/L, respectively. The anions HCO3, Cl, SO42− and NO3 from 162 to 610 mg/L, 156–602 mg/L, 28–227 mg/L, 2–41 mg/L, respectively.

Table 5 The range of concentrations of chemical constituents in groundwater and their effect on human health

Calcium bicarbonate is the prime cause of the hardness in water. Concentrations of Ca2+ and Mg2+ are well below the permissible limits. In seawater, magnesium is present in large quantities. High magnesium in the groundwater causes scaling in boilers, pipes and water heaters and abdominal disorders etc. and is not desirable for domestic use. Higher values of Na+ (mean 250 mg/L) and K+ (mean 95.2 mg/L) were found in the groundwater and may be attributed to saline water intrusion, discharge of aquaculture wastewaters and domestic sewage (Thilagavathi, et. al. 2019; Sivakarun et. al. 2020). Normally, these ions are not toxic to humans, but excess intake causes hypertension and vomiting, etc. Whereas K+ is an essential element for plants and animals. Cl directly relates to the mineral content of water and is mostly identified by the salt taste in potable water. Only 19% of groundwater samples showed less than 250 mg/L which are acceptable for drinking as per BIS. It explains that the probable cause for the abnormal concentration of chloride is the seawater intrusion and rocks in the study region. SO42− concentrations in 7 locations were recorded as slightly high and all the samples of NO3 fell under the permissible limits of BIS. Overall, the majority of water quality parameters of the groundwater samples analyzed in the study area were recorded above desirable levels.

Groundwater quality based on EWQI

The results of the entropy weighted water quality index (EWQI) to quantify the quality of groundwater for the purpose of drinking in each location of the study area are given in Table 6. The spatial distribution of EWQI is presented in Fig. 5. The computed EWQI values for groundwater samples in the study ranged between 53.3 and 143.3 with an average of 99. Overall, the results indicate that the quality of groundwater is poor to extremely poor category. Fifty percent of total groundwater samples have shown more than 100 EWQI value, indicating that they are unfit for drinking or domestic use (Wu et al. 2018). The remaining 34% of samples were classified as very poor quality water, which is also unsuitable for drinking. Only 16% of samples show poor quality, which indicates that these sampling location’s groundwater may be marginally utilized for domestic use. None of the samples were found in the excellent to good quality of groundwater category.

Table 6 Categorization of groundwater based on EWQI in the study area
Fig. 5
figure 5

Groundwater categorization and its spatial distribution based on EWQI in the study area

Suitability of groundwater use for irrigation

In the study area, the groundwater samples were analyzed for monitoring the suitability of quality for irrigation purposes. It can be observed from Table 7, the groundwater recorded as high to very high salinity condition (Richards 1954). About 85% of total samples have recorded electrical conductivity that is very high (> 2250 μS/cm). High EC in the water proportionate to the salt content explains that the groundwater can severely affect the plants and soils, thus reducing productivity. The Na% ranged between 41 and 87.9 meq/L with a mean of 63 meq/L. Nearly 69% of water samples were found to have high levels of sodium (> 60%), thus not suitable even for irrigation (Swarna Latha and Nageswara Rao 2012). The ratio of Cl/HCO3 of groundwaters can provide the level of salinization effect in a region (Weiner 2000). The Cl/HCO3ratio is shown above 2 in twenty-four samples out of 58, indicating the possible signatures of seawater intrusion into the land as the area is adjacent to the coast and the aqua ponds are continuously pumped by saline water (Desai et al. 1979).

Table 7 Classification of groundwater based on the Wilcox (1948) diagram

High sodium content may destroy the soil structure and affect plant growth (Wilcox 1948). Only two samples (Nos. 54 and 55) fall under the permissible to doubtful category and the remaining samples are in the doubtful to unsuitable category (Fig. 6 and Table 8). The SAR values in the study area vary from 2.0 to 13.2 meq/L and nearly 45% of samples exhibit increased problems as SAR > 6 meq/l (Herman Bouwer 1978).

Fig. 6
figure 6

Wilcox (1948) diagram represents the presence of sodium content in the groundwaters

Table 8 Classification of groundwater based on USSL diagram (USDA 1955)

The influence of evaporation can be examined with the help of Na+ vs Cl plots. The graph (Fig. 7a) provides a strong evidence of halite dissolution which results from aquifer salts and seawater intrusion. It was found that the dominant anion and cation present in water are Cl– and Na + , respectively. The enrichment of Na+ and K+ concentrations is accompanied by the increase of Cl ions that probably occurs due to dissolution of soil salts (Manusree et al. 2009; Srinivasamoorthy et al. 2011; Rao et al. 2017; Senthilkumar et al. 2018). The majority of samples fall in injuriously contaminated by saline water intrusion indicating the mixing of fresh water aquifers with the saline water (Fig. 7b). The enrichment of Na + groundwater samples may due to cation exchange process. The progress in the salinization can occur with the groundwater recharge through Ca2+ exchange with Na+ as the clay soils and marine salts dominate the region. The Durov diagram (Fig. 8) explains that the Na+  + K+ enrichment with HCO3 dominance in the groundwater of study region may be influenced by the dissolution of clays and marine salts and the subsequent replacement of alkaline earths with the alkalis. The high TDS in groundwater also indicated the dissolution of soil salts and anthropogenic sources in the study region (Manjusree et al. 2009; Chidambaram et al. 2018).

Fig. 7
figure 7

Ionic relationship of groundwaters a Na+ vs. Cl and b Cl vs. Cl/HCO3

Fig. 8
figure 8

Durov diagram depicting hydrochemical processes of groundwaters

According to the U.S. Salinity Laboratory Diagram (USDA 1955), more than 80% of the water samples come under the fields of C4S2, C4S1, C4S3 and C3S2, indicating high-very high salinity and low–high alkali water (Fig. 9 and Table 9). The groundwater is not suitable for irrigation in the drainage restriction as it leads to low permeability and poor cultivability. RSC varied from − 6.1 to 3.8 meq/L with a mean of − 1.8 meq/L in the study area. More than 82% of samples show negative values and are safe for irrigation purposes. The best irrigation practises must be adopted to use the marginal RSC water for irrigation. The high concentration of Na+, Ca2+, Mg2+ and HCO3 in irrigation water can affect the soil’s permeability condition. More than 80% of the groundwater samples are not suitable for irrigation purposes. (Donen 1964). The range of KR values is 0.7–8.5 mg/L and most groundwater samples (91%) are recorded above 1, hence the groundwater is fit for irrigation (Kelley 1951). The CR values (0.7–5.3 mg/L) recorded in the study area indicate the corrosive nature of water, thus it cannot be transported through the metal pipes.

Fig. 9
figure 9

The suitability of groundwater for irrigation exhibiting by USSL diagram

Table 9 The results of principal components and factors of groundwater samples

Principal component and factor analysis

The dataset of analyzed parameters was verified for variable reduction by PCA and FA using Kaiser–Meyer–Olkin and Bartlett’s sphericity tests. The results of the KMO and ρ were 0.58 and less than 0.001, respectively, hence the dataset was used for analysis (Wang et al. 2013). The results of the principal factors, eigenvalues, explained variance and varimax–rotated loads are summarized in Table 7. EC (0.92), TDS (0.92), HCO3 (0.71), TA (0.69), TH (0.69), Mg2+ (0.6) in factor 1 while in factor 2, Na+ (0.88) and Cl (0.88) were recorded. The first three PCs accounted for 65% of total variance cumulatively 94.5% for a total of 7 PCs. The scree plot showing the positive component loadings of all PCs is presented in Fig. 10. The first factor explained 33.3% of the total variance with strong positive loadings on EC, TDS, TH, HCO3, TA and limited loading on NO3. This could be due to the influence of carbonate weathering as the main source of these minerals. Factor 2 contributed 20.3% of the total variance with high positive loadings on Na+ and Cl which probably due to seawater intrusion. Factor 3 accounts for 10.8% of the total variance. The closely related parameters were SO42− and K+; this was probably due to the application of organic and inorganic fertilizers, manure and sewage. With the loading of Mg2+, factor 4 contributed 9.74% to the total variance; this indicates the impact of clay minerals and rock weathering. All the hydrochemical parameters applied by Pearson’s correlation indicating that TDS was significantly correlated with EC, TH, Ca2+, Mg2+, Na+, K+, HCO3 and Cl (Table 10). The Na+ and Cl, TA and HCO3 are correlated highly significant and are the main source of TDS.

Fig. 10
figure 10

Scree plot showing dominance of ions

Table 10 Correlation matrix of different parameters of groundwater samples

Conclusions

The evolution of groundwater chemistry was explained through geochemical plots, ionic ratios, bivariate scatter plots, principal component and factor analysis for the coastal aquifer of Southern India. The chemical constituents in the groundwater were determined through EWQI for their suitability for drinking purposes. The average ionic concentration found in the study area is Na+  > K+  > Mg2+  > Ca2+  = Cl > HCO3 > SO42− > NO3. The following observations made during the study:

  • The high concentrations of Na+, Cl and SO42− found in the groundwater may be attributed to the dissolution of mineral phases in the aquifer systems.

  • The result of PCA and FA analysis revealed that the factors responsible for the variation in the groundwater chemistry are weathering, leaching of secondary salts, reverse ion exchange, seawater intrusion and agricultural return flow.

  • All the groundwater samples when compared with BIS for potability indicating the groundwater in the study area is unfit for drinking in the majority of the areas.

  • The entropy water quality index values shown that nearly 85% of groundwater samples indicating very poor quality of water. Hence, remedial measures must be taken for utilizing groundwater for drinking purpose.

  • The quality indices for irrigation reveal that the groundwater studied in the locations ranges between the good and moderate categories, hence the water can be used for irrigational purposes with proper management.

Various anthropogenic activities such as intense agricultural and aquaculture practices, aquaculture waste discharge without treatment etc. are also the probable causes of deterioration of the quality of water. This research database provides baseline information that may be used for detecting significant trends more precisely with the help of modern tools like the Geographic Information System. Further research need to be conducted to identify both geogenic and anthropogenic sources of the contamination of groundwater, so that it will help the authorities in implementing an appropriate water management programmes at local level.