Introduction

Travertine, a sedimentary rock of continental limestone, is identified by its density, finely crystalline structure, compactness, or mass, often presenting a concretionary appearance with fluctuating levels of vacuolization. Its color varies from gray to yellowish, and it commonly features coarse layering formed through the swift precipitation of calcium carbonate as a result of water agitation or evaporation (Foucault & Raoult, 1980). These formations are found across the globe (Chafetz & Folk, 1984; Luo et al., 2022).

Travertine and/or tufa possess both ecological and technical significance, serving as effective mediums for water storage and drainage due to their loose and porous structure. These formations, known for their vibrant colors and clear water, have become popular tourist destinations (Yan et al., 2023). The term refers to non-marine carbonate sediments situated near sources, rivers, lakes, and caves, predominantly composed of calcite (Akin & Özsan, 2011; Pentecost, 2005). Travertine can be categorized into two types: the precipitation of calcium carbonate at room temperature in cold water and the deposition of calcium carbonate near hot springs (Ford & Pedley, 1996). A comprehensive understanding of travertine formation is essential for elucidating the local hydrological cycle's migration process. Consequently, the stratified and zonal structure resulting from periodic sedimentation imparts scientific value, particularly in terms of paleoclimate and paleohydrogeology, notably in the Quaternary (Liu et al., 2015). According to the relief and sedimentary environment, the main types of travertine deposits can be classified into the following forms (Asta et al., 1977; Cook & Chafetz, 2017): pool, beach flow, lake, karstic cave, and waterfall, ranging from horizontal to nearly vertical. Morphological changes in travertine sediments may result from various deposition patterns, distinct mineral compositions, and different flow directions (Claes et al., 2017; Kalender et al., 2015), while erosion can alter their morphology (Fouke et al., 2000). The minerals constituting these various types of travertine provide sensitive environmental records of hydrochemistry, hydrological transmission, and climate (Bonny & Jones, 2008), thus facilitating paleoenvironmental reconstruction. For instance, barite deposition in travertine is influenced by the oxidation state of spring water, the rate of carbon dioxide degassing, and microorganisms (Pentecost, 1995). The predominant minerals in travertine deposits are calcite and aragonite (Özkul et al., 2013). Additionally, isotopic data in tufa can offer valuable insights into the study of climate and temperature (Andrews, 2006; Quade et al., 2017). In travertine formed during different seasons, the values of stable carbon and oxygen isotopes vary (Kele et al., 2008) and gradually increase from spring to the end of the system (Drysdale et al., 2002).

Several researchers have also explored travertine (Zhao et al., 2022), demonstrating the interdependence among slope, basin, and waterfall travertine deposits in the Huanglong basin. Ismail and Ahmed (2023) and Ehya and Marbouti (2018) have examined changes in hydrochemistry downstream along the flow path and the influence of hydrodynamics on CO2 degassing and CaCO3 precipitation. Zhang et al., (2012) predicted the rate of CaCO3 precipitation resulting from hydrochemistry in rapidly moving water. However, these studies did not thoroughly investigate the role of other potential factors in controlling travertine deposition. Furthermore, with the increase in tourist activities, much remains to be done for the preservation of travertine.

Ras Elma, located in the Tazekka National Park in Morocco, is renowned for its abundant travertine deposit, presumably formed during the Holocene. Three main categories of travertines emerge here, classified based on the valley morphology extending from the source of Ras Elma to the Oued Taza Valley: source, barrage, and valley, a classification inspired by the works of (Bakalowicz, 1990; Casanova, 1981). However, the current formation of travertines is declining, impacted by various factors such as climate, human intervention, and alterations in water chemistry. As a result, the regional travertine system has been disrupted, primarily by the crushing and destruction of ancient travertine terraces.

Furthermore, the water of Ras Elma has become more aggressive, exhibiting undersaturation in dissolved calcium carbonate (CaCO3), as evidenced by the Ryznar and Langelier methods. The assessment of potential calcium carbonate precipitation (PCCP) highlights significant precipitation, especially in July, August, September, and October, in the central area of Ras Elma, where source and barrage-type travertins form. Conversely, the formation of valley-type travertins is influenced by the waters of Oued El Heddar, characterized by calcium carbonate oversaturation, with a considerable PCCP throughout the year.

This study is particularly significant for two primary reasons. Firstly, it represents the inaugural effort to reveal the hydrochemical characteristics of the Ras Elma World Heritage site. Secondly, it enhances our comprehension of the current h2ydrochemical process associated with travertine deposition, offering valuable insights for preserving travertine and interpreting the sedimentary environment.

Geographical location of the study sites

The area under investigation in our study is situated to the south of the Taza region in northeastern Morocco (Fig. 1), thereby forming a sub-basin within the upper reaches of the extensive Sebou basin. This particular zone encompasses the juncture between the folded Middle Atlas and the marly tertiary rocks. Rainwater descends upon the perimeters of Lake Tompraire of Chikker, subsequently seeping through absorption points (such as dolines, ponors, and avens). Following a path into the depths, this water resurfaces at the Ras Elma spring, constituting one of the water sources for the Oued El Heddar (a sub-tributary of the Oued Taza).

Fig. 1
figure 1

Geographical location of the Ras Elma hydrogeological watershed

A hydrochemical study of the water was conducted at two sites: Ras Elma upstream and Oued El heddar downstream. The aim was to ascertain the variability of geochemical parameters including conductivity, turbidity, dissolved oxygen, Mg2+, Ca2+, and HCO3. These factors contribute to the formation of the present travertines at both locations.

The climatic context

Climate stands as one of the primary influencers in travertine formation. The sedimentation mechanisms align particularly well with climatic conditions characterized by moderate temperatures and specific patterns of precipitation distribution and intensity. These conditions facilitate various factors, notably the proliferation of vegetation and soil cover rich in CO2, alongside abundant and consistent freshwater runoff (Weisrock et al., 1986).

The climatic analysis offers insights into the origin of Ras Elma spring water, which has been the pivotal force driving current travertine formation in our study area. Multiple studies suggest that the spring water results from the infiltration of water from Dayat Chikker through zones of vulnerability such as faults and ponors, ultimately emerging at Ras Elma.

The study area, situated between the Middle Atlas in the south and the Pri-Rif in the north, falls within the context of the Mediterranean climate. The climate here spans from semi-arid to sub-humid and humid, maintaining a predominantly continental nature. The presence of chergui winds significantly impacts higher temperatures. In essence, our study area and its environs are delineated by their precipitation levels, specifically in terms of the frequency of rainy days. This frequency fluctuates across different rainfall stations owing to various factors, notably orography and the orientation of slopes.

To investigate the climate, we utilized data from two rainfall stations: the Bab Boudir station near Dayat Chikker upstream and the Taza station downstream. The Annual rainfall at the two stations ranges from 1976 to 2017, with an annual maximum recorded in 2010 at 850 mm and an annual minimum recorded in 1995 at 230mm at the Taza station. However, the Bab Boudir station recorded an annual maximum of 2000 mm in 1996 and a minimum of 310 mm in 2012. The variation in annual rainfall rates between the two stations can be explained by a number of factors, including the altitude factor and the geographical location of Bab Boudir. Indeed, the high relief of Bab Boudir acts as an embankment against the humid air masses that come from the west of Morocco, and consequently the rainfall rate increases.

Temperature indirectly influences travertine formation. Rainwater, nearly devoid of cations and minimally mineralized, contains CO2 in equilibrium with the atmosphere and maintains an acidic nature. When this equilibrium water, at 5 to 15°C, warms, it loses 25% of its dissolved CO2, precipitating 25% of its dissolved calcite (Thiry & Jean, 2013). The lowest recorded temperature at Bab Boudir in January was − 2.8°C, whereas the highest in July was 29.3°C. Contrastingly, Taza experienced a minimum of 5.8°C and a maximum of 35.1°C.

This climatic pattern ensures a consistent water supply to the Ras Elma spring, with monthly flows fluctuating between a peak monthly average of approximately 500 l/s in February and a minimum monthly average of around 46 l/s in August and 49 l/s in September.

Lithology of the study area

The lithological composition of the massif stands as one of the pivotal elements influencing travertinisation. Specifically, the precipitation and formation of limestone tuffs and travertines require the presence of an upstream region abundant in highly porous carbonate rocks like sandstone, limestone, and dolomite. These rocks often feature extensive submerged areas where the solution accumulates a significant portion of its mineral content, typically attaining saturation (Nicod, 1986).

In a general sense, the outcrops within our study area exhibit a diverse range of ages and lithological compositions. The Mesozoic outcrops notably feature a prevalence of limestone-dolomitic rocks, whereas the Cenozoic outcrops situated in the north are distinguished by soft Miocene formations (Hoepffner, 1978).

As per the geological map, the Triassic formations overlay the Paleozoic substrata in a non-conformable manner. These formations are of the coarse detrital type and exhibit saliferous clay outcrops along the significant tectonic faults within the Middle Atlas (Sabaoui & Viallard, 1987).

The outcrops of the lower Lias (Sinemurian) manifest as dolomitic limestone and marl at their base, overlaying the Triassic formations, as outlined in the study by (Robillard, 1981). This study provides the following description: "These carbonate formations consistently rest atop the basal Triassic-Lias." Moving into the Domerian stage, the outcrops expand slightly, forming sequences of limestone banks interspersed with marl layers. By the Toarcian stage, there's a discernible shift in the facies of the marly limestone rocks that overlie the Domerian formations.

The northern section is characterized by an abundance of soft rocks from the Tertiary period, exhibiting a structure of blues marl occasionally intermixed with sand, as precisely depicted by (Gentil, 1911) during the Tortonian–Messinian period.

Within the study area, the Quaternary era is identified by travertine deposits, accumulations of scree, fluvial sediments, and decalcification soil deposits (Fig. 2).

Fig. 2
figure 2

Lithological context of the study area. (Based on the Taza 1/50000 geological map)

Tufa and travertine formations in the Ras Elma region:

The Ras Elma region exhibits a diverse array of travertine forms and formations, ranging from ancient to actively forming structures. These encompass three primary categories, as previously delineated by Casanova in 1981. The spring-type travertines within this category notably bear the trace of human settlement, marked by the construction of residences and infrastructure dating from the colonial era to the present day. Despite this, within the channel formed by the spring, one encounters pebbles encrusted by the precipitation of calcium carbonates. Moving beyond the initial waterfall, situated approximately 200m from the source, lies the second category: the travertines of the dam type. Within this segment, there exist three major generational phases from the initial waterfall to the expansive cascade situated within the study area. This succession delineates a series of water reservoirs and waterfalls, their formation contingent upon the morphology of the Oued El Heddar watercourse. Furthermore, in select areas, the construction of travertine dam’s results from the presence of substantial blocks or clusters of vegetation (Mounir et al., 2019).

The extensive 15-m cascade (Fig. 3; Photo A) at Ras Elma is formed by lengthy draperies of bryophytes, specifically mosses, created during serene, continuous streams. Beneath these formations lie small caves or shelters formed due to the advancement of these draperies. Below this cascade, crusts appear on blocks resulting from the lateral collapse of dolomitic limestone rocks, as well as on various plant supports such as stems, branches, and roots. Additionally, the Ras Elma area is characterized by the presence of laminated travertines (Adolphe, 1981; Casanova, 1981; Vaudour, 1986). This type of travertine often encapsulates numerous plant remnants such as leaves, trunks, and mosses, among others, with its morphology contingent upon the substrate it develops upon. These formations are typically associated with highly dynamic hydrological environments.

Fig. 3
figure 3

Geomorphological aspects of the travertines in the Ras Elma region a travertine deposited directly on marl-limestone b valley-type travertine c Laminated travertine d Limestone tuff E-the great waterfall of the ras Elma region F-travertine formed on tree trunks.

This facies presents a distinguishable succession, visible to the naked eye on a macroscopic scale, featuring alternating light and dark laminae. This alternation takes the form of laminae exhibiting microsparitic to sparitic precipitation (light laminae) alongside laminae demonstrating micritic precipitation (dark laminae).

The valley-type travertines develop post the aforementioned large cascade, extending over 4km from the Ras Elma source to the Oued Banon confluence with the Oued El Heddar. Within this stretch, various facies have emerged, predominantly featuring travertino-detritic type formations, travertines supported by plants, and laminated stromatholitic travertines.

Figure 3 (photo A) illustrates a valley-type travertine structure observed after the aforementioned significant waterfall. It manifests as centimeter-thick laminae composed of stromatholitic algal mats. Conversely, photo (B) displays a detritic travertine facies at the base, covered by alluvium comprising pebbles and more or less rounded gravels.

Another prevalent travertine facies, resembling tree trunks, is widely dispersed along the Oued El Heddar, owing to the dense presence of trees along its banks. During winter, the Oued El Heddar's water flow intensifies, leading to the uprooting of trees along its path. In other seasons, the water flow subsides and becomes rich in calcium bicarbonate. Upon encountering a tree trunk, the water mineralizes it, effectively transforming it into a small dam (photo F). The Fig. 3 photo (D) depicts a section of calcareous tuff situated within a small tectonic depression bounded by geographical coordinates (34°09′09''N; 4°00′49''W). This section, over 1m thick and dark brown in color, comprises a blend of fine and coarse sands, along with carbonate elements. It is topped by hydrophilic plant remains and continental plant residues, formed during the recent Pleistocene period.

Materials and methods

The Ras Elma site has been the focal point of numerous research excursions aimed at mapping the distribution of tufa and travertine, understanding their topographic and sedimentological positioning, and conducting a lithofacies study. Regarding hydrochemical analysis, 12 water samples were collected in sterile containers as grab samples, following the general protocol for sample storage and handling (ISO, 1994), at three sites (Dayat Chikker, Ras Elma, and Oued El Heddar) on a monthly basis between January 2021 and December 2021.

The study focused on a set of physicochemical parameters. On-site measurements included temperature, pH, and electrical conductivity, assessed using a CONSORT-Model835 multiparameter analyzer. Turbidity was measured with a portable turbidimeter compliant with ISO—HI98713, and dissolved oxygen was determined using Hanna Instruments ISO- HI9142 equipment. Various reagents, including hydrochloric acid (HCl), EDTA solution, sodium hydroxide (NaOH), ammonia solution (NH3OH), silver nitrate (AgNO3), and potassium chromate (K2CrO), were used for the determination of cations (Ca2+, Mg2+, Na+, K+) and anions (HCO3, Cl, SO42−) in the sampled water, following the Rodier et al. (2009) protocol. All these analyses were conducted at the RADDETA laboratory (Autonomous Water and Electricity Distribution Authority) in Taza.

The PHREEQC geochemical program (Plummer, 1984) was used to identify the main hydrogeochemical facies of the studied sites and to calculate the saturation index of minerals such as anhydrite, aragonite, calcite, dolomite, gypsum, and halite.

In the context of an in-depth study, this article assesses the ability of carbonate rocks to dissolve and precipitate CaCO3 in the Ras Elma region. The Langelier and Ryznar indices are employed to evaluate the capacity of carbonate rocks to dissolve and precipitate CaCO3 in a given water system. These indices take into account specific physico-chemical parameters such as water temperature, pH, conductivity, Ca2+ content, and bicarbonates (HCO3) (Srour et al., 2022). The Langelier Saturation Index (LSI) measures the saturation of calcium carbonate in water, while the Ryznar Stability Index (RSI) is used to predict the likelihood of calcium carbonate scaling. Both indices are crucial for understanding the potential dissolution and precipitation of minerals in water systems, especially in connection with carbonate rocks (Santhanam et al., 2021). The use of these indices is well-documented in the literature and is commonly employed in geochemical modeling and water quality assessments (Ghobadi Nia et al., 2010; Palazzo et al., 2015).

Results

Principal hydrogeochemical facies

The Piper diagram illustrates cations and anions on two distinct triangles, each side displaying the proportion of major ions concerning the total ions. The position of an analysis on these triangles helps ascertain dominance in both cations and anions. These triangles are linked to form a rhombus, marking the convergence of lines drawn from the identified points on each triangle. This convergence point represents the comprehensive analysis of the sample, aiding in specifying the water's facies.

Analysis of the Piper diagram reveals that samples grouped under (A) exhibit a calcic to magnesian facies across the three studied sites. The area denoted by the letter (B), representing cations, displays a calcic to magnesian bicarbonate composition, comprising 50% (Ca2+) and 50% (Mg2+) across these sites. In contrast, the zone marked by the letter (C), representing anions, signifies bicarbonated water. Overall, the diagram depicts a water family predominantly characterized by calcium and magnesium bicarbonate compositions (Fig. 4).

Fig. 4
figure 4

Graphical representation of chemical facies Piper diagram (dayat Chikker, Ras Elma and Oued El Heddar)

The various facies unveil the hydrogeochemical processes governing groundwater mineralization across the three studied sites. This examination hinges primarily on the outcomes of chemical analyses conducted. These findings showcase minimal content variance, with most cases indicating standard deviations below the mean (Table 1).

Table 1 Preliminary results of physicochemical parameters

Given that standard deviation measures the spread of values around the mean, the smaller standard deviation values in this instance suggest reduced dispersion among the variables.

From the results provided in the same table, it's evident that the studied waters exhibit an average temperature of 13.12 °C, notably higher this year (attributed to the persistent drought impacting our country in recent years). The waters maintain an average slightly acidic to neutral pH of 6.78. Additionally, their conductivity (μS/cm) indicates high to markedly high mineralization, varying with the seasons. The distribution of cations and anions in the studied waters follows this order: Ca2+, Mg2+, Na+, K+; HCO3, SO4, Cl.

Characteristic ratios

The interrelationships among the chemical elements detected in groundwater Na+, Cl, SO42−, Ca2+, and HCO3 highlight the prevalence of carbonate ions (Ca2+, HCO3) over other ions like saliferous ions (Na+, Cl). To expound upon these chemical element relationships, we've developed several graphs depicting the ensuing characteristic relationships: The rMg2+/rCa2+ ratio.

The rMg2+/rCa2+ ratio values (Fig. 5) across the three sites spanned from 0.53 (Oued El Heddar site) to 0.99 (Dayat Chikker site), averaging at 0.64. These values indicate that the rMg2+/rCa2+ ratio remained below 1 across all three sites during this measurement year. This signifies calcium's prevalence resulting from the dissolution of carbonate formations within the study area.

Fig. 5
figure 5

Characteristic ratio (rMg2+/rCa.2+)

The results from the characteristic ratio of rMg2+/rCa2+ indicate that all the sites had values lower than 1, signifying the prevalence of calcium. This is attributed to the solubility of calcium-rich limestones rather than magnesium-rich ones (Teboul et al., 2016).

The ratio between (Na+ + k+)/Cl

The dominance of chlorides is corroborated by the characteristic ratio (Na+ + K+)/rCl, which remains below 1 at all three sites (Fig. 6), except for the Ras Elma site that records values exceeding 1 in months 8, 11, and 12 of 2021. This is likely a result of water circulation within marl and clay soils.

Fig. 6
figure 6

Characteristic ratio r (Na+ + K+)/rCl

When the ratio r (Na+ + K+) /rCl is less than 1, it indicates a predominance of chlorides, linked to saline soils. When this ratio exceeds 1, sodium prevails.

Ratio between (SO4 2−/Cl)

The characteristic ratio is greater than 1 for the majority of the three sites during the 2021 period. This is explained by an increase in sulphate concentration. However, Oued El Heddar and the Chikker site recorded values below 1 in the months of June, September, and October, reflecting the predominance of chlorides.

The Fig. 7 above illustrates that, throughout the year 2021, all three sites recorded values exceeding 1, with the exception of the month of mai 5 at the Oued El Heddar site that recorded a value of 0.7, and months of September and October at the Dayat Chikker site, that registered 0.9. This scenario indicates a prevalence of sulfates, primarily associated with leaching from gypsum soils and the oxidation of sulfides, notably pyrite. This process occurs when these minerals react with atmospheric oxygen and water, resulting in the formation of sulfuric acid (H2SO4) and sulfate ions (SO42−). The oxidation of sulfides can be influenced by various factors such as the presence of oxygen, water, microorganisms, and chemical catalysts (Rimstidt & Vaughan, 2003). Furthermore, in investigating the water's nature, particular attention is directed toward the Vaucluse spring of Ras Elma and Oued El Heddar, where ongoing tuff and travertine formations occur. We've employed three methods for this inquiry: the Ryznar method, assessing water tendencies toward aggressiveness or calcium carbonate deposits; the Langelier method, determining whether the water in Ras Elma and Oued El Heddar is saturated or undersaturated with calcite, based on the 2021 measurements; and the Hallopeau–Dubin method, theoretically predicting the rate of precipitated calcium carbonate during the measurement year's days. These methods find widespread use among various researchers (Al-Qurnawi et al., 2022; Amouei et al., 2017; Yekta et al., 2015).

Fig. 7
figure 7

Characteristic ratio (rSO42−/r Cl.)

The Langelier and Ryznar indices

The Ryznar method is used as an empirical approach to predict the water's nature by assessing its tendency to be corrosive or to deposit calcium carbonate. It is computed using the formula:

$$ {\text{Ir }} = {\text{ 2 pHs }} - {\text{ pH}}. $$

The saturation pH (pHs), an essential factor, is calculated employing the empirical formula below:

$$ \begin{gathered} {\text{pHs }} = \, \left( {{9}.{3 } + {\text{ A }} + {\text{ B}}} \right) \, - \, \left( {{\text{C }} + {\text{ D}}} \right) \hfill \\ {\text{A }} = {\text{ Log1}}0 \, \left( {{\text{salinity in mg}}.{\text{ L}}^{{ - {1}}} } \right) \, - { 1}/{1}0 \hfill \\ {\text{B }} = \, - {13}.{12 } \times {\text{ Log1}}0 \, \left( {{\text{temperature in }}^\circ {\text{C }} + { 273}} \right) \, + { 34}.{55} \hfill \\ {\text{C }} = {\text{ Log1}}0 \, \left( {{\text{calcium hardness in mg}}.{\text{ L}}^{{ - {1}}} } \right) \, - \, 0.{4} \hfill \\ {\text{D }} = {\text{ Log1}}0 \, \left( {{\text{TAC in mg}}.{\text{ L}}^{{ - {1}}} } \right) \hfill \\ \end{gathered} $$

An RSI below 7 indicates scaling water that will lead to calcium carbonate deposits if left untreated. Conversely, an RSI above 7 signifies aggressive and corrosive water.

When applied to the Ras Elma spring water, the RSI fluctuates between 6.6 and 8, indicating that the majority of Ras Elma's water is aggressive. However, during July, August, and September, the water's nature changes to deposit calcium carbonate. Meanwhile, Oued El Heddar's water shows a value above 7 throughout the measured months, signifying aggressiveness, except for month 9, which records a value of 6.8 (Fig. 8).

Fig. 8
figure 8

The nature of the water in Ras Elma and Oued El Heddar according to the Ryznar Index (RI)

Langelier's method is a commonly employed approach in physico-chemical studies to assess water aggressiveness. The calculation follows this equation:

$$ {\text{LSI }} = {\text{ pH }} - {\text{ pHs}} $$

where: pH represents the measured pH of the solution,

pHs signifies the saturation pH concerning calcite, calculated as follows:

$${\text{pHs}} = {\text{pk}}'{\text{2}} - {\text{pk}}'{\text{s}} - {\text{log }}\left( {{\text{Ca}}^{{{\text{2}} + }} } \right) - {\text{log }}\left( {{\text{TA}}} \right) - {\text{log}}({\text{1}} + {\text{2}}.{\text{1}}0\left( {{\text{pHs}} - {\text{pk}}'{\text{s}}} \right))$$

Langelier utilizes equilibrium constants pk'2 and pk's, denoting the apparent constants of the 2nd dissociation of carbonic acid and the solubility product of calcite, respectively. For pH values below 9.5, Langelier suggests disregarding the term log(1 + 2.10(pHs-pk's)).

This leads to the simplified formula: pHs = pk'2 − pk's − log (Ca2+) − log (TA).

According to Langelier:

  • LSI < 0 implies that the water's measured pH is lower than the saturation pHs, indicating undersaturation in calcite.

  • LSI = 0 denotes equality between the measured water pH and saturation pHs, indicating saturation and calco-carbonic equilibrium.

  • LSI > 0 suggests that the water's measured pH exceeds the saturation pHs, signifying supersaturation in calcite, leading to CaCO3 precipitation.

According to this index (Fig. 9), it appears that the majority of water from the Ras Elma source is undersaturated in calcite, except for the months of July, August, September, and December, which are saturated in calcite and tend to precipitate CaCO3. However, the water of Oued El Heddar is saturated in calcite throughout the measurement year of 2021, except for the month of November.

Fig. 9
figure 9

LSI of Ras Elma and Oued El Heddar

This index suggests minimal dissolution of carbonate rocks in the Dayat Chikker aquifer. The dissolution of calcite consumes carbon dioxide (Al-Droubi, 1976) and affects the pH level. Conversely, at the level of Oued El Heddar, it appears that the water flowing from the Ras Elma source until it meets Oued Benoune consumes more carbon dioxide from the air. This makes the water more aggressive towards carbonate rocks, resulting in the supersaturation of calcium carbonate in Oued El Heddar.

Moreover, in predicting the theoretical rate of precipitated calcium carbonate during the measurement year, we referenced the work of Hallopeau–Dubin, 1960. This work relies on physico-chemical parameters such as water temperature, pH, TAC (Total Alkalimetric Title), calcium, dry residue, chloride, and sulphates.

According to this index (Fig. 10), it appears that calcium carbonate CaCO3 precipitation at the Ras Elma spring occurs in July, August, September, October, and December, with rates varying between 12mg/l in October and 42mg/l in July. However, CaCO3 is soluble in January, March, April, and November, while February, May, and June are characterized by the absence of CaCO3. Conversely, at the downstream point, Oued El Heddar, there is CaCO3 precipitation during the measurement months, except for June, July, and August, when Oued El Heddar is dry.

Fig. 10
figure 10

Potential for precipitation of calcium carbonate (PPCC) in Ras Elma and Oued Heddar

This differentiation between the upstream spring water and downstream Oued El Heddar can be explained by numerous factors such as precipitation rates, temperature, and the level of free carbon dioxide (CO2). The latter factor holds a greater influence on the potential for calcium carbonate precipitation.

Discussion

In light of these results, and though we were limited to a single day of hydrochemical analysis per month at the three sites, it's evident that the Ras Elma spring water was undersaturated in calcium carbonate during November, January, March, and April of the 2021 measurement year. Conversely, the water was supersaturated in CaCO3 during July, August, and September (a period when Morocco faced a drought and significant water deficit from 2019 to 2023). This new scenario disrupts and influences the system of calcite dissolution and precipitation within the Chikker cave's endokarst, leading to an imbalance in the travertinisation system in the Ras Elma region.

Carbon dioxide dissolved in water plays a vital role in limestone dissolution (Mitchell et al., 2010; Mark et al., 2010), although not the sole factor, yet generally the most significant (Ek, 1973). Additionally, water from Ras Elma's Chikker endokarst, likely rich in CO2 as indicated by the research in Belgium by (EK & Gewelt, 1985), confirms that CO2 levels in cave air are notably higher than those in open air. While open-air concentrations are around 400ppm, cave levels vary from 1000 to 30000ppm, at times even higher. According to Henry's law, the CO2 content in water maintains equilibrium with that of the ambient air (Atkinson, 1977).

In Taza, only Wassenburg's work in 2013 on the Piste Grotto, located about 30km west of Taza at coordinates 341N; 041W, indicated variations in temperature between 11.8°C in winter and 13.3°C in summer, with an average annual Pco2 rate of 666 ± 151, a rate affected by ventilation fluctuations inside the cave, as per the same researcher. However, there's no precise measurement work to date on the Pco2 within the Chikker cave. We anticipate that the Pco2 rate will progressively increase inside the cave, possibly being higher than the Piste cave due to several factors, notably the limited orifices only the two adjoining ones connected near Dayat Chikker. This leads us to predict a progressively higher Pco2 rate inside the cave, particularly in summer.

The dissolution of calcium carbonate during the summer season can be attributed to several factors, including temperature disparities between the cave and open air (colder air inside the cave in summer and the opposite in winter) and increased Pco2 during summer compared to winter (Gewelt & Ek, 1986), which intensifies rock dissolution within the caves. Consequently, it likely leads to the probable precipitation of CaCO3 and the formation of travertines in summer within the Ras Elma region (Campbell et al., 2017).

The lower section of the Ras Elma spring, exhibiting various tuff and travertine formations, is observable from the ground, particularly where the flow is concentrated, with a substantial variation in depth of up to 1m in the already formed travertines (Fig. 11).

Fig. 11
figure 11

Digging Ras Elma spring water into the travertine

Hollowing out ras elma spring water in the travertines

After understanding the state and hydrochemical nature of Ras Elma's spring water, it becomes evident that from the large café in Ras Elma to the grand cascade, we find a succession of several well-preserved travertine dams in certain locations. Conversely, the increased water concentration in the main channel of Oued El Heddar has reversed the situation in which the dam was constructed. In other words, while the water from the dams was previously instrumental in constructing the travertine dams, its intensified concentrations now, induced by the hydrochemical nature of the water and unfavorable climatic changes, are dismantling what had been built.

The slight increase in the CaCO3 precipitation level in the Oued El Heddar valley during early spring can be attributed to various factors. Water agitation based on the current morphology of the Oued El Heddar channel and the influence of aquatic flora (mosses, algae, roots) along the channel edges, as well as bacterial activity, especially during the vegetative season (spring–summer), are elements contributing to this increase (Adolphe, 1981; Casanova, 1981; Muxart, 1981). However, it is crucial to note that during the months of June, July, and August, the Oued El Heddar experienced periods of drought due to minimal or nonexistent water flow at the sampling point, attributed to significant human interference upstream, near the center of Ras Elma. The diversion of water from the Oued El Heddar channel for agricultural irrigation on small terraces significantly contributes to the degradation of travertine formation in the region. These factors underscore the importance of human activity and local ecology in the travertine formation process, as well as the potential impact of water resource management on the geological and hydrochemical environment of the region.

Conclusion

The impact of water chemistry on the formation of present-day travertines in the Ras Elma region is a complex and intricate process. This study has enabled us, on the one hand, to highlight the main geochemical mechanisms that compose the Ras Elma spring water resulting from the infiltration of the Dayat Chikker endokarst. Secondly, it aimed to determine the water's nature based on the calcaro-carbonic methods of Ryznar, Langelier, and Hallopeau to ascertain the state of travertinisation in the study area, confirmed by field verification. This work led to the following results:

  • The geological context and spatial distribution of the chemical elements indicate that the dominant facies are the calcic bicarbonate facies, with the chemical composition of the groundwater in the Ras Elma aquifer strongly influenced by the dissolution of the Liasic and argilo-triasic carbonate formations and by the hydrological parameters of the region, such as the flow direction and residence time in the Ras Elma-Laansseur aquifer.

  • According to Ryznar's index, Ras Elma spring water is aggressive during July, August, and September, leading to calcium carbonate deposition. Langelier's index indicates that most of Ras Elma spring water is undersaturated with calcite, except in July, August, September, and December, which are saturated with calcite and tend to precipitate CaCO3. Moreover, Oued El Heddar's water is saturated with calcite during the 2021 measurement year, except for November.

  • Furthermore, according to the CCPP index, precipitation of calcium carbonate CaCO3 at the Ras Elma source occurs from July to December, with rates varying between 12 mg/l in October and 42 mg/l in July. Conversely, the downstream point, Oued El Heddar, experiences precipitation of CaCO3 throughout the measurement months, except in June, July, and August when Oued El Heddar was dry.

  • Physico-chemical precipitation is currently undergoing a pronounced inhibition and decline in the spring waters of Ras Elma, marked by the excavation and destruction of ancient travertines previously formed. However, travertinisation remains active, mainly due to the agitation of chemical reactions, particularly at dams and waterfalls. Valley travertines, on the other hand, are more developed due to water agitation, the role of aquatic vegetation (mosses, algae, etc.), and increased solution temperature.

  • In addition to the geochemical role of water, other factors contribute to the decline of travertine in the center of Ras Elma, such as the alteration of water chemistry, often due to decreased CO2 flow either because of climate change or anthropogenic impact. The decline of travertine in the region is also attributed to pollution, which sometimes inhibits the development or action of carbonatogenic micro-organisms.