Abstract
Karst spring discharge time series analyses are often used to gain preliminary insights into the hydrological functioning of a karst system. KarstID is an R Shiny application that facilitates the completion of such analyses and allows the identification of karst system hydrological functioning. The application permits (i) to perform statistical, recession curves, classified discharges and signal (simple correlational and spectral) analyses; (ii) to calculate relevant indicators representative of distinct hydrological characteristics of karst systems, (iii) to classify karst systems hydrological functioning; and (iv) to compare the results to a database of 78 karst systems. The KarstID software is free, open source, and actively developed on a developer community platform. The user-friendly installation and launch make it especially accessible even for non-programmers; therefore, KarstID can be used for both research and educational purposes. The application and its user manual are both available on the French SNO KARST website (https://sokarst.org/en/softwares-en/karstid-en/).
Similar content being viewed by others
Avoid common mistakes on your manuscript.
Introduction
Around 9% of the world’s population is dependent on karst water resources for drinking water (Stevanović 2019). Karst systems are heterogeneous media with high contrasts in porosity and permeability, inducing a high variability in infiltration and internal flow processes (Bakalowicz 2005; Ford and Williams 2007). With the increasing demand for water, the characterisation of the functioning of karst aquifers become a major challenge for water resource management (Bakalowicz 2011). Among the numerous methods to study karst aquifers, analyses of spring discharge time series (recession curves, signal, statistics) are the most accessible as they only require the monitoring of spring discharge. Therefore, they are generally used as a preliminary step for characterising the hydrological functioning of karst systems, and subsequently for developing and designing hydrological models. Also, many authors declined these analyses into classifications for differentiating karst systems, with recession curves (Bonacci 1993; Cinkus et al. 2021; Dewandel et al. 2003; Fiorillo 2014; Kullman 2000; Malík and Vojtková 2012; Mangin 1975; Soulios 1991), signal (Gárfias-Soliz et al. 2010; Mangin 1984), hydrograph (Kovács 2021; Zhang et al. 2020) and statistical indicators (Flora 2004; Hakoun et al. 2022; Rashed 2012; Springer et al. 2008).
Recession curve analysis has been widely developed over the past century (Barnes 1939; Boussinesq 1903; Coutagne 1948; Drogue 1972; Horton 1933; Kullman 2000; Maillet 1905; Mangin 1975; Padilla et al. 1994). It consists in calibrating numerical models on a selection of recession curves from a hydrograph and interpreting the parameters of the equations. Signal analyses—originally developed by Box and Jenkins (1976), Brillinger (1975), and Jenkins and Watts (1968)—were introduced in karst hydrology by Mangin (1984). Their purpose is to characterise the temporal structure of hydrological signals, which allows deducing information on the inertia of a karst system (Jeannin and Sauter 1998; Kovács 2003; Larocque et al. 1998). Statistical analyses include distribution indicators such as mean, standard deviation and quantiles, but also cumulative frequency curves (Malík 2015; Mangin 1971). Numerous studies across the world are based on these analyses for characterising karst systems properties, determining the hydrodynamic parameters of aquifers and providing information on flow dynamics (Guo et al. 2021; Lorette et al. 2018; Malík et al. 2021; Nurkholis et al. 2019; Sağır et al. 2020; Vrsalović et al. 2022; Zerouali et al. 2021).
The completion of these analyses often requires a meticulous reading of the literature and appropriate programming skills. The application of statistical and signal analyses (e.g. simple correlational and spectral analyses) is generally done using or writing specific code functions. The recession curve analysis requires to (i) select and isolate several parts of the discharge time series, (ii) calibrate a recession model over each recession curve, and (iii) calculate indicators of functioning from the model’s parameters values. These operations can be tedious—especially for long time series—and are subjects to errors in selection, calibration and indicators calculation. For these reasons, several authors proposed powerful toolboxes and software to facilitate the completion of the recession curve analysis (Arciniega-Esparza et al. 2017; Carlotto and Chaffe 2019; Gregor and Malík 2016; Posavec et al. 2017), one of them also including statistical and signal analyses (BRGM 2022).
This paper presents an application (KarstID) that provides the user a toolbox for both the analysis of karst spring discharge time series and the characterisation of karst systems hydrological functioning. KarstID is distinguishable from other software because (i) it supports multiple analyses of discharge time series (statistical, recession curves, simple correlational and spectral, classified discharges) and automatic calibration of recession model; (ii) it proposes a classification of karst systems hydrological functioning (according to the proposal of Cinkus et al. (2021)) and a comparison of the results to a database of 78 karst systems; and (iii) it is free, open source and actively developed on a developer community platform. KarstID is built with the R Shiny framework (Chang et al. 2021) and is embedded into an R package (R Core Team 2021), which make the installation and launch easy even for non-programmers.
Software overview
The links to the user guide, the source code and the git repository are available on the French SNO KARST (Service National d’Observation du Karst) website (https://sokarst.org/en/softwares-en/karstid-en/). The user guide provides guidelines for the installation and launch, as well as a technical, in-depth and visual description of all the features of the application. The source code includes the data and functions used (i) for applying the analyses, (ii) for generating the plots, (iii) for managing the application and (iv) for building the R package. Users can start discussions or raise issues in the git repository, as well as propose new code or modify existing code with Pull Requests.
Workflow
First, the user has to load an appropriate dataset using the “Data import” tab. The second step is to apply four different methods for analysing the hydrological functioning of the system (Fig. 1). Two of these analyses (statistical and classified discharges analyses) do not need any actions from the user and the results of these analyses are directly displayed in their respective tabs. Two complementary analyses (recession curves and signal analyses) require the user to select curves and/or define parameters for the functions (i.e. recession model, autocorrelation function). The completion of the recession curve analysis automatically launches the third step which is the classification of the hydrological functioning of the system according to the methodology proposed by Cinkus et al. (2021). The user can then appreciate the results of the classification and compare the various hydrological characteristics of the analysed karst system with the ones of 78 karst systems located worldwide.
Data import
The “Data import” tab allows the user to load a karst spring discharge time series into KarstID. The raw data can be either a plain text or an Excel file, and must have only two columns referring to date and discharge, respectively. KarstID supports date and date-time format for the date column, and numeric format for the discharge column. The application proposes several features to minimise the preprocessing of the data: it is thus possible to (i) skip rows, (ii) select a specific Excel sheet, (iii) use a header or not, (iv) define the decimal mark, (v) define the delimiter and (vi) specify the date format. The user can give a name to the dataset, which will be used when displaying or downloading results.
The user can choose to interpolate missing discharge values and specify the maximum gap that will be covered. The interpolation is performed with the na.spline(method = “monoH.FC”) R function from the zoo package (Zeileis and Grothendieck 2005). The method is particularly well suited for the interpolation of small gaps, but users must be careful when using it for large gaps. Critical gap length cannot be specified a priori since it depends on both the time step on the time series and the hydrological behaviour of the investigated system. The user can also choose to either (i) keep all missing values in the time series or (ii) keep only the longest part of the time series without missing values.
After defining the import options and starting the importation, the application will (i) look for missing date entries and fill the blanks if necessary (adapted to the time step of the time series), (ii) interpolate missing discharge values, (iii) perform a daily or hourly mean over the discharge time series, and (iv) display a hydrograph on the same page. The interpolation and daily/hourly mean are realised according to the user-defined options. Note that the hourly mean can only be applied if the initial time step of the time series is at an hourly time step or less.
Methods
Four different methods are proposed in KarstID for analysing karst spring discharge time series. The methods can be applied independently of each other in their respective tabs.
Statistical analyses
Statistical analyses of spring discharge provide fundamental information about the hydrological functioning of a system. In KarstID, the following indicators are automatically calculated over the discharge time series when a dataset is imported: mean, maximum, minimum, standard deviation, 0.1 quantile (Q10), 0.9 quantile (Q90), Coefficient of Variation (CV) and Spring Variability Coefficient (SVC). The coefficient of variation corresponds to the ratio between the standard deviation \(\sigma\) and the mean \(\mu\) of the values:
The SVC, which corresponds to the proposal of a “characteristic discharge” by Netopil (1971), is the ratio between Q90 (value that is exceeded 10% of the time) and Q10:
The statistical indicators appear in a table below the hydrograph in the “Data import” tab. The number of missing discharge values are given in the last column of the table. The statistical analyses can be performed even if there are missing discharge values in the discharge time series.
Recession curve analysis
Recession curves correspond to the periods when the discharge gradually decreases without replenishment of water (Toebes and Strang 1964). The analysis of recession curves can be used to assess groundwater storage and gain insights into the hydrological functioning of an aquifer (Drogue 1972; Forkasiewicz and Paloc 1967; Kovács 2003; Krešić 2007; Kullman 2000; Malík 2006; Malík and Vojtková 2012; Mangin 1975). Generally, a recession curve can be divided into (i) an influenced regime or quickflow component, and (ii) a non-influenced regime or baseflow component. Usually, the influenced regime results from the fast infiltration of the precipitation through large fractures and conduits, while the non-influenced regime results from slow infiltration through a less transmissive media such as a porous matrix (Mangin 1975). Numerous recession models exist whose indicators of functioning and interpretation differ.
To date, after analyses of the various aforementioned methods, Mangin’s recession model (Mangin 1975) was identified as the most informative model (Cinkus et al. 2021). Accordingly, KarstID only propose Mangin’s recession model to identify relevant indicators necessary for classifying karst systems hydrological functioning (see section “Classification”). Mangin’s model is a two-equation recession model that requires the manual definition of an inflexion point for distinguishing between influenced and non-influenced regimes:
with \({Q}_{t}\) the discharge at time \(t\), \(\alpha\) the recession coefficient, \({Q}_{R0}\) the baseflow extrapolated at \(t=0\), \({q}_{0}\) the influenced discharge corresponding to the difference between \({Q}_{0}\) (discharge at \(t=0\)) and \({Q}_{R0}\), \(\eta\) a constant characterising the speed of infiltration (\(\eta =1/{t}_{i}\), with \({t}_{i}\) the beginning of the non-influenced regime) and \(\varepsilon\) a constant characterising the concavity of the influenced part of the recession curve.
The Mangin’s recession model is widely used as several indicators can be calculated for characterising the hydrological functioning of a karst system. The indicator \(k\) gives information about the capacity of a system to store and release recharge water, and is calculated as follows:
with \({V}_{an}\) the yearly mean volume of water discharged at the spring. The dynamic volume \({V}_{DYN}\) corresponds to the integral of the exponential function of the recession model:
The indicator \(i\) can be used to characterise the capacity of a system to dampen the precipitation signal, and corresponds to the discharge generated by the influenced regime two days after the flood peak:
The “Recession curve analysis” tab allows to perform the recession curve analysis. The selection of recession curves is done with the cursor using the graphical interface. The retained recession curves appear in a recap table where they can be selected to apply Mangin’s model. The user has to define the inflexion point of the curves, based on his knowledge and experience. The recession model is calibrated with the nonlinear least squares nlsLM() function from the minpack.lm package (Elzhov et al. 2016), which minimises the squared sum of the residuals between observed and simulated discharges. The Root Mean Square Error (RMSE) between observed and simulated discharges is displayed below the recession model plot and helps to appreciate the performance of the model. Once a recession model is calibrated and validated, the indicators of functioning are calculated. They appear in the recap table when saved by the user.
The user can choose to remove spikes on the recession curves, which usually correspond to the system’s response to small precipitation events and can be considered as noise for the modelling. Recession curve analysis can be performed even if there are missing discharge values in the discharge time series.
Simple correlational and spectral analyses
Simple correlational and spectral analyses are used to study the frequency content of a signal (Massei et al. 2006) by calculating the autocorrelation function and the associated spectrum with a Fourier transform. Mangin (1984) first applied these signal analyses to karst hydrology and proposed three indicators of karst hydrological functioning: the memory effect, the regulation time and the cut-off frequency. These three indicators mainly help to characterise the inertia of a karst system and its capacity to filter unitary impulse (Larocque et al. 1998; Marsaud 1997; Massei et al. 2006). The autocorrelation \({r}_{k}\) and autocovariance \({C}_{k}\) functions are calculated as follows:
with \(n\) the length of the series, \(m\) the maximum possible shift (usually \(m<n/3\)), \(k\) the shift (between 0 and \(m\)), \(\overline{x}\) the mean of the series, and \({x}_{i}\) and \({x}_{i+k}\) the ith and the (i + t)th elements of the series, respectively. The spectrum \({s}_{f}\) is derived from the autocorrelation function:
with \(f\) the frequency (\(f=j/2m\) at daily time step) and \({D}_{k}\) a weighting function to ensure that \({s}_{f}\) is not biased (Mangin 1984):
The correlogram is represented as the plot of \({r}_{k}\) against \(k\), and the spectrum of \(sf\) against \(f\). The memory effect corresponds to the value of \(k\) for a \({r}_{k}\) of 0.2, which can be read on the correlogram or calculated from the data. The regulation time corresponds to the value of the integral of the spectrum between \(0\) and \(+\infty\), i.e. the maximum value of the spectrum divided by 2.
The “Simple correlational and spectral analyses” tab displays the results of the simple correlational and spectral analyses. The user can define the cutting point \(m\), which correspond to the maximum shift possible for the calculation. The cut-off frequency is not displayed as it results from a visual, subjective assessment of the spectrum. Simple correlational and spectral analyses cannot be performed if there are any missing discharge values in the discharge time series. Appendix A presents a comparison of the results obtained by Mangin (1984) and those calculated with KarstID, although the databases are different as the ones used in Mangin (1984) are unavailable.
Analysis of classified discharges
The analysis of classified discharges provides information on flow dynamics within a system by analysing the distribution of the discharges at the spring. For most authors, classified discharges are equivalent to the empirical cumulative function of discharge (Stevanović 2015). Mangin (1971) proposed a variant based on the assumption that the distribution of the discharges can be approximated by a half-normal distribution. From this perspective, classified discharges refer to the quantile-quantile graph of observed discharges quantiles against quantiles of the half-normal distribution. Homogeneous hydrological functioning should be outlined by a straight line in the classified discharge plot. Interpretation of Mangin’s classified discharges thus consists of assessing the discontinuities of the curve and to relate them to changes in the hydrological functioning (e.g. activation of overflow springs, storage and release of water, leakage to another aquifer or miscalibration of the gauging station). The repartition function corresponding to the cumulative probability density regarding the standard normal distribution is calculated as follows:
For a half-Gaussian distribution:
The “Analysis of classified discharges” tab displays the results of both analyses of classified discharges. No user action is needed for the calculation. Analyses of classified discharges can be performed even if there are missing discharge values in the discharge time series.
Classification
In KarstID, it is possible to characterise a karst system after the methodology proposed by Cinkus et al. (2021) and compare the results with 78 karst systems located worldwide, the discharge of which being extracted from different database (Banque Hydro (Banque Hydro 2021), SNO KARST (Jourde et al. 2018), WoKaS (World Karst Spring hydrograph; Olarinoye et al. 2020). This dataset covers a wide diversity of karst hydrological functioning (from very reactive to inertial responses) with data from 17 countries in 12 different climatic conditions, according to the Köppen–Geiger classification (Cinkus et al. 2021). The classification allows characterising karst systems hydrological functioning according to 6 classes based on 3 indicators of functioning (Table 1). The indicators are derived from the results of the analysis of at least two recession curves. The draining of the capacitive function \({\alpha }_{mean}\) is calculated by averaging the \(\alpha\) parameters of the recession models. The capacity of dynamic storage \({k}_{max}\) corresponds to the maximum value of \(k\) among the analysed recession curves. The variability of the hydrological functioning \(IR\) corresponds to the difference between the maximum and minimum of the \(i\) distribution:
The “Classification” tab highlights the results obtained for the analysed karst system and summarises the values of the various indicators considered for the classification (Fig. 6). A flowchart thus indicates how the system is classified according to the values of the indicators of functioning. The associated text section (i) describes the hydrological functioning of the system according to its class, (ii) displays the indicators values and (iii) shows the distance to other classes. A 3D scatter plot shows the investigated system (highlighted in red) alongside 78 other karst systems, with each axis corresponding to one indicator of functioning. Results from statistical, recession curves, simple correlational and spectral analyses, as well as indicators of functioning of all 78 systems also appear in a recap table. By default, the systems in the table are ordered by increasing distance to the investigated system. The user can select a system in the table to highlight (in yellow) its position on the 3D scatter plot.
Test case
Fontaine de Vaucluse is a karst spring located Southeast of France. Its recharge area is estimated to be about 1160 km2 (Ollivier et al. 2019), resulting in one of the highest karst spring interannual mean discharge in Europe (17.5 m3 s−1 over the 1966–2018 period).
Fontaine de Vaucluse’s daily discharges over the 2013–2019 period (amounting to 1923 observations) are provided in KarstID as a test dataset. After importation using the “load test dataset” button, the hydrograph is loaded on the import page (Fig. 2). The statistical indicators and number of missing discharge values are displayed in the table below the plot. For this period, Fontaine de Vaucluse’s interannual mean discharge is about 15.9 m3 s−1 with no missing discharge values. The maximum observed discharge (about 67.1 m3 s−1) and the 90th quantile of observed discharges (about 32.0 m3 s−1) show that the discharge at the spring can be and stay very high during wet periods. The minimum observed discharge and the 10th quantile of observed discharges are relatively close (about 3.3 and 5.6 m3 s−1, respectively), highlighting a slow and consistent release of water from storage during dry periods. The coefficient of variation (72.3%) and SVC (5.7) are average and correspond to a “moderate” and "balanced" discharge variability, respectively (Flora 2004; Springer et al. 2008). The moderate discharge variability and the fact that the discharge can attain very high values can be related to a strong karstification of a part of the system. Using cross-correlation analyses between precipitation and discharge, Ollivier et al. (2015) found a transfer time between 1 and 6 days, indicating a somewhat reactive response of the system to precipitation events.
The autocorrelation function of discharge (Fig. 3) declines slowly and steadily, reaching 0 at 117 days. The memory effect and the regulation time are of about 56.0 and 44.0 days, respectively. These values testify of a significant capacity of filtration of the precipitation signal, which relates to the overall organization of flows in the system (Jeannin and Sauter 1998). The noticeable dampening of the recharge in the Fontaine de Vaucluse karst system can be related to the very large dimensions of its recharge area and unsaturated zone (Ollivier et al. 2019) or the characteristics of the Urgonian limestones (Carrière et al. 2016).
The analysis of classified discharges (Fig. 4) according to the methodology proposed by Mangin (1975) hints that there are flow properties changes beyond 20 m3 s−1 (less steep slope following the inflexion point). This discontinuity reflects the overflow threshold of the upper spring pool (Mangin 1975). The other inflexion point, occurring at 57.5 m3 s−1, can be related to several hydrological processes: activation of an overflow, temporary storage of water or leakage to another aquifer. It can be also due to a miscalibration of the gauging station or uncertainties on the water level-discharge calibration curve.
Three recession curves were selected and applied Mangin’s recession model to identify relevant indicators (Fig. 5). The recession curves were chosen according to the following criteria to ensure a maximum relevance of the analysis and its results: (i) the peak discharge must be at least one tenth of the maximum discharge of the time series, (ii) there must be little or no untimely peaks during the recession, and (iii) the recession must include both influenced and non-influenced regimes. The inflexion points (n.b. “breakpoint” in the application) were defined manually based on expert knowledge and RMSE values. The indicators k, i, and \(\alpha\) are then calculated for each recession curve and appear in the recap table.
Fontaine de Vaucluse is classified C6 with a \({k}_{max}\) of 0.403, an \({\alpha }_{mean}\) of 0.006 and an \(IR\) of 0.022 (Fig. 6). This class characterises a system with noticeable capacity of dynamic storage, slow draining of the capacitive function and low variability of hydrological functioning. Fontaine de Vaucluse is considered close to the C4 class with a distance of about 0.8% (normalised Euclidean distance in the three-dimensional criteria space), meaning that C4 characteristics can also be considered in the interpretation. It highlights that the system may have a capacity of dynamic storage and a draining of the capacitive function in-between C4 and C6 characteristics. Fontaine de Vaucluse’s class is also far from the classes C3 and C5 with distances of about 91.4%, which is due to the very low \(IR\) (0.022). The low variability of hydrological functioning and noticeable capacity of dynamic storage assigned to this system can be also related to the large extent of the recharge area and the thick unsaturated zone. Local variability of hydrological functioning may thus be mitigated as a consequence of the spatial averaging (indirectly inducing a strong filtration of the precipitation signal). The dampening of the rainfall-discharge relationship and the noticeable capacity of dynamic storage may also be related to particular hydrological behaviour of Urgonian limestones (Carrière et al. 2016). By looking at the page 1 of the database table, users can find other karst systems with similar hydrological functioning, e.g. Taillade, PR_0005 and IE_0018. These systems are highlighted in yellow on the 3D scatter plot, alongside the investigated system highlighted in red. Studying the characteristics of other similar systems may help to support the interpretation of the investigated system. Note that Fontaine de Vaucluse also appears in the table but here corresponds to the permanent entry of the database, which results from the analysis of the whole discharge time series.
Conclusion
KarstID can be seen as a useful tool for gaining preliminary insights into the hydrological functioning of a karst system. The application supports different methods for analysing discharge time series and proposes a classification of karst systems hydrological functioning. It is also possible to compare the results with a database of 78 karst systems located worldwide. KarstID is free, open source, and available on a developer community platform, which allow potential interaction between users and developers for improving software efficiency or adding new features. Other than the installation of R and R packages, no programming skills are required to use the application. KarstID could therefore also be relevant for occasional users or educational purpose. Future developments of the application include (i) a continuous consideration of feature requests and bug reports to improve user experience, (ii) the proposition of additional recession models (Drogue 1972; Kullman 2000; Padilla et al. 1994), and (iii) the addition of other discharge time series analyses (e.g. wavelet analyses).
Data availability
KarstID is a free R Shiny application embedded into an R package (4.6 Mo), developed by Guillaume Cinkus (guillaume.cinkus@umontpellier.fr) and first made available in 2021. The software requires R version 4.0.0 or later, can be run on any web browser, and is licensed under Creative Commons Attribution 4.0 International. The code repository is available on GitHub: https://github.com/busemorose/KarstID.
References
Allaire J, Xie Y, McPherson J, et al (2021) Rmarkdown: dynamic documents for r. https://cran.r-project.org/package=rmarkdown. Last accessed: 01 Oct 2022
Arciniega-Esparza S, Breña-Naranjo JA, Pedrozo-Acuña A, Appendini CM (2017) HYDRORECESSION: a Matlab toolbox for streamflow recession analysis. Comput Geosci 98:87–92. https://doi.org/10.1016/j.cageo.2016.10.005
Attali D (2020) Shinyjs: easily improve the user experience of your shiny apps in seconds. R package version 2.0.0. https://CRAN.R-project.org/package=shinyjs
Bakalowicz M (2005) Karst groundwater: a challenge for new resources. Hydrogeol J 13:148–160. https://doi.org/10.1007/s10040-004-0402-9
Bakalowicz M (2011) Management of Karst groundwater resources. In: van Beynen PE (ed) Karst management. Springer, Netherlands, Dordrecht, pp 263–282
Banque Hydro (2021) French ministry of ecology, energy, sustainable development, archive of hydrological data. Available online: http://hydro.eaufrance.fr/. Last accessed: 01 Oct 2022
Barnes BS (1939) The structure of discharge-recession curves. Trans AGU 20:5. https://doi.org/10.1029/TR020i004p00721
Bonacci O (1993) Karst springs hydrographs as indicators of karst aquifers. Hydrol Sci J 38:51–62. https://doi.org/10.1080/02626669309492639
Boussinesq J (1903) Sur un mode simple d’écoulement des nappes d’eau d’infiltration à lit horizontal, avec rebord vertical tout autour lorsqu’une partie de ce rebord est enlevée depuis la surface jusqu’au fond. C R Acad Sci 137:5–11
Box GEP, Jenkins GM (1976) Time Series Analysis: Forecasting and Control, Revised Edition. Holden Day, San Franscisco and Düsseldrof and Johannesburg etc.
BRGM (2022) XLKarst : une application Excel pour la caractérisation hydrodynamique des systèmes karstiques. https://www.brgm.fr/en/software/xlkarst-excel-application-hydrodynamic-characterisation-karst-systems. Last accessed: 2022–10–01
Brillinger D (1975) The identification of point process systems. Ann Probab 3:909–924. https://doi.org/10.1214/aop/1176996218
Carlotto T, Chaffe PLB (2019) Master recession curve parameterization tool (MRCPtool): different approaches to recession curve analysis. Comput Geosci 132:1–8. https://doi.org/10.1016/j.cageo.2019.06.016
Carrière SD, Chalikakis K, Danquigny C et al (2016) The role of porous matrix in water flow regulation within a karst unsaturated zone: an integrated hydrogeophysical approach. Hydrogeol J 24:1905–1918. https://doi.org/10.1007/s10040-016-1425-8
Chang W, Cheng J, Allaire J, et al (2021) Shiny: web application framework for R. R package version 1.6.0. https://CRAN.R-project.org/package=shiny. Last accessed: 01 Oct 2022
Cinkus G, Mazzilli N, Jourde H (2021) Identification of relevant indicators for the assessment of karst systems hydrological functioning: proposal of a new classification. J Hydrol 603:127006. https://doi.org/10.1016/j.jhydrol.2021.127006
Coene J (2021) Waiter: loading screen for ’shiny’. R package version 0.2.3. https://CRAN.R-project.org/package=waiter. Last accessed: 01 Oct 2022
Coutagne A (1948) Étude générale des variations de débit en fonction des facteurs qui les conditionnent. La Houille Blanche 134–146. https://doi.org/10.1051/lhb/1949025
Dewandel B, Lachassagne P, Bakalowicz M et al (2003) Evaluation of aquifer thickness by analysing recession hydrographs. Application to the Oman ophiolite hard-rock aquifer. J Hydrol 274:248–269. https://doi.org/10.1016/S0022-1694(02)00418-3
Dowle M, Srinivasan A (2021) Data.table: extension of ‘data.frame‘. R package version 1.14.0. https://CRAN.R-project.org/package=data.table. Last accessed: 01 Oct 2022
Drogue C (1972) Analyse statistique des hydrogrammes de decrues des sources karstiques statistical analysis of hydrographs of karstic springs. J Hydrol 15:49–68. https://doi.org/10.1016/0022-1694(72)90075-3
Elzhov TV, Mullen KM, Spiess A-N, Bolker B (2016) Minpack.lm: R Interface to the Levenberg-Marquardt nonlinear least-squares algorithm found in MINPACK, plus support for bounds. R package version 1.2-1. https://CRAN.R-project.org/package=minpack.lm. Accessed 01 Oct 2022
Fiorillo F (2014) The recession of spring hydrographs, focused on karst aquifers. Water Resour Manage 28:1781–1805. https://doi.org/10.1007/s11269-014-0597-z
Flora SP (2004) Hydrogeological characterization and discharge variability of Springs in the Middle Verde River Watershed, Central Arizona. PhD thesis, Northern Arizona University
Ford D, Williams P (2007) Karst hydrogeology. In: Karst Hydrogeology and Geomorphology. John Wiley & Sons, Ltd, pp 103–144
Forkasiewicz MJ, Paloc H (1967) Régime de tarissement de la foux-de-la-vis (Gard) étude préliminaire. La Houille Blanche 29–36. https://doi.org/10.1051/lhb/1967002
Gárfias-Soliz J, Llanos-Acebo H, Martel R (2010) Time series and stochastic analyses to study the hydrodynamic characteristics of karstic aquifers. Hydrol Process 24:300–316. https://doi.org/10.1002/hyp.7487
Gregor M, Malík P (2016) User manual for HydroOffice RC 4.0 tool. Online only, 35 pp. http://hydrooffice.org. Last accessed: 01 Oct 2022
Guo Y, Wang F, Qin D et al (2021) Hydrodynamic characteristics of a typical karst spring system based on time series analysis in northern China. China Geol 4:433–445. https://doi.org/10.31035/cg2021049
Hakoun V, Bailly-Comte V, Charlier J-B, et al (2022) Definition of new indicators for the characterization and classification of karst aquifers using discharge time series. In: Eurokarst 2022
Horton RE (1933) The Role of infiltration in the hydrologic cycle. Trans AGU 14:446. https://doi.org/10.1029/TR014i001p00446
Jeannin P-Y, Sauter M (1998) Analysis of karst hydrodynamic behaviour using global approaches: a review. Bull Hydrogeol 16:31–48
Jenkins GM, Watts DG (1968) Spectral analysis and its applications. Louvain Econ Rev 36:554. https://doi.org/10.1017/S0770451800043062
Jourde H, Massei N, Mazzilli N et al (2018) SNO KARST: a french network of observatories for the multidisciplinary study of critical zone processes in karst watersheds and aquifers. Vadose Zone J 17:180094. https://doi.org/10.2136/vzj2018.04.0094
Kovács A (2003) Geometry and hydraulic parameters of karst aquifers: a hydrodynamic modeling approach. PhD thesis, Neuchâtel University
Kovács A (2021) Quantitative classification of carbonate aquifers based on hydrodynamic behaviour. Hydrogeol J 29:33–52. https://doi.org/10.1007/s10040-020-02285-w
Krešić N (2007) Hydrogeology and groundwater modeling, 2e edition. CRC Press, Boca Raton (Fla.) and London and New york
Kullman E (2000) Nové metodické prístupy k riešeniu ochrany a ochranných pásiem zdrojov podzemných vôd v horninových prostrediach s krasovopuklinovou a puklinovou priepustnosťou. Podzemná voda ISSN 1335–1052:31–41
Larocque M, Mangin A, Razack M, Banton O (1998) Contribution of correlation and spectral analyses to the regional study of a large karst aquifer (Charente, France). J Hydrol 205:217–231. https://doi.org/10.1016/S0022-1694(97)00155-8
Lorette G, Lastennet R, Peyraube N, Denis A (2018) Groundwater-flow characterization in a multilayered karst aquifer on the edge of a sedimentary basin in western France. J Hydrol 566:137–149. https://doi.org/10.1016/j.jhydrol.2018.09.017
Maillet ET (1905) Essais d’hydraulique souterraine et fluviale. A. Hermann, Paris
Malík P (2006) Assessment of regional karstification degree and groundwater sensitivity to pollution using hydrograph analysis in the Velka Fatra Mountains, Slovakia. Environ Geol 51:707–711. https://doi.org/10.1007/s00254-006-0384-0
Malík P (2015) Evaluating discharge regimes of karst Aquifer. In: Stevanović Z (ed) Karst aquifers and engineering. Springer International Publishing, Cham, pp 205–249
Malík P, Vojtková S (2012) Use of recession-curve analysis for estimation of karstification degree and its application in assessing overflow/underflow conditions in closely spaced karstic springs. Environ Earth Sci 65:2245–2257. https://doi.org/10.1007/s12665-012-1596-0
Malík P, Švasta J, Bajtoš P, Gregor M (2021) Discharge recession patterns of karstic springs as observed in Triassic carbonate aquifers of Slovakia. Hydrogeol J 29:397–427. https://doi.org/10.1007/s10040-020-02276-x
Mangin A (1971) Etude des débits classés d’exutoires karstiques portant sur un cycle hydrologique. Ann Spéléol 26:283–329
Mangin A (1975) Contribution à l’étude hydrodynamique des aquifères karstiques. PhD thesis, Université de Dijon
Mangin A (1984) Pour une meilleure connaissance des systèmes hydrologiques à partir des analyses corrélatoire et spectrale. J Hydrol 67:25–43. https://doi.org/10.1016/0022-1694(84)90230-0
Marsaud B (1997) Structure et fonctionnement de la zone noyée des karsts à partir des résultats expérimentaux. PhD thesis, Université Paris XI Orsay
Mason-Thom C (2019) Shinyhelper: Easily Add Markdown Help Files to ’shiny’ App Elements. R package version 0.3.2. https://CRAN.R-project.org/package=shinyhelper. Last accessed: 01 Oct 2022
Massei N, Dupont JP, Mahler BJ et al (2006) Investigating transport properties and turbidity dynamics of a karst aquifer using correlation, spectral, and wavelet analyses. J Hydrol 329:244–257. https://doi.org/10.1016/j.jhydrol.2006.02.021
Merlino A, Howard P (2020) shinyFeedback: display user feedback in shiny apps. R package version 0.3.0. https://CRAN.R-project.org/package=shinyFeedback. Last accessed: 01 Oct 2022
Netopil R (1971) Ke Klasifikaci pramenu podle variability vydatnasti (The classification of water springs based on the basis of the variability of yields). Sbornik-Hydrological Conference, Papers 22:145–150
Nurkholis A, Adji TN, Haryono E, et al (2019) Time series analysis application for karst aquifer characterisation in Pindul Cave karst system, Indonesia. Acta Carsologica. https://doi.org/10.3986/ac.v48i1.6745
Olarinoye T, Gleeson T, Marx V et al (2020) Global karst springs hydrograph dataset for research and management of the world’s fastest-flowing groundwater. Sci Data 7:59. https://doi.org/10.1038/s41597-019-0346-5
Ollivier C, Danquigny C, Mazzilli N, Barbel-Perineau A (2015) Contribution of hydrogeological time series statistical analysis to the study of karst unsaturated zone (Rustrel, France). In: Andreo B, Carrasco F, Durán JJ et al (eds) Hydrogeological and environmental investigations in karst systems. Springer, Berlin, Heidelberg, pp 27–33
Ollivier C, Chalikakis K, Mazzilli N et al (2019) Challenges and Limitations of Karst Aquifer Vulnerability Mapping Based on the PaPRIKa Method to a Large European Karst Aquifer (Fontaine de Vaucluse, France). Environments 6:39. https://doi.org/10.3390/environments6030039
Padilla A, Pulido-Bosch A, Mangin A (1994) Relative Importance of Baseflow and Quickflow from Hydrographs of Karst Spring. Ground Water 32:267–277. https://doi.org/10.1111/j.1745-6584.1994.tb00641.x
Posavec K, Giacopetti M, Materazzi M, Birk S (2017) Method and excel VBA algorithm for modeling master recession curve using trigonometry approach. Groundwater 55:891–898. https://doi.org/10.1111/gwat.12549
R Core Team (2021) R: a language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. URL https://www.R-project.org/. Last accessed: 01 Oct 2022
Rashed KA (2012) Assessing degree of karstification: a new method of classifying karst aquifers. Sixteenth International Water Technology Conference (IWTC)
Sağır Ç, Kurtuluş B, Razack M (2020) Hydrodynamic characterization of Mugla Karst aquifer using correlation and spectral analyses on the rainfall and springs water-level time series. Water 12:85. https://doi.org/10.3390/w12010085
Sievert C (2020) Interactive web-based data visualization with R, plotly, and shiny. Chapman and Hall/CRC Florida, 2020. https://cran.r-project.org/package=plotly. Last accessed: 01 Oct 2022
Soulios G (1991) Contribution à l’étude des courbes de récession des sources karstiques: Exemples du pays Hellénique. J Hydrol 124:29–42. https://doi.org/10.1016/0022-1694(91)90004-2
Springer AE, Stevens LE, Anderson DE et al (2008) A comprehensive springs classification system: Integrating geomorphic, hydrogeochemical, and ecological criteria. In: Stevens LE, Meretsky VJ (eds) Aridland springs in North America: ecology and conservation. University of Arizona Press, Tucson, AZ, pp 49–75
Stevanović Z (ed) (2015) Karst aquifers and engineering. Springer International Publishing, Cham
Stevanović Z (2019) Karst waters in potable water supply: a global scale overview. Environ Earth Sci 78:662. https://doi.org/10.1007/s12665-019-8670-9
Thoen E (2021) Padr: quickly get datetime data ready for analysis. https://CRAN.R-project.org/package=padr. Last accessed: 01 Oct 2022
Toebes C, Strang DD (1964) On recession curves—recession equations. J Hydrol 3:2–15
Vrsalović A, Andrić I, Buzjak N, Bonacci O (2022) Karst Lake’s dynamics analysis as a tool for aquifer characterisation at field scale. Example of Cryptodepression in Croatia. Water 14:830. https://doi.org/10.3390/w14050830
Wickham H (2011) Testthat: get started with testing. R J 3:5–10
Wickham H, Bryan J (2021) Usethis: automate package and project setup. R package version 2.0.1. https://CRAN.R-project.org/package=usethis. Last accessed: 01 Oct 2022
Wickham H, Averick M, Bryan J et al (2019) Welcome to the tidyverse. J Open Source Softw 4:1686. https://doi.org/10.21105/joss.01686
Wickham H, Hester J, Chang W (2021) Devtools: tools to make developing r packages easier. R package version 2.4.2. https://CRAN.R-project.org/package=devtools. Last accessed: 01 Oct 2022
Xie Y (2021) Knitr: a general-purpose package for dynamic report generation in R. R package version 1.33. https://cran.r-project.org/package=knitr. Last accessed: 01 Oct 2022
Xie Y, Allaire JJ, Grolemund G (2018) R markdown: the definitive guide. Chapman and Hall/CRC, Boca Raton, Florida
Xie Y, Dervieux C, Riederer E (2020) R markdown cookbook. Chapman and Hall/CRC, Boca Raton, Florida
Xie Y, Cheng J, Tan X (2021) DT: A Wrapper of the JavaScript Library ’DataTables’. R package version 0.19. https://CRAN.R-project.org/package=DT. Last accessed: 01 Oct 2022
Zeileis A, Grothendieck G (2005) Zoo: S3 infrastructure for regular and irregular time series. J Stat Softw 14:1–27. https://doi.org/10.18637/jss.v014.i06
Zerouali B, Chettih M, Alwetaishi M et al (2021) Evaluation of karst spring discharge response using time-scale-based methods for a Mediterranean basin of Northern Algeria. Water 13:2946. https://doi.org/10.3390/w13212946
Zhang R, Chen X, Zhang Z, Soulsby C (2020) Using hysteretic behaviour and hydrograph classification to identify hydrological function across the “hillslopedepressionstream” continuum in a karst catchment. Hydrol Process 34:3464–3480. https://doi.org/10.1002/hyp.13793
Acknowledgements
The French Ministry of Higher Education and Research is thanked for the thesis scholarship of G. Cinkus. This application is developed within the framework of (i) the KARST observatory network (www.sokarst.org) initiated by the INSU/CNRS, which aims to strengthen knowledge-sharing and promote cross-disciplinary research on karst systems; and (ii) the KARMA project (Karst Aquifer Resources availability and quality in the Mediterranean Area, http://karma-project.org/). The DREAL Provence Alpes-Côtes d’Azur (PACA) is also acknowledged for providing Fontaine de Vaucluse’s data. The manuscript was written with the Rmarkdown framework (Allaire et al., 2021; Xie et al., 2020, 2018), using R (R Core Team, 2021) and knitr (Xie, 2021). KarstID software uses functions from the following packages: data.table (Dowle and Srinivasan 2021), DT (Xie et al., 2021), minpack.lm (Elzhov et al., 2016), padr (Thoen, 2021), plotly (Sievert, 2020), shiny (Chang et al., 2021), shinyFeedback (Merlino and Howard, 2020), shinyhelper (Mason-Thom, 2019), shinyjs (Attali, 2020), waiter (Coene, 2021), zoo (Zeileis and Grothendieck, 2005), and readxl, readr, dplyr, stringr, magrittr, ggplot2, lubridate (Wickham et al., 2019). The KarstID package was developed and structured using devtools (Wickham et al., 2021), usethis (Wickham and Bryan, 2021) and testthat (Wickham, 2011) packages.
Funding
The authors declare that no funds, grants, or other support were received during the preparation of this manuscript.
Author information
Authors and Affiliations
Contributions
GC, NM and HJ worked on the methodology and underlying sciences; GC programmed, coded and developed the application; GC wrote the original draft; GC, NM and HJ reviewed and edited the original draft.
Corresponding author
Ethics declarations
Conflict of interest
The authors have no relevant financial or non-financial interests to disclose.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix A
Appendix A
A. Comparison of indicators values from the correlational and spectral analyses between the original publication of Mangin (1984) and recent work of Cinkus et al. (2021)—calculated with KarstID. The exact time series used by Mangin (1984) are unavailable so different—and more recent—time series were used by Cinkus et al. (2021).
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Cinkus, G., Mazzilli, N. & Jourde, H. KarstID: an R Shiny application for the analysis of karst spring discharge time series and the classification of karst system hydrological functioning. Environ Earth Sci 82, 136 (2023). https://doi.org/10.1007/s12665-023-10830-5
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s12665-023-10830-5