Comparison of Different Analyzing Techniques in Identifying Rainfall Trends for Colombo, Sri Lanka

Identifying rainfall trends in highly urbanized area is extremely important for various planning and implementation activities, including designing, maintaining and controlling of water distribution networks and sewer networks and mitigating flood damages. However, different available methods in trend analysis may produce comparable and contrasting results. )erefore, this paper presents an attempt in comparing some of the trend analysis methods using one of the highly urbanized areas in Sri Lanka, Colombo. Recorded rainfall data for 10 gauging stations for 30 years were tested using theMannKendall test, Sen’s slope estimator, Spearman’s rho test, and innovative graphical method. Results showcased comparable findings among three trend identification methods. Even though the graphical method is easier, it is advised to use it with a proper statistical method due to its identification difficulties when the data scatter has some outliers. Nevertheless, it was found herein that Colombo is under a downward rainfall trend in the month of July where the area receives its major rainfall events. In addition, the area has several upward rainfall trends over the minor seasons and in the annual scale. )erefore, the water management activities in the area have to be revisited for a sustainable use of water resources.


Introduction
Climate change is a multidimensional phenomenon, which adversely impacts many social, environmental, and economic aspects [1]. It has been revealed that there is a clear relationship between biological systems to the ongoing climate change.
erefore, many researchers identified that the climate change is already affecting the living systems [2]. Visible increments in precipitation can be seen in some parts of the world, and this can well be due to the ongoing climate change. Some of the areas in North and South America, northern Europe, and northern and central Asia have shown the increasing precipitation trends in precipitation records, and thus the previous statement was well proved [3]. However, decreasing precipitation trends are also observed in some of the areas and specifically in Sahel [4], the Mediterranean, southern Africa, and southern Asia [5].
Due to these climate changes and variations, frequent extreme climatic disasters, such as flood and droughts, have occurred. ey have resulted in severe adverse impacts on infrastructure, dams, urban drainage systems, and livelihood of human, animals, and vegetation [6,7]. It has been found out that multiday rainfall events have massively contributed to the extreme floods [7][8][9]. Due to inability of predicting the climate patterns, the flood defenses have become less efficient.
Analyzing long return-period rainfall events can be done using standard regional frequency analysis, which will produce generalized extreme value growth curves [10]. However, most of the studies have analyzed the trends in global climate change to a certain extent through different statistical models. Nevertheless, less attention was given to climate change impacts at regional or local scales throughout the past decades. e limited availability of long-term instrumental data [11] and given the uncertainties in modeling procedures are demotivated [12], some of the researchers do not analyze the weather patterns in different regions inside one country. Analyzing seasonal, decadal, or multidecadal trends can be challenging due to this unavailability of historic long-term weather records.
Kosanic et al. [13] discussed the climate change variation using present and historic climate data, and it was mentioned that the limited availability of past rainfall records is one of the major concerns of the researchers. ey further urged the need of these data in identifying the key risks and for the mitigation of impacts due to climatic changes. Institutional gaps, poor data management, and destruction of hydrological equipment by floods have resulted gaps in hydrological time series [14]. erefore, incorrect estimations on various natural disasters are possible. In addition, Brunet and Jones [11] stated that limited availability of longterm and qualitative historical climate records has limited the ability to understand the detection and the prediction of global climate variability. erefore, undertaking an integrated data rescue (DARE) is an essential task. However, various mathematical models are being used to complete the missing data in the climate series [15]. ese data can either be derived from satellites or from global model-based reanalysis.
e literature shows several trend analysis studies in the context of Sri Lanka. Most of them were in the direction of nonparametric tests. Alahacoon et al. [16] indicated that there is an increasing trend in rainfall indices when considering the time series rainfall data in 11 river basin areas selected throughout the country. ey have further proved that the accuracy of these results from the obtained satellite images for the considered locations. Jayawardene et al. [17] concluded that statistically significant increasing trends in rainfall are possible, including Colombo, Sri Lanka. ey have tested rainfall data from 15 meteorological stations all over the country. However, they have concluded that some of the places are not under significant rainfall trends. Herath and Ratnayake [18] summarized the seasonal rainfall trends and its impact to the landslides in the country. ey have identified a strong relationship with the increased spatial variations in rainfall and location of landslides. Jayawardena et al. [19], Navendrakumar et al. [20], Malmgren et al. [21], and evakaran et al. [22] are few of the examples of the literature for rainfall trend analysis in Sri Lanka. However, there is little research on comparing different methods in the detection of rainfall trends to Sri Lanka. Nevertheless, Nissansala et al. [23] have presented a comparative study on rainfall trends using innovative trend analysis (ITAgraphical method) and MannKendall method. e work is interesting as they have sound conclusions on the two methods. In addition, Rathnayake [24] has presented a similar study to two catchments in Sri Lanka, and comparable results were presented from that study.
However, a detailed comparative analysis on various trend analysis methods to Sri Lanka is yet to be presented. erefore, the aim of this paper is to analyze and compare the instrumental rainfall data in Colombo district obtained from historical weather records. is is timely important, being the capital of the country, Colombo is under many issues related to climate, natural disasters, and urbanization. e comparative analysis was carried to several rainfall scales varying on monthly, seasonal, and annual basis. e Mann-Kendall test, one of the long-established trend analysis test methods, Spearman's rho test, which is a rankbased nonparametric method, and finally the graphical method in rainfall trend analysis have been used as trend analyzing methods in this analysis. e results obtained from each method were compared to have a clear idea on the accuracy of applying them for the analysis.
In addition, this research will provide a clear understanding of climatic changes over Colombo district and will benefit to the urban system, population, and services they support. It will be helpful in planning and development of those activities without any negative impact from storm surges, flooding, and urban heat island effects, especially considering the fact that Colombo is one of the major commercial cities in the region.

Homogeneity Tests for Rainfall Data Series
Outcomes of a climatic data trend analysis solely depend on the quality of the data series used for the analysis. Hence, the reliability factor of these data is highly vital for the study.
us, prior to a potential trend analysis, homogeneity of the climatic data was checked [25][26][27][28][29]. Validation of the climatic data recorded at the same location at the same time of the particular day can be done by carrying a homogeneity test [25,30]. Different tests, including Pettitt's test, SNHT, Buishand's test, and von Neumann's test, were used to test the homogeneity of the climatic data series by many researchers [25,[30][31][32][33][34].

MannKendall Test
e MannKendall test is famous among most of the nonparametric tests used in identification of climatic trends. e test is treated to be one of the robust tests used by many researchers [35][36][37][38]. Mann in 1945 introduced this test for analyzing trends; however, it was further implemented in 1975 [39]. Hirsch et al. [40] further improved the nonparametric test by adding seasonality effect. Monotonic positive or negative trends are detected by the MannKendall test while the score for each season is computed through the seasonal MannKendall test [41,42].
e MannKendall statistic S is given by the following equation: where x i , and x j are monthly, seasonal, and annual data values. From equations (1 and 2), it is visible that S is independent of absolute values of data and dependent on their directional change for a given time period. e variance of S 2 Advances in Meteorology is given by equation (3), and test statistic Z c given in equation (4) is formulated using S: which is then tested with the two-tailed test using an adequate significance level α. In this paper, significance levels of α � 0.05 and 0.01 were used, and two-tailed test was carried out with the hypothesis H 0 , which defines that there is no trend in the series and H 1 , which defines a trend in the series at the chosen significance level α. Z c follows the standard normal distribution, a strong Z c score indicates a significant trend at chosen α, while negative and positive Z c indicates an upward or downward trend for the data period.

Spearman's Rho Test
Spearman's rho test is another nonparametric trend analysis technique, which is based on ranks and it can be used as a comparable test to the MannKendall test. Similar to the MannKendall test, H 0 defines that there is no trend in the series, while H 1 , defines a trend in the series at the chosen significance level (α) and data increase or decrease with the chronological order number (i) [36,43]. is test performed on the basis of time series data are identically distributed and independent. e test statistics R sp is given by the following equation: where D i is the ith observation rank, i is the chronological order number, and n is the total length of the time series data. e standardized statistics Z sp is given by equation (6), where Z sp is the student's t-distribution with (n − 2) degrees of freedom [44]: where (+ve) Z sp indicates an increasing trend and (− ve) Z sp indicates a decreasing trend. From Student's t-distribution table, the critical value of t at a 0.05 significance level is defined as t (n− 2,1− (α/2)) [44]. e null hypothesis (H 0 ) is rejected, indicating a significant trend in the time series if |Z sp | > t (n− 2,1− (α/2)) .

Sen's Slope Estimation Test
Sen's slope estimator test is used to compute the magnitude of a temporal trend, and it is widely used in analysis of rainfall patterns [43,[45][46][47]. e slope for data pairs are calculated using the following equation: where X j and X k correspond to the data values at time j and k, respectively. Sen's slope Q i is given by equation (8), and positive Q i values indicate an increasing (upward) trend, while negative values indicate the opposite:

Graphical Methods in Rainfall Trend Analysis
Most of the data series are identified as serially independent in statistical analysis for trend detection. However, it is understood that some of the hydrological data are not, such that, at least during some time periods. Hence, these show significant serial correlation during statistical analysis [48]. Rathnayake [24] has quoted the possibility of error occurrence in trends even with moderate correlations, and limitations of these methods are mostly due to null hypothesis. Sen [49] has presented a simple, straightforward, and innovative graphical method to detect available positive or negative trend in climatic data. e following sequence of steps proposes the methodology for this graphical method: (1) Initially, two or more equal subseries are created by dividing the main data series (2) en, these new subseries are arranged in the ascending order (3) Next, two antecedent series are plotted in the Cartesian coordinate system, where older one is slotted to the X axis and recent series in the Y axis (4) Following, Y � X graph and ±5% lines are plotted in the same Cartesian coordinate system (5) It is deemed that there is no trend, if the time series is scattered in between +5% and − 5% lines. If data are scattered above +5% line, a positive trend in the recent data compared with older data can be detected and vice versa.

Case Study Application, Colombo District, Sri Lanka
Rainfall data for 30 years were obtained from Meteorological Department of Sri Lanka for 10 different gauging stations located in the Colombo district from January 1989 to December 2018. Details of these rainfall stations are given in Table 1. However, the spatial distribution of the gauging stations can be seen from Figure 1.

Advances in Meteorology
Missing rainfall data due to instrument or recording errors were filled using the normal ratio method. en, the data were sorted according to monthly, annually, and seasonally. Sri Lanka has two major rainfall seasons (North-East Monsoonal Season (NEMS) and South-West Monsoonal Season (SWMS)). ese monsoons are usually active for the months of December to February (NEMS) and May to September (SWMS). In addition, it receives rainfall from two intermediate seasons: First Inter Monsoon (FIMS; March and April) and Second Inter Monsoon (SIMS; October and November). However, Colombo receives most of its rainfall from SWMS.

Results
Prior to analysis of the data, it is customary to check the available meteorological data for their homogeneity. ese test results for monthly rainfall data show that at 5% significance, they are homogeneous under Pettitt, SNHT test, Buishand, and von Neumann methods for majority of stations. However, the SNHT test for Dehiwala and Padukka showed nonhomogeneity results while the von Neumann test showed nonhomogeneity for Homagama station. Table 2 tabulates the summary of the trend analysis results from the MannKendall test (MK), Spearmen's Rho test (SR), and Graphical method (GM) for trend detection at 5% and 1% significance for ten selected stations located in the Colombo district. Based on the results in the table, it is visible that the two statistical trend analysis methods showcase similar observations at both 5% and 1% significances. However, little difference can be observed from MK test to SR test with no trends for Dehiwala and Padukka station at 1% significance level. Nevertheless, both locations showed trends at 5% significance level. erefore, that should be further investigated with more research. Geometrical analysis shows some comparable results to the two statistical methods in identifying rainfall trends. However, a detailed analysis on this graphical method is given with Figure 2. Figure 2 shows the results of the graphical method. e straight lines of each plot show the 45°(1 : 1) relationships. In addition, the dashed lines represent the ±5% variance lines. Potential trends in the rainfall of first half of time series compared to second half are shown through scattered data points. us, it is clear that an upward trend is available for Padukka station as shown in the Figure 2(i). Even though some data scatter for a positive trend is visible in the plot Figure 2(d), conclusive evidence is unavailable to derive a trend. Apart from these, no trend could be detected through other plots since data scatters are either between dashed (variance of 1 : 1) lines or much closer to them. e predicted upward trend in Padukka station is confirmed by the statistical analysis results of the MannKendall test and Spearman's Rho test as given in Table 2. As previously discussed, clear evidences are unavailable from the graphical method to show the trend detected from MK and SR tests for Dehiwala station for annual rainfall. Table 3 summarizes the comparison results of the identified trends for seasonal rainfalls in the 10 rainfall stations. It only shows the stations with an identified trend. e nonstated stations in Table 3 have not shown any trends from the methods those were tested. erefore, in other words, it can be concluded that those results are comparable with each other for the 3 methods. 100% match can be seen in Colombo (for NEMS) and in Padukka (for FIMS) as shown in Table 3. However, for others, a mixed conclusion can be drafted here. In most of the cases, at least two methods have shown a trend to the seasonal rainfall.
Two plots for Padukka for graphical method for seasonal rainfall are presented in Figure 3. ese two are showcased here as an example. Some of the outliers are found in these two plots. Even though both plots were analyzed as upward trends, two data points in each plot were placed under the − 5% line. ese can be considered the outliers. However, a careful concern should be given when ignoring these outliers.
Similar results can be observed in seasonal rainfall trend comparison when the MK and SR methods were considered Raingauge stations Colombo district boundary        Advances in Meteorology at 1% significance level. Gauging stations Angoda, Dehiwala, Hanwella, Homagama, Oruwala, Labugama, and Rathmalana have not shown rainfall trend. However, interestingly, some of the rainfall trends shown in 5% significant levels have disappeared in the 1% significant level. For example, Colombo has shown an upward trend in NEMS for 5% significance level; however, it has not shown any trend in 1% significance level. is is interesting, and therefore, further investigation is required in this case. Similar cases can be found in Avissawella and Padukka too.
Monthly trend analysis and its comparison show some interesting results. Comparable results were obtained for several stations for both monthly and seasonally rainfall trends. For example, Avissawella has downward trends in the month of July whereas it was reflected in the southwestern monsoon season (SWMS). Labugama, Oruwala, and Padukka show the similar results. However, contrasting results are observed in Colombo rainfall trends. It has an upward trend in northeastern monsoon season (NEMS), while having a downward trend in July. However, these two are not in the same time periods.
Nevertheless, an interesting observation was found in the month of July for many stations (Colombo, Angoda, Avissawella, Hanwella, Homgama, Labugama, Oruwala, and Rathmalana). July where Colombo is under the heavy rainfall shows a downward rainfall trend. As a district in the wet zone and frequent floods occurring in the southwestern monsoon time, this downward trend might be a positive scenario to see with. However, a detailed scientific discussion has to be conducted for further findings. However, comparable results were obtained for most of the stations in the monthly rainfall trends in three methods. Few of the results in the scale of month for some of the stations can be seen in Table 4.

Discussion
Several comparison studies of rainfall trends can be observed in the literature. However, only two studies were found in the context of Sri Lanka. Rathnayake [24] has investigated two catchments in Sri Lanka (Denawaka Ganaga and Uma Oya catchments) in the context of rainfall trend analysis and compared the nonparametric MK test with the innovative graphical trend analysis method. It was concluded that the graphical method can be easily adopted to identify the rainfall trends qualitatively but not quantitatively. In addition, Nisansala et al. [23] analyzed 24 rain gauging stations around Sri Lanka and compared the rainfall trend analysis with MK test results against graphical methods (Innovative Trend Analysis (ITA)) and Spearman's rho test. ey have found that there is a positive correlation in between the trend analysis results of MK test and ITA using Spearman's rho correlation coefficient. In addition, they have found 80% of agreement of graphical trend analysis results to the MK test results. erefore, they have concluded that the graphical method can be less complicatedly used in identification of the rainfall trends.
As it was stated in Section 8, a downward rainfall trend was identified in the month of July in Colombo.
is was supported by the annual scale in Nissansala et al. [23]. Nevertheless, Jayawardene et al. [17] have contrasting results from the MK test.
ey have found a positive rainfall trend in Colombo in the annual scale. More importantly, they have analyzed rainfall data from 1869 to 1998 for this conclusion, whereas Nisansala et al. [23] have used 1987 to 2017 recent rainfall data. erefore, the test scales are different and incomparable. Hence, it would be interesting to observe the rainfall in Colombo for the coming years while analyzing them in the month of July.
Zhang et al. [55] have carried out the trend analysis not only to rainfall but also to identify the trends in droughts. ey have compared the results in between MK test and Speaman's rho test and concluded that comparable results can be found in both techniques. Ahmad et al. [43] and SatishKumar and Rathnam [56] are couple of more examples of the same findings and conclusions.
Similar results were found in this research presented in this paper. It was well found that the results from Spearman's rho test and MK test match well not only in trend identification but also in magnitude of trends. Similarly, graphical analyses show the comparable results, however, not to 100%. is was well discussed by the previous researchers [23,24]. erefore, similar conclusions are drafted from this research. Caloiero et al. [57] and Gedefaw et al. [58] have supporting research to the above stated idea. ey have concluded that graphical methods are easy to use; however, they should be used carefully.
However, researchers have found contrasting results among some of the methods. Ay [51] has stated that contrasting results in between the MK test and Sen's trend test from the results obtained in Turkey. In addition to the rainfall, the temperature trend was also investigated in this research. Nevertheless, the MK test is widely accepted as a reliable test to identify the climatic trends. erefore, the research findings in nonparametric tests (MK test) in this research paper are considered reliable. us, the trend analysis to the capital city of Colombo and surroundings will be important in future water resource management and planning.

Conclusions
Comparison of three climatic trend analyses (MannKendall test, Spearman's rho test, and graphical test) was carried out in this paper. e rainfall trends obtained from these three results were compared with each other for 10 rainfall stations in Colombo. ree resolution levels, including annual, seasonal, and monthly rainfall, were tested under the three methods. Trend analysis results conclude that these three methods produce comparable results. e MannKendall test and Spearman's rho tests produce almost similar trends with trend magnitudes. However, the graphical method sometimes produced contrasting results compared with other two nonparametric tests. erefore, it can be concluded herein that careful use of the graphical method is essential in important planning related work. In addition, it is always better to consider another trend analysis approach with the graphical method; thus, there is always a comparison of results. is process leads to better achievements. Nevertheless, it was found that the month July is critical for Colombo as it has downward rainfall trends for significant number of rain gauges. July is one of the months in which Colombo receives its major rainfall; therefore, careful planning is essential.

Data Availability
e climatic data and the analysis data are available from the corresponding author upon request.

Disclosure
e research was carried out in the Sri Lanka Institute of Information Technology environment.

Conflicts of Interest
e authors declare that they have no conflicts of interest. e first three authors are working as research assistants in the corresponding author's research group. e corresponding author is a senior lecturer in the Faculty of Engineering, Sri Lanka Institute of Information Technology, Sri Lanka.