Introduction

Rivers play an important role in biogeochemical reactions involving the global carbon cycle by linking several major carbon reservoirs, including the atmosphere, biosphere, terrestrial geosphere, and ocean. The chemical compositions of rivers can reflect weathering, human activities and biological functions in basins (Gaillardet et al. 1999; Hindshaw et al. 2011; Li et al. 2011b). Previous studies have shown that the weathering of carbonates is a rapid and sensitive reaction process (Liu and Dreybrod 1997; Liu et al. 2007; Raymond et al. 2008). Therefore, the ion content is remarkably higher in carbonate terrains and mixed silicate than in silicate terrains, which are dominated by bicarbonate and calcium. The weathering of carbonates contributes most to carbonate terrains, but the different forms of carbonate weathering have completely different implications for the global carbon cycle. Carbonate mineral dissolution by carbonic acid may represent a net, but short time, atmospheric carbon dioxide (CO2) sink, as primary productivity consumes dissolved inorganic carbon (DIC) (Martin 2017). Alternatively, carbonate minerals dissolved by sulfuric and nitric acids may represent an atmospheric source of CO2 with no rapid balancing atmospheric sink (Perrin et al. 2008; Torres et al. 2014; Martin 2017). The weathering of carbonates by sulfuric and nitric acid is common in karst areas (Li et al. 2008; Perrin et al. 2008), including the Lijiang River Basin (Yu et al. 2016). Therefore, the forms of carbonate weathering should be distinguished first in karst basins.

As a net atmospheric CO2 sink, bicarbonate sourced from carbonate weathering by carbonic acid must be used by aquatic phototrophs and transformed into organic carbon in inland waters (Liu et al. 2011). Bicarbonate uptake by aquatic phototrophs has been found both in the laboratory (Liu et al. 2010; Wu et al. 2012; Wang et al. 2013) and in the field, in the outflow of springs and subterranean rivers, for example, Zhang et al. (2012a); Chen et al. (2014b); Pu et al. (2017). Atmospheric CO2 uptake by interactions among water, carbonate minerals, dissolved CO2, and aquatic phototrophs on land has been estimated to be as large as 0.5 PgC·a−1 (Liu et al. 2018). The autochthonous organic carbon that is transformed from bicarbonate by aquatic phototrophs via photosynthesis in the surface water system is approximately 0.27 PgC·a−1 (Liu et al. 2018), which can be seen as a net atmospheric CO2 sink and a large fraction of the net terrestrial residual sink (i.e., 0.8~1.2 PgC·a−1) (Ciais et al. 2013). Therefore, revealing the source of bicarbonate and the transformation from bicarbonate to organic carbon in karst basins is critical for understanding carbon cycling and its role in regional and global carbon budgets.

This study assessed the concentrations of DIC sourced from carbonate weathering by carbonic acid, sulfuric or nitric acid, and silicate weathering variations in different seasons. The bicarbonate-transformed organic carbon (OC) in riverine OC was evaluated. This assessment was based on data collected from a subtropical karst basin (Lijiang River Basin) located in Southwest China. This study comprehensively assessed the geochemistry of river waters in four seasons and included water chemistry measurements and inorganic and OC isotope analyses. The analytical results combined with the geological setting will help to improve evaluations of DIC sources and riverine OC and improve the understanding of the transformation from bicarbonate to OC in different seasons.

Study area and methods

Lijiang River Basin characteristics and hydrology

The Lijiang River Basin is located in the northeastern part of Guangxi Zhuang Autonomous Region, China (Fig. 1), which has a catchment of 5039 km2. This area is located in the middle and upper reaches of the Guijiang River, which is a secondary tributary of the Pearl River. As shown in Fig. 1, the Lijiang River Basin has a mixed carbonate and silicate terrain. Bare karst areas, where carbonates are exposed (blue in Fig. 1), and covered karst areas, where carbonates are covered by Quaternary material (yellow in Fig. 1), are widely distributed in the Lijiang River Basin, especially in the middle and southern areas, and cover nearly half of the total basin area (Fig. 1). Evaporates do not exist in the study area, and the remaining areas are nonkarst (blank in Fig. 1), mainly consisting of silicate rocks such as granite and clastic rocks. The ratio of karst areas (including bare and covered karst areas) in each sampling site was calculated based on a geologic map, and the results are shown in Table 1.

Fig. 1
figure 1

Sketch map showing the karst type and sampling locations in the Lijiang River Basin

Table 1 Hydrology characteristics of the sampling locations

The nine sampling locations are shown in Table 1 and Fig. 1. Six locations were located on the mainstream from upstream to downstream, with the stream gradient decreasing and the karst area increasing (Table 1). Three other sites were located on tributaries with different hydrology characteristics (Table 1 and Fig. 1). Site HJ was located near the Cat Mountain nature protection area, and this basin is mostly covered by forest. Site DR was located in the lower reaches of site HJ, and several villages are located between sites HJ and DR. The cities and towns in the basin are mainly located in areas covered by Quaternary material. Because the soil is thicker in covered karst areas than in bare karst areas, farmland is also mainly located in this area. Thus, sites LQ and CT are influenced by industrial and agricultural activities. Site GL was located in the city of Guilin, which is substantially affected by human activities. Sites GY, XP, and YL were in areas that are influenced by tourist activities, especially during the peak tourism seasons of January, February, July, and August, which are the winter and summer vacation times in China. Site YS was located in the county of Yangshuo, which is influenced by industrial and agricultural activities. Aquatic phototrophs such as phytoplankton and submerged plants can be found along the river and flourish in the mainstream from Guilin to Yangshuo (sites GL, GY, XP and YS) and the tributary of site LQ. The phytoplanktons were mainly Bacillariophyta and Chlorophyta, and the dominant species were S. tephanodiscus, C. pyrenoidosa, N. rhynchocephal, N. exigua, C. Bodanica, S. quadricanda, and S. ulna (Zhou et al. 2014). The dominant species of submerged plants were Vallisneria spiralis and Hydrilla verticillata in the Lijiang River (Chen et al. 2014a).

Sampling and analytical approaches

Water samples from these nine sampling locations were collected in April, July, and October 2015, and January 2016. The sampling locations are shown in Fig. 1 and Table 1. Temperature, pH, specific conductance (SpC), dissolved oxygen (DO), chlorophyll, and turbidity were measured in situ with a multiparameter analyzer (Manta2TM 4.0, Eureka, USA). Alkalinity (HCO3− and CO32−) was determined with an alkalinity test (MColortestTM, Merck KGaA, Germany) in situ. Samples for K+, Na+, Ca2+, and Mg2+ analysis were filtered through 0.22-μm membrane filters, acidified with ultrapurified 6 M HNO3 to a pH < 2, and then determined by inductively coupled plasma-optical emission spectrometry (ICP-OES) (isotope ratio mass spectrometer (IRIS), Intrepid II XSP, Thermo Fisher Scientific, USA). Anions (F−, Cl−, NO3−, and SO42−) were measured by ionic chromatography (861 advanced compact IC Metrohm, Switzerland). The dissolved silica (Si) concentrations were determined by spectrophotometry using the molybdate blue method. The cation, anion, and dissolved silica concentrations were determined at the Water Environmental Laboratory, Institute of Karst Geology.

Samples for the analysis of the carbon isotope composition of DIC (δ13CDIC) were collected in a 30-ml bottle, poisoned with saturated HgCl2 (approximately 0.05 ml), and capped without headspace. Samples for the analyses of total suspended matter (TSM), particulate OC (POC), particulate organic nitrogen (PON), and carbon isotope composition of POC (δ13CPOC) were obtained by filtering 500–5000 ml of water on precombusted (4 h at 500 °C) and preweighed glass fiber filters (47-mm GF/F, 0.45-μm nominal pore size) and dried in ambient air. The filtrate was collected for determining the dissolved OC (DOC) and carbon isotope composition of DOC (δ13CDOC).

TSM was calculated by the weight difference before and after filtering. DOC was determined by a total OC analyzer (multi N/C®-3100, Analytikjena, Germany). Samples for the δ13CDIC analysis were acidified with H3PO4 and determined by an IRMS at the Water Environmental Laboratory, Institute of Karst Geology. Samples for the δ13CDOC determination were analyzed following the GasBench-IRMS method (Lang et al. 2012) at the Water Environmental Laboratory, Institute of Karst Geology. The POC, PON, and δ13CPOC measurements were determined by an elemental analyzer (EA)-IRMS at the Open Laboratory of Ocean & Coast Environmental Geology, Third Institute of Oceanography State Oceanic Administration.

Results

Chemical compositions

The solution parameters, including pH, temperature, EC, DO, chlorophyll, and turbidity, and the major and trace element concentrations of the water samples are presented in Table 2. The water samples were mildly alkaline and acidic, with pH values ranging from 6.45 to 8.52. The SpC, DO, chlorophyll, and turbidity were 41.8–348.3 μs cm−1, 6.96–14.76 mg L−1, 0.33–5.10 ng L−1, 1.0–64.0 NTU, respectively.

Table 2 Chemical compositions of the waters in the Lijiang River Basin, Southwest China

The total cation charge (TZ+ = K+ + Na+ + 2Ca2+ + 2Mg2+) ranged from 489 to 3911 μEq (10−6 charge equivalent units per liter) with an average of 1870 μEq, and the total anion charge (TZ− = F− + Cl− + NO3− + 2SO42− + HCO3− + 2CO32−) ranged from 534 to 3691 μEq, with an average of 1838 μEq. Except for the sites HJ and DR which had low total charge (< 1500 μEq), the differences between the charges of the anions and the cations were less than 5%. The TDSs (TDS = K++Na++Ca2++Mg2+ +F− + Cl− + NO3− + SO42− + HCO3− + CO32− + Si) ranged from 48.6 to 198.8 mg L−1, with an average of 149.1 mg L−1. The TZ+, TZ−, and TDS results were within the variation found in the Pearl River Basin (Xu and Liu 2007; Qin et al. 2013) and the world’s 61 largest rivers (Gaillardet et al. 1999).

Variations in the major ion compositions are shown in the anion and cation ternary diagrams (Fig. 2), and the samples define a narrow range on the ternary diagrams. Ca2+ dominated the cation concentrations in these waters, ranging from 59 to 91%, with an average of 78% of the total cation concentration. Mg2+ was the second dominant cation, with a concentration between 41 and 364 μmol L−1. The samples from sites HJ and DR, which had low ratios of carbonate rock distribution areas (2% and 9%, respectively), had higher K++Na+ concentrations (Fig. 2a).

Fig. 2
figure 2

Ternary diagrams showing the cation (a) and anion and Si (b) compositions of the river waters

HCO3− was the dominant anion in the samples, ranging from 54 to 92%, with an average of 78% of the total anion concentration. SO42− was the second dominant anion, with a concentration between 36 and 205 μmol L−1. The Cl− and NO3− concentrations were 16–274 μmol L−1 and 0–422 μmol L−1, respectively, and the highest values occurred in the winter at site GL. The Si concentrations ranged from 21 to 169 μmol L−1. Similar to the K+ + Na+ concentrations, the Si concentrations at sites HJ and DR were also high (Fig. 2b).

Inorganic and OC concentrations and isotopes

DIC is composed of HCO3−, CO32−, and dissolved CO2. HCO3− was the dominant component in the study area, and CO32− should not be ignored in waters with high pH values (Table 2). At sites HJ and DR, which mainly contained silicates, nearly half of the DIC was composed of dissolved CO2, and the pH was approximately 6. The TSM, DOC, POC, ratio of POC and PON (POC/PON), and the carbon isotopes of DIC, DOC, and POC are presented in Table 3.

Table 3 Chemical composition and carbon isotopes of DIC, DOC, and POC in the Lijiang River Basin, Southwest China

In the Lijiang River Basin, the DIC concentration was positivity correlated with the ratio of carbonate rock distribution area (Fig. 3b), varying between 0.38 and 3.45 mmol L−1, with an average of 1.60 mmol L−1. The average DIC concentrations in spring, summer, autumn, and winter were 1.61, 1.40, 1.52, and 1.90 mmol L−1, respectively. Thus, the DIC concentration showed obvious seasonal variation and was higher in winter and lower in summer. δ13CDIC ranged from − 13.72 to − 8.83‰, and the April (spring), July (summer), October (autumn), and January (winter) averages were − 10.25‰, − 12.13‰, − 10.02‰, and − 10.54‰, respectively. The values were lower in summer and higher in spring and autumn.

Fig. 3
figure 3

Distributions of the Si, DIC, DOC, and POC concentrations in different locations and seasons

The DOC concentration ranged from 0.03 to 0.45 mmol L−1, with an average of 0.17 mmol L−1. Similar to DIC, DOC was lower in summer. DOC was also positivity correlated with the ratio of carbonate rock distribution area (Fig. 3c). The δ13CDOC ranged from − 28.30 to − 21.46‰, with an average of − 25.96‰.

TSM varied from 1.59 to 54.90 mg L−1, with an average of 2.06 mg L−1, according to the variation in turbidity (R = 0.87). The POC concentration ranged from 0.01 to 0.25 mmol L−1, with an average of 0.03 mmol L−1. The POC concentration was positively correlated with TSM (Fig. 4a), and the contribution of POC to the TSM pool (%POC) ranged from 1.6 to 15.3%, with the highest values occurring when TSM was low (Fig. 4b). The POC/PON ratio ranged between 4.76 and 11.43, with an average of 7.39, was higher in summer (Fig. 4c) and increased with TSM (Fig. 4d). The δ13CPOC ranges from − 28.21 to − 24.04‰ with an average of − 26.26‰ and is similar to the δ13CDOC.

Fig. 4
figure 4

Cross plots showing TSM vs. POC, POC%, and POC/PON (a–c); distributions of POC/PON, δ13CPOC, and δ13CDOC in different sites and seasons (d–f)

Discussion

Sources of major ions

The possible sources of major ion species in surface water are rock weathering, atmospheric precipitation, evaporation-crystallization, and anthropogenic inputs (Gibbs 1970). As shown in Fig. 2, the dominance of Ca2+ and HCO3− suggests that carbonate rock weathering dominates the water chemistry of the Lijiang River. According to the plots of the Ca2+/Na+ versus HCO3−/Na+ and Ca2+/Na+ versus Mg2+/Na+ ratios (Fig. 5), the samples were located between carbonate rock and silicate rock weathering and according to the ratio of carbonate rock distribution area. For example, the samples from site HJ, which only had 2% carbonate rock, were located at the end-member of silicates (Fig. 5) due to the high abundance of Si and K++Na+ (Fig. 2). The samples from site YL, which had 90% carbonate rock, were located at the end-member of carbonates (Fig. 5).

Fig. 5
figure 5

Plots of the Ca2+/Na+ versus Mg2+/Na+ and Ca2+/Na+ versus HCO3−/Na+ ratios of the river waters

As previously shown, Cl−, which occurs in very low concentrations in rocks, is mainly from atmospheric inputs (Négrel et al. 1993; Roy et al. 1999). However, the K+, Na+, and Cl− concentrations at sites LQ, GL, GY, XP, and YS, which were located near a city or town, were high, indicating that the inputs were from residential and industrial waters (Table 2). The Cl−/Na+ ratio ranged from 0.10 to 1.38, with an average of 0.79, which was significantly lower than that of seawater (1.17, Berner and Berner 1987). The average Cl−/Na+ ratio at site YL, which was mainly covered by carbonates (90%), was 1.16, similar to the ratio of seawater. For the sites covered mainly by silicates, i.e., sites HJ and DR, the average Cl−/Na+ ratios were 0.29 and 0.56, respectively. The concentration of excess Na+ can be calculated as [Na+]-[Cl−]/1.17. The average of excess Na+ in the sites was positivity correlated with the ratio of silicate rock distribution area (R = 0.71). Thus, silicate rock weathering was the main source of excess Na+ to Cl−.

The SO42− concentrations of precipitation in Guilin ranged from 28.54 to 375.00 μmol L−1 with the average of 87.32 μmol L−1, and the NO3− concentrations ranged from 20.32 to 225.81 μmol L−1 with the average of 60.13 μmol L−1 (Zhang et al. 2012b). Both of them mainly originated from anthropogenic sources (Guo et al. 2016). The SO42− and NO3− concentrations of samples were higher than those of precipitation, with averages of 89 and 95 μmol L−1, respectively. The SO42− concentration of the water was similar to that of the precipitation, and the coefficient of variation was small. Forests and scattered villages dominate the HJ and DR river basins (Table 2), and the contribution of local human activities to the SO42− concentration of precipitation was low. As a result, the SO42− concentrations at sites HJ and DR were also lower (Table 2). The SO42− concentration and SO42−/Cl− ratio of precipitation were 7~933 μmol L−1 and 0.54~11.60, respectively (data from the Guilin Environmental Protection Bureau). The SO42− concentration and SO42−/Cl− ratio of the samples were 36~205 and 0.75~3.20, respectively, which were within the range of the precipitation values. There was little sulfur in the strata, and therefore, the SO42− concentration in the water must have originated from precipitation. The reaction between anthropogenic SO2 from coal combustion and automobile exhaust in the atmosphere and free radicals of OH and/or aqueous H2O2 in droplets is the main source of H2SO4 (Berner and Berner 1987). The SO42− in the river water indicated that the reaction between carbonate rocks and sulfuric acid from precipitation was the source (Li et al. 2008). The NO3− concentration in the water was much higher than that of precipitation, and therefore, NO3− was sourced from precipitation and the nitrification of N fertilizers in soil (Gandois et al. 2011). As shown in Table 2, the NO3− concentrations in some samples were below the detection limit because of uptake by aquatic phototrophs. Because of pollutant discharge from Guilin city, the SO42− and NO3− concentrations were especially high in the GL-4 sample (Table 2). As discussed above, sulfuric acid sourced from precipitation and nitric acid derived from precipitation and nitrification are common in this area. Except for sites HJ and DR, the [Ca2++Mg2+]/[HCO3− + CO32−] equivalent ratios ranged from 1.05 to 1.62, and the [Ca2++Mg2+]/[ HCO3− + CO32− + SO42− + NO3−] equivalent ratios ranged from 0.93 to 1.10, with an average of 1.00. This result indicates carbonate rock weathering by both carbonic acid and sulfuric/nitric acid (Martin 2017). The equivalent ratios of [Ca2++Mg2+]/[ HCO3− + CO32− + SO42− + NO3−] ranged from 0.70 to 0.87 at sites HJ and DR, which were dominated by silicate rocks. Based solely on carbonate weathering, ions are not balanced. Silicate weathering contributes relatively more to water chemistry, and the K+ and Na+ derived from silicate weathering should participate in the balance.

Si is mainly derived from silicate weathering (Turner and Rabalais 1991) and is sensitive to many biogeochemical processes, such as reservoir retention, plant uptake, and the secondary Si-bearing phase (Humborg et al. 1997; Maher and Chamberlain 2014; Torres et al. 2015). As shown in Fig. 3a, the concentrations of Si decreased with decreasing ratios of silicate rock distribution area (subtract the ratio of carbonate rock distribution area from 100%). Therefore, Si was mainly derived from silicate weathering. At site LQ, the river is shallow, and aquatic phototrophs flourish. Si can be used by aquatic phototrophs in this situation. Thus, the Si concentration at site LQ was obviously lower than those at sites XP and YS, which had silicate rock distribution areas that were similar to that at the LQ site (Fig. 3a). Because of pollutant discharge from Guilin city, the Si concentration was especially high in the GL-4 sample (Fig. 3a).

Source of DIC based on chemical weathering

As discussed above, the chemical weathering of carbonates and silicates is the main source of DIC in the study area. The reactions are shown in the equations below.

Carbonate weathering (0 ≤ x ≤ 1):

$$ {\mathrm{Ca}}_{\mathrm{x}}{\mathrm{Mg}}_{1-x}{\mathrm{CO}}_3+{\mathrm{CO}}_2+{\mathrm{H}}_2\mathrm{O}\to x{\mathrm{Ca}}^{2+}+\left(1-x\right){\mathrm{Mg}}^{2+}+{{2\mathrm{HCO}}_3}^{-} $$
(1)
$$ {2\mathrm{Ca}}_x{\mathrm{Mg}}_{1-x}\ {\mathrm{CO}}_3+{\mathrm{H}}_2{\mathrm{SO}}_4\to {2\mathrm{xCa}}^{2+}+2\left(1-x\right){\mathrm{Mg}}^{2+}+{{2\mathrm{HCO}}_3}^{-}+{{\mathrm{SO}}_4}^{2-} $$
(2)
$$ {\mathrm{Ca}}_x{\mathrm{Mg}}_{1-x}\ {\mathrm{CO}}_3+{\mathrm{HNO}}_3\to {\mathrm{xCa}}^{2+}+\left(1-x\right){\mathrm{Mg}}^{2+}+{{\mathrm{HCO}}_3}^{-}+{{\mathrm{NO}}_3}^{-} $$
(3)

Silicate weathering (0 ≤ x ≤ 1):

$$ {\mathrm{Ca}}_x{\mathrm{Mg}}_{1-x}{\mathrm{Al}}_2{\mathrm{Si}}_2{\mathrm{O}}_8+{2\mathrm{H}}_2{\mathrm{CO}}_3+{6\mathrm{H}}_2\mathrm{O}\to x{\mathrm{Ca}}^{2+}+\left(1-x\right){\mathrm{Mg}}^{2+}+{{2\mathrm{H}\mathrm{CO}}_3}^{-}+{2\mathrm{H}}_4{\mathrm{Si}\mathrm{O}}_4+2\mathrm{Al}{\left(\mathrm{OH}\right)}_3 $$
(4)
$$ {\mathrm{Na}}_x{\mathrm{K}}_{1-x}{\mathrm{AlSi}}_3{\mathrm{O}}_8+{\mathrm{H}}_2{\mathrm{CO}}_3+{5\mathrm{H}}_2\mathrm{O}\to x{\mathrm{Na}}^{+}+\left(1-x\right){\mathrm{K}}^{+}+{{\mathrm{H}\mathrm{CO}}_3}^{-}+{3\mathrm{H}}_4{\mathrm{SiO}}_4+\mathrm{Al}{\left(\mathrm{OH}\right)}_3 $$
(5)

Accordingly:

$$ {\mathrm{HCO}}_3={\mathrm{HCO}}_3\_\mathrm{s}\mathrm{il}+{\mathrm{HCO}}_3\_\mathrm{car}\mathrm{b}\_\mathrm{car}+{\mathrm{HCO}}_3\_\mathrm{car}\mathrm{b}\_\mathrm{s}/\mathrm{n} $$
(6)
$$ \mathrm{Ca}=\mathrm{Ca}\_\mathrm{s}\mathrm{il}+\mathrm{Ca}\_\mathrm{car}\mathrm{b}\_\mathrm{car}+\mathrm{Ca}\_\mathrm{car}\mathrm{b}\_\mathrm{s}/\mathrm{n} $$
(7)
$$ \mathrm{Mg}=\mathrm{Mg}\_\mathrm{s}\mathrm{il}+\mathrm{Mg}\_\mathrm{car}\mathrm{b}\_\mathrm{car}+\mathrm{Mg}\_\mathrm{car}\mathrm{b}\_\mathrm{s}/\mathrm{n} $$
(8)
$$ {\mathrm{HCO}}_3\_\mathrm{car}\mathrm{b}\_\mathrm{car}=2\left(\mathrm{Ca}\_\mathrm{car}\mathrm{b}\_\mathrm{car}+\mathrm{Mg}\_\mathrm{car}\mathrm{b}\_\mathrm{car}\right) $$
(9)
$$ {\mathrm{HCO}}_3\_\mathrm{carb}\_\mathrm{s}/\mathrm{n}=\mathrm{Ca}\_\mathrm{carb}\_\mathrm{s}/\mathrm{n}+\mathrm{Mg}\_\mathrm{carb}\_\mathrm{s}/\mathrm{n} $$
(10)

The subscripts carb and sil denote carbonate and silicate origins, respectively. HCO3_sil represents bicarbonate from silicate weathering. HCO3_carb_car and HCO3_carb_s/n denote bicarbonate sourced from reactions of carbonate with carbonic acids and sulfuric/nitric acids, respectively. The subscripts for Ca and Mg are the same as those for HCO3.

In previous studies, HCO3_sil was calculated based on the Na+ and K+ concentrations (Han and Liu 2004; Xu and Liu 2007; Sun et al. 2010). Those calculations were based on the hypothesis that all sodium and potassium are derived from silicate weathering after subtracting the chloride origin. However, the K++Na+-Cl− concentrations at sites GL, GY, XP, and YS, which were located near a city or town, were high; thus, the sodium and potassium concentrations in the samples reflected the influence of anthropogenic activity in the study area. As mentioned above, the Si concentration had a good correction with the proportion of silicate rock. Therefore, HCO3_sil was calculated with the Si concentration in this study.

The (Ca + Mg)/(K + Na) ratio for the silicate fraction should be 0.6 in the study area because the rivers drain purely silicate terrains in the Pearl River (Zhang et al. 2007). Thus, the equations for silicate weathering based on Eqs. (4) and (5) are below:

$$ {\displaystyle \begin{array}{l}0.6\left({\mathrm{Ca}}_{\mathrm{x}}{\mathrm{Mg}}_{1-\mathrm{x}}{\mathrm{Al}}_2{\mathrm{Si}}_2{\mathrm{O}}_8+2{\mathrm{H}}_2{\mathrm{CO}}_3+6{\mathrm{H}}_2\mathrm{O}\right)+\left({\mathrm{Na}}_{\mathrm{x}}{\mathrm{K}}_{1-\mathrm{x}}{\mathrm{Al}\mathrm{Si}}_3{\mathrm{O}}_8+{\mathrm{H}}_2{\mathrm{CO}}_3+5{\mathrm{H}}_2\mathrm{O}\right)\to \\ {}0.6\left({\mathrm{x}\mathrm{Ca}}^{2+}+\left(1-\mathrm{x}\right){\mathrm{Mg}}^{2+}+2{\mathrm{H}\mathrm{CO}}_3^{-}+2{\mathrm{H}}_4{\mathrm{Si}\mathrm{O}}_4+2\mathrm{Al}{\left(\mathrm{OH}\right)}_3\right)+\left({\mathrm{x}\mathrm{Na}}^{+}+\left(1-\mathrm{x}\right){\mathrm{K}}^{+}+{\mathrm{H}\mathrm{CO}}_3^{-}+3{\mathrm{H}}_4{\mathrm{Si}\mathrm{O}}_4+\mathrm{Al}{\left(\mathrm{OH}\right)}_3\right)\end{array}} $$
(11)
$$ {\mathrm{HCO}}_{3\_}\mathrm{sil}=0.52\times \mathrm{Si} $$
(12)
$$ \mathrm{Ca}\_\mathrm{sil}+\mathrm{Mg}\_\mathrm{sil}=0.14\times \mathrm{Si} $$
(13)

For equation (14), the CO32− was assumed to be HCO3−, with twice the concentration in the calculation.

$$ {{2\mathrm{HCO}}_3}^{-}={{\mathrm{CO}}_3}^{2-}+{\mathrm{CO}}_2+{\mathrm{H}}_2\mathrm{O} $$
(14)

Based on Eqs. (6) to (13), the sources of DIC were calculated. As shown in Fig. 6, carbonate weathering by carbonic acid was the dominant source of bicarbonate, ranging from 29.7 to 93.7%, with an average of 75.1%. The contribution of carbonate weathering by sulfuric/nitric acid ranged from 1.6 to 64.8%, with an average of 19.6%. The contributions were high in summer and winter for the inputs of sulfuric and nitric acids by runoff and human activities (Fig. 6). Spatially, these contributions were high at sites GL, DR, and LQ, which were influenced by Guilin city and Xing’an town, and low at sites HJ and YL, which were mostly covered by vegetation. The contribution of silicate weathering was highest at site HJ and lowest at site YS (Fig. 6) according to the ratio of silicate distribution area.

Fig. 6
figure 6

Sources of bicarbonate in different locations and seasons. The four samples from spring to winter in each sampling location were arranged from left to right

δ13CDIC variation and aquatic phototrophs

As shown in Table 2, the average pH values in spring and autumn were higher than those in summer and winter; chlorophyll was highest in spring, followed by autumn, summer, and winter; and DO was highest in spring, followed by winter, autumn, and summer. Previous studies have shown that bicarbonate can be used by aquatic phototrophs in karst areas (Liu et al. 2010; Wang et al. 2013; Pu et al. 2017). When bicarbonate is taken up by aquatic phototrophs, the pH value and DO both increase (Zhang et al. 2012a; Chen et al. 2014b; Pu et al. 2019). Chlorophyll is a major parameter that explains the primary products in rivers (Yang et al. 2016). Chlorophyll, DO, and pH were high in spring and autumn, and as a result, bicarbonate uptake by aquatic phototrophs was significant in spring and autumn.

The possible processes other than rock weathering that may influence δ13CDIC include (1) carbonate precipitation; (2) exchange with atmospheric CO2; (3) CO2 directly coming from soil; and (4) river photosynthesis and respiration (Sun et al. 2015). The theoretical δ13CDIC value of rock weathering can be calculated by the contributions of different sources.

$$ {\updelta}^{13}{\mathrm{C}}_{\mathrm{DIC}\_\mathrm{Th}}={\mathrm{a}}_{\mathrm{sil}}{\updelta}^{13}{\mathrm{C}}_{\mathrm{sil}}+{\mathrm{a}}_{\mathrm{carb}\_\mathrm{car}}{\updelta}^{13}{\mathrm{C}}_{\mathrm{carb}\_\mathrm{car}}+{\mathrm{a}}_{\mathrm{carb}\_\mathrm{s}/\mathrm{n}}{\updelta}^{13}{\mathrm{C}}_{\mathrm{carb}\_\mathrm{s}/\mathrm{n}} $$
(15)
$$ {\mathrm{a}}_{\mathrm{sil}}+{\mathrm{a}}_{\mathrm{carb}\_\mathrm{car}}+{\mathrm{a}}_{\mathrm{carb}\_\mathrm{s}/\mathrm{n}}=1 $$
(16)

In the equation, δ13CDIC_Th denotes the theoretical δ13CDIC value based on the chemical weathering of silicates and carbonates; asil, acarb_car, and acarb_s/n denote the contributions of silicate weathering and carbonate weathering by carbonic acid and sulfuric/nitric acid, respectively, which were calculated above; and δ13Csil, δ13Ccarb_car, and δ13Ccarb_s/n denote the theoretical δ13C values of silicate weathering and carbonate weathering by carbonic acid and sulfuric/nitric acid, respectively.

As shown in Eqs. (1) to (5), HCO3− from silicate weathering is only derived from atmospheric/soil CO2; HCO3− from carbonate weathering by sulfuric/nitric acid is only derived from carbonates; and half of the HCO3− from carbonate weathering by carbonic acid is derived from atmospheric/soil CO2, and half is derived from carbonates. Carbonates in the Lijiang River Basin are marine carbonates, and the carbon isotopes range from − 4.40 to 2.90‰, with an average of 0‰ (Peng and Hu 2001); thus, δ13Ccarb_sulf is 0‰ in the study area. The concentration of soil CO2 is many times higher than the atmospheric CO2 concentration (Cao et al. 2011), and therefore, δ13Csil and δ13Ccarb_car depend on the carbon isotope of soil CO2 (δ13Csoil). The δ13Csoil value in the Lijiang River Basin ranges from − 29.35 to − 18.26‰, with an average of − 24.26‰ (Cao et al. 2011); the δ13CDIC value of karst springs and subterranean streams in the Lijiang River Basin range from − 9.24 to − 15.03‰, with an average of − 12.34‰ (Huang et al. 2015), nearly half of the δ13Csoil value mentioned above. However, the samples were also influenced by sulfuric/nitric acid (Eqs. (2) and (3)), and therefore, the δ13CDIC value from carbonate weathering by carbonic acid was lower than − 12.34‰, and the average δ13Csoil should be lower than − 24.68‰. Because of carbon isotope fractionation, the carbon isotope of dissolved CO2 is approximately − 1.3‰ lighter than that of gaseous CO2 (Zhang et al. 1995). Therefore, − 25.5‰ can be used for δ13Csoil in the study area, and δ13Csil and δ13Ccarb_car were − 25.5‰ and − 12.75‰, respectively.

As shown in Fig. 7, the δ13CDIC values of the samples in spring and autumn were higher than δ13CDIC_Th (δ13CDIC-δ13CDIC_Th > 0). As previously discussed, bicarbonate uptake by aquatic phototrophs is significant in spring and autumn. In the process of aquatic phototrophs photosynthetic uptake of bicarbonate, aquatic phototrophs preferentially consume 12C during photosynthesis, leading to a simultaneous decrease in DIC concentration and increase in δ13CDIC of river water (Zhang et al. 2012a; Chen et al. 2014b). The δ13CDIC values of the samples in summer and winter were lower than δ13CDIC_Th (Fig. 7). It was rainy before the summer and winter sampling, and the turbidity and TSM were high (Tables 1 and 2); therefore, the photosynthesis of aquatic phototrophs was weak, and δ13CDIC fractionation influenced by aquatic phototrophs was not significant. Additionally, more soil CO2 with a low δ13CDIC value was taken by runoff and participated in carbonate weathering, and therefore, the δ13CDIC value was lower. As shown in Fig. 7, in spring and autumn, the relatively higher δ13CDIC to δ13CDIC_Th was more remarkable in the mainstream from Guilin to Yangshuo, where the river is wide, the water is shallow, and aquatic phototrophs thrive. The concentration of bicarbonate was also high in this mainstream (Fig. 3). High DIC, low water flow, and low TSM provide a sufficient carbon source and suitable environment for bicarbonate uptake by aquatic phototrophs photosynthesis and result in high δ13CDIC values.

Fig. 7
figure 7

Distribution of the difference between δ13CDIC and δ13CDIC_Th (δ13CDIC-δ13CDIC_Th)

Origin of POC and DOC

As shown in Fig. 4, there was striking covariation between %POC and TSM, which has been noted in previous studies (Tao et al. 2004; Bouillon et al. 2012). Two mechanisms have been invoked to explain this relationship: (a) a higher contribution by in situ production (i.e., phytoplankton with a high %POC) during periods of low turbidity, and (b) a gradient of contributions by direct litter inputs or topsoil (with a relatively higher %POC) and deeper soil layers with a lower %POC during high runoff events (Bouillon et al. 2012). For the Lijiang River, we propose that a high phytoplankton contribution is the main cause of the covariation between %POC and TSM.

As previously discussed, DIC uptake by aquatic phototrophs is significant in spring and autumn because of low turbidity and contributes more to POC. The average POC/PON ratios were 7.58, 6.98, and 6.92 in spring, autumn, and winter, respectively. The C/N ratio of phytoplankton is 6.6 (Redfield 1958; LaZerte 1983; Huang et al. 2018), and therefore, these low POC/PON ratios match those that would be expected when phytoplankton are predominant. The average POC/PON ratio was 8.06 in summer, higher than those in the other seasons, and therefore, soil OC contributed more to POC. The average C/N ratios of soils are 14.6 and 14.3 in karst and nonkarst areas, respectively, in the Lijiang River Basin (Cao et al. 2011). The C/N ratios of sediments in Huixian wetland, which is a typical karst wetland in the Lijiang River Basin, decreased from 20.4 to 9.0 from the bottom to the top, indicating the contribution of aquatic phototrophs to sediment organic matter increases (Zhou 2015). This result has also been proven by sporopollen studies (Zhou 2015). Sediment organic matter is dominated by allochthonous inputs when the C/N ratio is higher than 15 (Zhou 2015). Therefore, we propose a C/N ratio of 15 for the end of allochthonous inputs and 6.6 for the end of autochthonous inputs. The contribution of autochthonous inputs to POC ranged from 42 to 100%, with an average of 82%, based on the calculation of POC/PON. The POC/PON ratio of sample GL-4 was 4.76, and the %POC was especially higher than those of the other samples, indicating direct litter inputs, which coincides with the chemical characteristics discussed above.

Similar to POC, DOC in the Lijiang River is impacted by rock weathering, photosynthetic activity, and fluvial erosion. DOC increased with DIC and showed a positive correlation with DIC (R = 0.68). The concentrations of DOC and POC both increased during floods, but the DOC/POC ratio decreased, ranging from 0.24 to 1.00, with an average of 0.44 (Sun et al. 2007). During high runoff events, both POC and DOC are sourced relatively more from allochthonous inputs during floods. However, in the study area, DOC was lower in summer when the discharge was higher; moreover, POC was also higher (Fig. 3). The DOC/POC ratio ranged from 1.05 to 35.42 and showed a positive correlation with DIC (R = 0.71). Therefore, we propose that autochthonous organic sources in the Lijiang River were the dominant input to DOC when flooding was not occurring. Lipid biomarkers are extensively used to distinguish autochthonous and allochthonous sources; during sampling of the Pearl River from January to February 2015, which included three samples from the Lijiang River, more than 65% of riverine organic matter was sourced from autochthonous inputs (Yang et al. 2016). This result was similar to the POC results discussed above.

POC and DOC were both mainly sourced from the process of in-river primary production in this study. The ratio of autochthonous OC increased with TSM when the TSM concentration was low (TSM < 150 mg L−1) and decreased with the TSM when the TSM concentration was high (TSM > 150 mg L−1) (Yang et al. 2016). The TSM concentrations of the samples in this study were all lower than 55 mg L−1 (Table 3) and were beneficial for photosynthetic activity. Therefore, DIC is taken up by aquatic phototrophs and converted into OC in the Lijiang River.

Evaluation of bicarbonate-transformed OC in riverine OC

In the previous discussion, autochthonous OC was dominant in Lijiang River OC when TSM was low. During photosynthesis, aquatic phototrophs first uptake carbon dioxide in air and water as the carbon source, and in-river bicarbonate can also participate in photosynthesis under the action of carbonic anhydrase (Mcconnaughey 1998; Li et al. 2011a; Lian et al. 2011). The protons needed for bicarbonate-based photosynthesis are derived largely from calcification (Mcconnaughey 1998). Thus, photosynthesis is a reaction with calcification, and the pH value, DO, and CaCO3 saturation increase, as shown above.

$$ {\mathrm{Ca}}^{2+}+{{2\mathrm{HCO}}_3}^{-}\to {\mathrm{Ca}\mathrm{CO}}_3+{\mathrm{CH}}_2\mathrm{O}+{\mathrm{O}}_2 $$
(17)

The carbon isotopes of OC can be used to distinguish between autochthonous and allochthonous sources (Waterson and Canuel 2008; Huang et al. 2018), but it must be combined with the C/N in the karst area. Allochthonous OC is mainly sourced from soil. C3 plants, with carbon isotopes ranging from − 34 to − 22‰ (Boutton et al. 1994), are dominant; thus, the carbon isotopes of soil OC ranged from − 28 to − 19‰ in the Pearl River Basin (Pan et al. 2002; Chen et al. 2005; Sun et al. 2015). The carbon isotopes for aquatic phototrophs in the Lijiang River also ranged from − 30 to − 19‰ (Zhang et al. 2013). Therefore, the isotope of autochthonous OC was similar to that of allochthonous OC.

The carbon isotopes for aquatic phototrophs differ in different karst areas because carbon sources and DIC utilization strategies are the dominant influencing factors (Wu et al. 2012; Li et al. 2015). The carbon isotopes became obviously heavier only 500 m from upstream to downstream in a karst area because the HCO3−/CO2 ratio increased (Wang et al. 2017). The CO2 concentration was high in a debouchure, and aquatic phototrophs mainly used CO2 (Clement et al. 2016, 2017). The CO2 concentration decreased rapidly downstream, and the aquatic phototrophs mainly used bicarbonate at low CO2 concentrations with the participation of carbonic anhydrase (Clement et al. 2016, 2017). Therefore, the carbon isotopes of autochthonous sources varied in the Lijiang River and depended on the proportions of carbon dioxide- and bicarbonate-based photosynthesis. Autochthonous OC can be divided into two end-members that are totally sourced from bicarbonate or carbon dioxide.

As discussed above, there are three sources of river OC: allochthonous OC, autochthonous OC sourced from bicarbonate, and autochthonous OC sourced from carbon dioxide. Therefore, the carbon isotopes of OC alone cannot distinguish these three sources, and these data should be combined with the POC/PON ratio, as discussed above, which can distinguish allochthonous OC and autochthonous OC. The δ13CPOC value during two flood events was − 25.42‰ (Table 3), which can be used as the average carbon isotope value of allochthonous inputs in the study area. In previous studies, the carbon isotopes of autochthonous inputs sourced from bicarbonate and carbon dioxide were − 22.74‰ and − 31.56‰, respectively (Wu et al. 2011; Zhang et al. 2013; Li et al. 2015). Therefore, these three sources can be quantitatively estimated by considering their δ13C values and POC/PON ratios as end-members (Fig. 8):

Fig. 8
figure 8

Plots of POC/PON versus δ13CPOC in different locations and seasons

$$ {\updelta}^{13}{\mathrm{C}}_{\mathrm{POC}}={\updelta}^{13}{\mathrm{C}}_{\mathrm{al}}\ast {\mathrm{f}}_{\mathrm{al}}+{\updelta}^{13}{\mathrm{C}}_{\mathrm{au}\_\mathrm{B}}\ast {\mathrm{f}}_{\mathrm{au}\_\mathrm{B}}+{\updelta}^{13}{\mathrm{C}}_{\mathrm{au}\_\mathrm{C}}\ast {\mathrm{f}}_{\mathrm{au}\_\mathrm{C}} $$
(18)
$$ {\mathrm{f}}_{\mathrm{au}}={\mathrm{f}}_{\mathrm{au}\_\mathrm{B}}+{\mathrm{f}}_{\mathrm{au}\_\mathrm{C}} $$
(19)

In the equations, δ13CPOC, δ13Cal, δ13Cau_B, δ13Cau_C are the δ13C values of the bulk sample, allochthonous inputs, and autochthonous inputs sourced from bicarbonate and carbon dioxide, respectively; and fal, fau_B, and fau_C are the fractional abundances of each of the three sources, respectively. Based on the POC/PON ratio, fal and fau are the contributions of allochthonous and autochthonous inputs, as calculated above. δ13Cal was − 25.42‰ based on the δ13CPOC value during floods. In previous studies, δ13Cau_B and δ13Cau_C were − 22.74‰ and − 31.56‰, respectively (Wu et al. 2011; Zhang et al. 2013; Li et al. 2015), and could be used in the Lijiang River because of the similar variation in aquatic phototrophs carbon isotopes.

The results showed that the percentage contribution of in-river primary production with bicarbonate-based photosynthesis to POC ranged from 33.8 to 79.4%, with an average of 54.0%, except for samples HJ-2 and GL-4 (Fig. 8). The percentages of bicarbonate-transformed OC were different in different seasons, higher in spring (54.6%) and autumn (62.5%) and lower in summer (46.8%) and winter (50.8%). The average carbon isotope of DOC was similar to that of POC, and therefore, the contribution of in-river primary production with bicarbonate-based photosynthesis was also the main source for DOC.

As discussed above, nearly half of the riverine OC was bicarbonate-transformed OC. The average riverine OC was approximately 17% of the DIC; thus, approximately 8% of the bicarbonate was transformed into OC by aquatic phototroph photosynthesis.

Conclusions

This study focused on seasonal hydrochemical, inorganic, and OC variations in a typical karst basin. As the study basin was a karst basin, the DIC was mainly derived from the weathering of carbonates and was positively correlated with the ratio of carbonates. The weathering of carbonates by sulfuric and nitric acids was stronger in summer and winter when human activity was more intense.

The water chemistry was also obviously influenced by aquatic phototrophs, which led to increases in pH and DO and heavier δ13CDIC. This result was related to the process of bicarbonate transformation to OC by aquatic phototrophs. This process was more remarkable in spring and winter and in the mainstream from Guilin to Yangshuo, which benefited the growth of aquatic phototrophs.

The riverine OC inputs were mainly autochthonous, and more than half of the autochthonous carbon was sourced from bicarbonate uptake by aquatic phototrophs. Therefore, DIC, which is mainly derived from the weathering of carbonates, was transformed to riverine OC. This OC was nearly half of the total OC and 8% of DIC in the typical karst basin.