Introduction

One of the most essential parts of the earth’s system is the climate. Weather and climate are made up of a variety of factors, including temperature, precipitation, air pressure, and humidity. Generally, the climate is described as the typical weather (Saravanan, 2022; Yadav et al., 2014; Zhang & Lu, 2009). The major constituent of the hydrological cycle is precipitation; the accurate estimation of precipitation in time and space is crucial for agricultural activities. Traditionally, the measurements from point-based rain gauge observations are spatially interpolated to estimate areal rainfall. Increased global warming has a substantial impact on the pattern of climate change, which impacts interactions between the land surface and the atmosphere as well as environmental changes.

For a long time, policymakers have been worried by the challenges of climate change (Cancelliere et al., 2007); notably in terms of precipitation and temperature, these changes have a significant impact on the frequency, intensity, and spatiotemporal distribution of rainfall patterns, leading to a variety of meteorological issues in the globe (Atilgan et al., 2017; Machiwal et al., 2019). Any region’s food security, energy security, and agriculture are critically dependent on timely access to sufficient water supplies and a hospitable environment (Panda, 2019). The amount of water that can be used to satisfy various demands, including those for agricultural, industrial, domestic water supply, and hydroelectric power generation, depends significantly on the amount of rainfall that an area receives.

Given that, Indian farmers heavily depend on rainfall, and the lack of certainty and non-uniformity connected with its characteristics could have a serious impact on agricultural production (Seyhun & Akintug, 2013). Therefore, as well as other hydro-climatic variables like temperature, precipitation is a crucial variable. The lower the relative humidity, the drier the air, and the higher the evaporation rate (Prabhakar et al., 2019). Therefore, there is a need to research the altered precipitation patterns and their impact on water resources. The literature on the effects of global warming strongly suggests that the pattern of rainfall has significantly changed globally (Diaz et al., 1989; L. Zhang & Zhou, 2011). Numerous other researchers have also emphasized how future climate change will affect trends in rainfall; there will be severe differences in rainfall amount and spatiotemporal patterns of rainfall in the majority of India’s regions. A study shows that examines rainfall characteristics features, variability, and precipitation trends (Ghosh, 2018). The research into climatic change for reliable water assets and variation in the dispersion of precipitation is essential. Above all, a comprehensive understanding of rainfall inspection in the modified ecology will lessen the likelihood of the greatest weather (Praveen et al., 2020a). The strength of the trend as well as its statistical significance is the two main components of long-term time series trend analysis. In general, nonparametric or parametric methods are used to determine the results of change detection studies for various hydrologic and climatic variables (Kumar et al., 2016). Karnataka is the seventh-largest peninsular state in India. Currently, only precipitation in 45 to 55% of the regions is utilized to grow crops. The state is located in the south agro-climatic region of India. It has tropical weather, a climate, winters, mild summers, and monsoons. Pre-monsoon started from January to May, Southwest is from June to September, and Northeast is from October to December, and these are the three seasons that make up the entire year (Harishnaika et al., 2022a, 2022b).

The first approach is referred to as a parametric approach, whereas the second approach (variation of trends in rainfall with the temporal variation) is referred to as a nonparametric approach MK and Sen’s slope estimator. For the assessment of distributed data in the presence of uncertainty, as seen in hydro-meteorological time series, the use of a nonparametric methodology is more appropriate among these methods (Kalumba et al., 2013; Sabzevari et al., 2015). In this research long term rainfall data for Karnataka state available on an annual and monthly basis rainfall from the year 2000 to 2020. Sen’s slope estimator and the MK test method were used to examine the rainfall trends. The standard normal homogeneity test (Salehi et al., 2020), the Pettitt’s test, Buishand’s test, and the Von Neumann test are used to analyze the change point in the long-term time data series of precipitation. The investigation of the annual rainfall variability and the LOWESS local regression method (Harishnaika et al., 2022a, 2022b), autocorrelations have also been looked at for the time series. This study aims to assess the spatiotemporal variability and trend of rainfall patterns in each district of Karnataka state.

Study area

Karnataka (191791 Km2) is located on flat land close to the intersection of the Eastern and Western Ghats ranges, as well as the Niligiri hill complex, and is approximately bounded by latitudes 11.5°N and 18.5° N and longitudes 74° E and 78.5° E. The Koppen-Geiger Climate classification system uses 30 types and 5 major classes to categorize the global climate pattern and The Karnataka state falls on 4 classes as shown in Fig. 1. The varied changes in monthly temperature and rainfall are significant aspects that establish the classification system (Ahmed et al., 2022). The majority of the area is covered by Aw (Equatorial Winter Dry); however, BSh (Arid Steppe Hot) and Tropical monsoons (Am) can also be found (Naranjo et al., 2018). As a result, it is surrounded on three sides by mountains: east, south, and west. The majority of the state is a plateau, with nearly all of the lands at a higher elevation of 600 ft (300 to 600 m) above sea level and up to 900 m in the southern half. The coast, which spans around 225 Km from north to south, has an estimated range of 50 to 80 Km to the south. Both the Western and Eastern Ghats mountains have multiple 1500-m-high summits. Mullayanagiri, located in the Western Ghats, is the tallest peak situated at a height of 1914 m (6317 ft). The annual mean rainfall of Karnataka is about 1248 mm, and the mean temperature is about 28°C. Karnataka state lies in the X and XII agro-climatic zone, which is Karnataka’s southern plateau and hill, west coast plain, and Ghats regions. The site, which moderates the area’s tropical climatic regions, is one of the finest descriptions of the world’s monsoon periods. It also has a huge level of ecological endemism and diversity and is identified as one of the world’s eight “hottest hotspots” of biological diversity, but sometimes the regions of Western Ghats have less rainfall in some years, which leads to cause forest fires in this region.

Fig. 1
figure 1

Geographic location and Koppen-Geiger classification of climatic zones

Datasets and methodology

Climatic data

Table 1 shows the annual rainfall maximum, minimum, mean, and SD (standard deviation) for the selected meteorological stations. Each district of the state’s annual rainfall is shown in Fig. 2, which demonstrates over time. Based on the latitude and longitude of such a single location, the power global download widget provided users access to a (1/2 × 1/2 degree meteorological dataset for the entire world (Mu et al., 2013) Via its ESRP, the National Aeronautics and Space Administration (NASA) provides data essential to the study of climate procedure (Earth Science research program). The basic different climatic average daily values retrieved from https://power.larc.nasa.gov/data-access-viewer are also provided with time series data (Reichle et al., 2017). The meteorological parameters used in this study from 2000 to 2020 are based on the same weather variables that were obtained from NASA POWER using the target sites’ closest grid point data of the MERRA-2 assimilation model. The Koppen-Geiger climate system considers the classification of the climate over the entire state (Ascencio-Vásquez et al., 2019). Using XLSTAT 2020, descriptive statistical computations were performed.

Table 1 Rainfall statistics in districts of Karnataka
Fig. 2
figure 2

Average annual rainfall variation from 2000 to 2020

Methods

Rainfall trend assessment using the MK test

The MK test typically works to correct patterns in hydro-meteorological investigations (Alashan, 2020; da Silva et al., 2015; Yanming et al., 2011). The World Meteorological Organization (WMO) frequently recommends this analysis due to its remarkable significance based on favorable or unfavorable signals; this study indicates major patterns (Khan et al., 2019). In this research, the alternative hypothesis (Ha) indicated an overtime series trend (either upward or downward), while the null hypothesis (H0) showed no trend in precipitation over time. To perform this test, it is necessary to assess the long-term data series’ long-term serial correlation as well as the influence of rainfall data’s trend, amplitude, size, and adaption.

$$S =\sum\nolimits_{i =1}^{n - 1} \sum\nolimits_{j= i+1}^{n} \mathrm{sign} \left( { x}_{j}-{x}_{i}\right)$$
(1)

These are the \({x}_{i}\) and \({x}_{j}\) numbers for the “ith” and “jth” idioms; the overall length of the information is n, and \(\mathrm{sign}\left({ x}_{j}-{x}_{i}\right),\) finally, considers the following values:

$$\mathrm{sign }\left({x}_{j}-{x}_{i}\right)=\left\{\begin{array}{cc}+1,& \mathrm{if }{x}_{j}-{x}_{i}> 1\\ 0,& \mathrm{if }{x}_{j}-{x}_{i}= 0\\ -1,& \mathrm{if }{x}_{j}-{x}_{i} <1\end{array}\right.$$
(2)

The variance is derived using

$$V(S)=\frac{1}{18}\left[n(n-1)(2n+5)-\sum\nolimits_{p=1}^{q} {t}_{p}\left({t}_{p}-1\right)\left(2{t}_{p}+5\right)\right]$$
(3)

where n is indicated data length, the number of tied categories, and q is the value of times each of the pth kinds in formula (3) which had a single value.

For the one-tailed derivation of S, Eq. (4) offers the standard estimate (Z) for the Mann–Kendall test.

$${Z}_{mk }=\left\{\begin{array}{cc}\frac{s-1}{\sqrt{\mathrm{Var}\left(S\right)}}& \mathrm{if }S > 0\\ 0& \mathrm{if }S = 0\\ \frac{S+1}{\sqrt{\mathrm{Var}\left(S\right)}}& \mathrm{if }S < 0\end{array}\right.$$
(4)

Although ZMK includes 0 values, in an Mk test, the sign of ZMK desired both positive and negative values of statistics return the declining and increasing trend independently. The Mann-Kendal test was used to analyze the variation in yearly and monthly rainfall patterns statistically significant at 5%.

Homogeneity and non-homogeneity test

Rainfall data is only considered “homogenous” when the observed rainfall data are caused by climatic differences and not by non-climatic (Ahmad et al., 2021; Saravanan, 2022) factors. The rainfall series data at internal to decadal time scales are frequently very difficult to obtain without introducing artificial changes that lead to data inhomogeneity. Inspecting for potential in-homogeneity in any hydrogeological time series is a prerequisite to trend analysis because the inhomogeneity in the information expands the original hydrologic rainfall data (Jenifer & Jha, 2021). However, aside from a few prior studies, the homogeneity test results have generally been disregarded.

To examine the homogeneity in the annual rainfall, four homogeneity statistical methods namely (1) standard normal homogeneity test (SNHT), (2) Buishand range test (BRT), (3) Von Neumann test (VNT), and (4) Pettitt’s test (PT) has been used in this study. These homogeneity tests all operate under the same fundamental presumptions; a different homogeneity test can be performed to determine whether two variables have the same distribution. Following the null hypothesis, the rainfall data values are independent, evenly dispersed, and homogeneous (Mallenahalli, 2020; Praveen et al., 2020a). Whereas the alternative hypothesis claims that the average value abruptly changes at an unknown time (the precipitation data is inhomogeneous). The null hypothesis (H0) is approved in each homogeneity test if the evaluated p-value is higher than the value at the 5% level of statistical significance; otherwise, it is rejected. As a result, each rain gauge station’s homogeneity of rainfall was evaluated using the aforementioned homogeneity method, and the rain gauge stations were then divided into two groups, likely nonhomogeneous and homogenous. While the latter indicates that the annual precipitation series is turned down in all 4 or any 3 of the statistically applied tests, the districts in the former group must meet the criteria for having to accept the null hypothesis in 4 homogeneity tests. The 5% significance level was used for all four tests, in a brief presentation of the theoretical context and test statistics for these homogeneity tests.

Pettitt’s test

This analysis is frequently used to identify variations in climate rainfall data (Zhang & Lu, 2009). According to Pettitt’s, if x1. × 2.x3 x4….x n is and perceives data with a variation point at t, the project is x1, × 2.x3…,xt. F1 (x) and has a function distribution, which is distinct by the F2(x) function distribution, 2nd part (xt + 1), (xt + 2), (xt + 3), (xt + 4) … (Xn). The statistics Pettitt Ut is written as follows:

$${U}_{t}=\sum\nolimits_{i = 1}^{t} \sum\nolimits_{j=t+1}^{n} \mathrm{sign} \left({x}_{t}-{x}_{j}\right)$$
(5)
$$\mathrm{sign } \left({x}_{t}-{x}_{j}\right)=\left[\begin{array}{cc}1& \mathrm{ if }\left( {x}_{i}-{x}_{j}\right)>1\\ 0& \mathrm{ if }\left({ x}_{i}-{x}_{j}\right)=0\\ -1& \mathrm{ if }\left({ x}_{i}-{x}_{j}\right)<1\end{array}\right]$$
(6)

The sampling size (n), K statistic, and associated confidence level (p) are written as follows:

$$K= \mathrm{Max} \left|{U}_{t}\right|$$
(7)
$$\rho =\mathrm{exp }\left(\frac{-K}{ {n}^{2}+{n}^{3}}\right)$$
(8)

The null hypothesis is rejected because the number is smaller than the particular level of confidence. For a change point, the estimated probability (p) was written as:

$$p = 1-\rho$$
(9)

For this test, which is used to examine rainfall trends, the K-statistics are analyzed using a standard approach at a specific confidence level. Then, it noted the change point and the assessment of K at a 5% confidence level (Pal & Al-Tabbaa, 2011; Panda, 2019).

SNHT test

To compare the average rainfall of the first n observations with the rainfall average of the remaining (n-k) observations, the statistic (Tk) is used, where n is the data time.

$$Tk=k{Z}_{1}^{2}+\left(n-k\right)$$
(10)

Z1 and Z2 are evaluated as:

$${Z}_{1}=\frac{1}{k}\sum\nolimits_{i=1}^{k} \frac{\left({x}_{i}-\overline{x }\right)}{\sigma x}$$
(11)
$${Z}_{2}=\frac{1}{n-k}\sum\nolimits_{i=k+1}^{n} \frac{\left({x}_{i}-\overline{x }\right)}{\sigma x}$$
(12)

Yearly, k can be considered a turning break and a point in the rainfall series of Tk reach out maximum statistics.

Buishand’s test

The BT is a simplified total of the continuous divergence from the total mean of the kth observation of a series dataset, where “x1, × 2, × 3, x 4 … x k…… x n” with average (x) is listed as follows:

$${S}_{k}=\sum\nolimits_{i=1}^{k} \left( {x}_{i}-\overline{x }\right)$$
(13)

At any shift point, data must be homogenous because, in random data, the deviation from the average distribution is to both parts of the average of the data. The following equation is used to calculate the shift-adjusted range of significance (r):

$$r=\frac{\mathrm{Max} \left({S}_{k}\right)-\mathrm{Min}\left({S}_{k}\right)}{\overline{x} }$$
(14)

Then, compare statistical data for \(R/\sqrt{\mathrm{n}}\) to interpretive values.

Von Neumann test

The ratio of the mean square consecutive (year to year) difference to the variance is known as the von Neumann ratio N. The test is the most popular test for determining whether a time series is homogeneous or not. The alternative is that the time series is not randomly distributed, and the null hypothesis is that the data are independent, identically distributed random values. It can be defined as follows and is closely connected to the first-order serial correlation coefficient.

$$N=\frac{\sum\nolimits_{t=1}^{n-1} {\left({x}_{t}-{x}_{t+1}\right)}^{2}}{\sum\nolimits_{t=1}^{n} {\left({x}_{t}-\overline{x }\right)}^{2}}$$
(15)

When the sample is homogeneous, N = 2. The value of N tends to be lower than this expected number if the sample contains a break. N values could exceed 2 if the sample contains rapid mean changes.

Relative magnitude change calculation in % of precipitation trend

The percentage change is calculated using the linear trend. This is similar to β median (average) rainfall slope multiplied by the overall length of the data series and divided by the matching average values; it is expressed as a % magnitude change of rainfall (Mondal et al., 2018, Harishnaika et al., 2022a, 2022b)

$$\mathrm{M}agnitude\;Change\;in\;\left(\%\right)rainfall =(\frac{Total\; period\times\;\beta }{ Average\;Rainfall}\times 100)$$
(16)

Long-term persistence of annual precipitation

To identify the long-term persistence of precipitation trends, the LOWESS curve was fitted to the yearly precipitation data series (Gajbhiye et al., 2016; Praveen et al., 2020b). Throughout the study period, the differences between the observed and projected precipitation were determined to be statistically significant at the 5% level (2000–2020). The arithmetic mean is not robust (significant) to local variations as such, to reduce the local variation, the LOWESS regression curve was used for the seasonal rainfall. By employing this statistical technique, a group of researchers produced results that were adequate when compared to the arithmetic mean.

Result and discussion

Annual precipitation and their magnitude change in %

The preliminary evaluation of yearly rainfall data for each station from 2000 to 2020 includes maximum, minimum, mean, and SD (standard deviation) in Table 1. In the Western Ghats, regions fall more than the average rainfall from a year. The Western Ghats mountain chain contains significant geomorphic features as well as distinctive biophysical and ecological methods. The high mountainous forest ecosystems at the site have an impact on the Indian monsoon meteorological conditions. The district Chikmagalur falls in this region, and the rainfall is about 2412.5 mm with a standard deviation (SD) of 747.07 mm, followed by Kodagu (rainfall = 2900.6 mm and SD = 744.81 mm), Dakshina Kannada (3495.6 mm, and 685.38 mm), Shimoga (2700.5 mm and 537.53 mm), and Mysore (1677.0 mm and 452.36 mm). The northern part of Karnataka suffers the drought condition most of the year because of the climatic condition this area has less than average rainfall; district like Bellary Fall in the arid steppe hot region is having rainfall of about 565.3 mm and 179.43 mm (SD), and Chitradurga, Kolar, and Raichur districts suffer less rainfall in this study period. Dakshina Kannada received the most annual rainfall, approximately 3495.58 mm, while Bagalkot received the least, approximately 155.7 mm. Based on the yearly standard deviation, it appears that stations with more annual precipitation have more unpredictability; however, this variability is not constant and changes from year to year, but there is less variability in places with lower precipitation. The yearly mean precipitation graph and statistics show how variable the rainfall is (Fig. 2 and Table 1). The average yearly rainfall varies significantly from year to year in the Western Ghats regions. More than a 20% variation in rainfall magnitude, such as in the north of Karnataka’s Vijayapura and Uttara Kannada districts, which are, respectively, about 69.72% and 50.24% with Sen’s slope of 13.18 mm and 75.059 mm. The Mk test only revealed a monotonic trend; the slope was interpreted when the trend was significant. The central part of area Haveri has a negative linear trend in rainfall that is around − 30.412 with a slope value of − 20.566. These results demonstrate that each state’s stations vary according to their areas’ climatic conditions. The remaining stations are listed in Table 2. Figure 3 shows the number of dry and rainy years as well as the variation in the spatial pattern of average rainfall deviation across the entire state.

Table 2 Average rainfall and their Sen’s slope and magnitude change
Fig. 3
figure 3

Average annual rainfall deviations from 2000 to 2020

Nonparametric regression to prediction analysis of rainfall

To reduce the local fluctuations, LOWESS curves were used ( Ahmad et al., 2015). Over the study period, utilizing statistical regression curves on yearly precipitation throughout the research period, the rainfall outcome was statistically significant at a level of 5%. The non-parametric regression method for yearly precipitation reveals a distinct outline from thirty-one regions (Fig. 4), indicating a declining trend for the districts over the 20-year study period. The results of the LOWESS curve show that yearly rainfall began to increase in 2004 but then began to gradual decline from the years 2005 to 2015 it showed in Fig. 4.

Fig. 4
figure 4figure 4

Non-parametric (LOWESS) regression lines for annual rainfall (prediction and actual rainfall)

The LOWESS curve had the lowest point from 2000 to 2005, and then it increased the most until 2020. On the whole, the annual precipitation data reveal an increasing and reducing variation in precipitation across the districts. Annual precipitation for Udupi districts (Fig. 4) shows a consistent rise from 2000 to 2020, with a mean value of 3281.08 mm. Its highest value was observed in 2010, which will be above the initial to last decade with the value of 4366.41 mm, while the lowest value was observed in 2003. In Vijayanagara, the decreasing value was recognized in 2004 with the smallest amount of 247.85 mm, and it achieved a low value in 2015; after that, an expanding trend was noticed up to 2020 with the least amount of 980.86 mm. The trend in the rainfall at station Chikmagalur was slightly increasing. In Vijayanagara, the decreasing value has been recognized in 2004 with the least amount of 247.85 mm, and it reached a low value in the year 2015; after that, an increasing rainfall trend was indicated up to 2020 with 980.86 mm. The annual variation of the LOWESS curve is shown in Fig. 4. Time series of rainfall for each decade of the study the general trend remained consistent for some decades, and the time series shows little variation. The series of articles at rainfall was predicted by the yearly LOWESS test (line), which revealed significant results in every district. The standards of coefficient measurements reveal a connection, between the rainfall data, and both expected and actual rainfall.

Performance of traditional trend tests

The MK approach was mentioned in the interest of finding trends in annual precipitation (Table 3). A mix of positive and negative precipitation patterns is observed at various stations, corresponding to the yearly inspection. For the annual series, positive trends (increased) with significant levels were identified in Shimoga and Uttara Kannada districts (Table 3). According to Table 3, only Uttara Kannada and Shimoga have significant positive trends, with p-values of 0.009 and 0.001, respectively. When the alpha value is greater than the p-value, it is considered to as a significant positive trend. The annual rainfall is highly declining, whereas it is − 32.536% at Chitradurga − 18.05%. Table 2 indicates the magnitude change and Sen’s slope values of average rainfall.

Table 3 Outcome of MK test, at significance level (5%) in annual rainfall

Inspection of homogeneous and heterogeneous in average historical data rainfall

The examination of the consistency of rainfall data trends and the homogeneity test enables the detection of homogeneity in data. Pettitt’s test is a non-parametric experiment that not requires any acceptance of the distribution of precipitation data. Tables 4, 5, 6, and 7 show the results of enumerating change points detection in yearly precipitation using a test such as Pettitt’s, SNHT, Buishand, and von Neumann’s tests for data analysis to determine the homogeneous series (H0) and heterogeneous series (Ha) of rainfall.

Table 4 Probable shift years by Buishand’s test
Table 5 Probable shift years by Von Neumann’s test
Table 6 Probable shift years by SNHT test
Table 7 Probable shift years by Pettitt’s test

Tables 4, 5, 6 and 7 show the findings of the four homogeneity tests conducted on the precipitation of 31 rain gauge sites (districts) located throughout the study area. It can be seen that the rain gauge at Chikmagalur (p = 0.008) station is rejected in all four non-parametric tests and thus falls into the non-homogeneous category, whereas Hassan (p = 0 0.014), Mysore (p = 0.027), Haveri (p = 0.022), Shimoga (p = 0.039), and Uttara Kannada (p = 0.012) reject the null hypothesis in four tests and thus fall into the majorly heterogeneous series category, there more breakpoint in the time series.

The Chikmagalur station’s break-in precipitation data series showed 2015, followed by Hassan, Mysore, Haveri, Shimoga, and Uttara Kannada districts in 2015 and 2016, respectively. Figures 5, 6, and 7 show a line depicting the mean (average rainfall) before (M1) and then after (M2) the break in the rainfall trend for these five sites. These homogeneity test results were validated through ground truth investigations.

Fig. 5
figure 5

Pettitt test (PT) non-homogeneous series

Fig. 6
figure 6

Standard normal homogeneity test (SNHT) non-homogeneous series

Fig. 7
figure 7

Buishand range test (BRT) non-homogeneous series

To determine reasonable explanations for the heterogeneities discovered by the statistical tests, the station’s historical records were searched. One of the stations in the state’s north, Vijayanagara, is found to be nonhomogeneous by the SNHT test; this region suggests acceptance of the null hypothesis by all other methods and is thus separated into homogeneous rainfall series. Because none of the three homogeneity tests reject the null hypothesis, the other districts are highly homogeneous.

The homogeneous nature of the 25 districts indicates that any overall trend in the rainfall series is truly due to climate extremes Because well-accepted statistical methods for trying to adjust daily and weekly data are not available, the inhomogeneity recognize in the time series of precipitation gathered from 6 stations was not corrected. According to the Bureau of Meteorology Department, that data be examined to ensure the effects of homogeneities and that time data series with homogeneity issues be eliminated from the study (Chattopadhyay & Edwards, 2016). As a result, rather than correcting the inhomogeneity in the series data, these districts were excluded from further assessment in this study. The LOWESS curve analysis was applied to 31 rain gauge stations with homogeneous time series of precipitation. The results of the von Neumann’s (N) value analysis for Bellary show 1.293 with the highest estimation, and the p-value for Bellary is 0.045, followed by Koppala (N = 1.221 and p-value = 0.031), Belagavi (N = 0.774 and p-value = 0.001), the district of Dakshina Kannada (N = 1.004 and p-value = 0.007), Haveri (N = 0.654 and p-value = 0.000), Shimoga (N = 0.781 and p-value = 0.001), and the district of Uttara Kannada (N = 0.578); many districts fall into the heterogeneous sequence in the von Neumann test; a few of these districts have been discussed here; all of the districts and the quality and loyalty have been shown in the table. The district with the lowest value estimated is Chikmagalur, and the values are shown as N = 0.527 and p-value = 0.0001.

The effects of rising and falling rainfall trends

The above findings are critical for nature and economic management and planning. The previous research on groundwater potential evaluation in the research indicates that groundwater accessibility is in the poor stage in more and over 50% of the state, which is primarily prevalent in the topical savanna and arid steppe hot regions in the state. In this study period, there is a consequent variation in the rainfall; suppose the rainfall trend decreases continuously in future days, it may exacerbate water scarcity, going to lead to drought in the north and southeast parts of the state. It may also have negative consequences for water supply, agriculture, and energy production. Furthermore, the reduced rainfall trend has the potential to affect water quality and outcome in drinkable water scarcity. As a result, the decreasing trend may have serious consequences for the sustainable development of surface water supplies and groundwater recharge. As a result, water management through the construction of appropriate water harvesting is critical in this region. Timely adoption of efficient systemic change and efficient managing water resources targets is required. In contrast hand, the inclining trend in rainfall in the state’s southwest can lead to extreme rainfall events. So the research lacks proper drainage structure, and such extreme precipitation events are probable to have negative consequences including sewage overflows and increased runoff, which can result in inland flooding and heavy soil degradation. As a result, impactful soil and water conservation measures, as well as efficient water management, must be implemented in this region.

Conclusions

The current study focuses on precipitation trends in Karnataka’s 31 districts during the last two decades as a result of climate change. The pattern of precipitation trends is depicted using scientific methodology, together with a geographical explanation, interpretive figures, and statistical tables. Every station’s Mann–Kendall and Sen’s slope estimator trend shows both a downward and an upward trend. The output’s coefficient values show a strong correlation between the expected and observed values. Data at 5% statistical significance levels or 95% confidence levels, the precipitation trend was analyzed, and annual rainfall series in each district of Karnataka were found to have a true slope (magnitude) of rising and dropping, as determined by parametric and non-parametric testing.

  1. 1.

    The Dakshina Kannada district has the highest average rainfall, which is 3495.6 mm, with a magnitude change of roughly 26%, while the Koppala district has the lowest average rainfall about 530.4 mm, with a magnitude change of 11%, because of the commencement of the current rising era, 2015 has the greatest chance of being a break point in rainfall time series.

  2. 2.

    The trend of rainfall has been reported to be decreasing beyond this year. Annual precipitation is increasing at a 5% level, with two districts, Shimoga and Uttara Kannada, showing a positive significant trend in the Mk test with p-value 0.009 and 0.001, respectively.

  3. 3.

    The fitted prediction line statistics were utilized to establish the mean coefficient of determination (R2 = 0.8808) that was highest in the Uttara Kannada region for yearly rainfall patterns using non-parametric regression (LOWESS curve). The changing temperature of the planet, as well as the reallocation of precipitation circulation during monsoon seasons, may have an impact on long-term rainfall fluctuations.

  4. 4.

    The generated spatial maps can assist water resource planners and local stakeholders in understanding the risks and vulnerabilities related to climate change in the region.

Drought and flood in agriculture cropping systems are produced by spatial–temporal variability and various precipitation trends. The next investigation must determine the source of these changes to link observed patterns to climatic variability. Overall, the findings of the study will help organize and influence drought, flood management, and water resource control approaches in the state.