Background

Tuberculosis (TB) is a chronic airborne infectious disease that can cause damage to organs throughout the body, with pulmonary TB being the most common form [1]. There were an estimated 10.6 million cases of TB and approximately 1.6 million deaths attributed to TB in 2021 [2]. There are some few known risk factors that influence the development of TB disease, including diabetes, alcohol consumption, and drugs abuse [3]. Furthermore, meteorological conditions and air pollution may have a delayed and cumulative effect on the incidence of TB [4]. Previous studies have revealed that precipitation, temperature, PM2.5, PM10, SO2, O3, and CO may have a significant impact on TB prevalence [4,5,6]. PM2.5 and PM10 can carry Mycobacterium tuberculosis (MTB) into the lungs through inhalation, increasing the risk of MTB infection or worsening existing cases [6]. Gaseous pollutants, including SO2, O3, CO, and others, also indirectly contribute to the prevalence of TB by impairing lung health and weakening immune defences against MTB infection [7]. Therefore, exposure to high levels of these air pollutants would make it easier for a person to become infected with TB or would worsen existing TB. The incidence of TB also can be influenced by precipitation and temperature through modulation of the human immune response or change of human behavior [8, 9]. However, due to the differences in data quality, city-specific characteristics, and nations and populations, the effects of meteorological factors and air pollutants remain controversial [5, 7, 10,11,12,13].

People living with HIV/AIDS (PLWHA) are particularly vulnerable to developing TB owing to their weakened immune system [14]. TB accounts for approximately one-third of AIDS-related deaths globally, placing it as a leading cause of HIV-associated hospitalisation and mortality among PLWHA [15]. It is estimated that 187,000 PLWHA died from TB in 2021 [2]. As a result, HIV/TB coinfection has raised challenges for programme management and treatment around the world. At present, research on risk factors for TB in PLWHA mainly focuses on pathogens and host immunity [16, 17]. Limited attention has been paid to the cumulative effects of meteorological conditions and air pollution. Besides, the high susceptibility of PLWHA to TB can provide better research conditions to decipher the effects of meteorological factors and pollutants on TB incidence.

China is one of the top 30 countries regarding the burden of HIV/TB coinfection, and its annual TB incidence is the third highest in the world [18]. The Guangxi Zhuang Autonomous Region (Guangxi), a border province located in south-western China, has one of the highest burdens of HIV/TB coinfection in China [19, 20]. Guangxi is dominated by a subtropical monsoon climate with abundant heat and and precipitation, which provides favourable conditions for some bacterial and fungal pathogens, such as MTB [21] and Talaromyces marneffei [22]. Therefore, Guangxi is appropriate location to study of the correlation between meteorological factors and HIV/TB coinfection in a subtropical area.

To quantitatively assess the impact of meteorological conditions and air pollution on TB incidence, previous studies have commonly utilized a distributed lag non-linear model (DLNM) to evaluate the cumulative effects of exposure on the outcome incidence [5, 7, 10, 23]. However, limited research has been conducted on TB co-infected with HIV. A DLNM provides a framework that can be applied to describe the connections in time-series data that possibly have non-linear and delayed effects [24]. In this study, we used a DLNM to analyse the delayed and cumulative effects of meteorological factors and air pollutants on the incidence of TB among PLWHA in the subtropical areas of Guangxi. These findings will hopefully provide a reference for early warning and control of HIV/TB coinfection in this region.

Materials and methods

Research location

The Guangxi Zhuang Autonomous Region, a province including 14 cities, is located in south-western China. A total active temperature for the daily mean temperatures > 10 °C serves as the indicator to determine the demarcation line of a climatic zone, while the 6900℃ isotherm serves as the demarcation line between the south subtropic and middle subtropic [25, 26]. This study was conducted in nine cities: Nanning, Wuzhou, Chongzuo, Laibin, Yulin, Baise, Qinzhou, Fang Chenggang, and Guigang. Each city has a subtropical monsoon climate, with four distinct seasons, including a mild and wet winter, and a hot and rainy summer.

Data sources

The data on the incidence of TB cases in PLWHA from2014to 2020 were collected from the HIV antiviral therapy cohort in subtropical areas of southern Guangxi, China. This study included 2087 new and re-active cases.

The meteorological data came from The China Meteorological Science Data Sharing Service Network (https://data.cma.cn/), including temperature (°C), wind speed (m/s), precipitation (mm), sunshine duration (h), and relative humidity (%). The atmospheric environment monitoring data came from the data center of the official website of the Department of Ecology and Environment of Guangxi Zhuang Autonomous Region (http://sthjt.gxzf.gov.cn/), including CO (mg/m3), O3 (µg/m3), NO2 (µg/m3), PM2.5 (µg/m3), and PM10 (µg/m3).

Statistical analysis

Spearman correlation analysis was used to select the pertinent TB variables; the absolute correlation coefficient for relevant variables should be < 0.7 to minimise the collinearity issue [27]. Then characteristics of TB cases in PLWHA and the distribution of relevant meteorological factors and air pollutants are described as the median and interquartile range (IQR). A two-tailed P-value < 0.05 was considered to indicate a statistically significant difference.

The Kolmogorov-Smirnov test showed that the cases of TB among PLWHA approximately followed a Poisson distribution (data not shown). Therefore, based on a generalised additive model (GAM), the nonlinear relationship between the meteorological factors and air pollutants and the incidence of TB in PLWHA as well as the lag-response effect were analysed by using the cross-basis function [24]. A natural cubic spline (ns) function was used to control the other meteorological factors, air pollutants, and long-term trends [28]. The “week” variable (from 1 to 366 weeks) was used to regulate long-term trends and seasonal fluctuations. The meteorological factors and air pollutants were averaged on a weekly basis and then included in the model [29, 30]. Wind speed, temperature, precipitation, and PM10 were controlled by the ns function with three degrees of freedom [7, 10, 27].

Therefore, we employed a GAM based on “Quasipoisson” distribution to fit the overall effects of exposure, response, and lag effects [10, 31]. Using the natural cubic spline function as the basis function, air pollution and meteorological data were incorporated into the model. The DLNM model formula is as follows (taking temperature as an example):

$$ Y\_t{\mkern 1mu} \sim quasi{\mkern 1mu} Posisson(\mu \_t) $$
$$ \begin{gathered} Log(\mu \_t) = \alpha + \beta {\text{P}}\_(t,l) + {\text{ns}}\,({\text{time,df}}0) + {\text{ns}}\,({\text{windspeed}},\,{\text{df}}1) \\ + {\text{ns}}\,({\text{precipitation}},\,{\text{df}}2) + {\text{ns}}\,({\text{PM}}10,\,{\text{df}}4) \\ \end{gathered} $$

In this equation, Y_t is the number of cases in week “t”, α is the intercept, β is the coefficient of P_(t. l), P_(t. l)is the temperature cross-basis matrix, “l” is lagging weeks, “ns” is the natural cubic spline function, and “df” is the degree of freedom. The “time” variable was used to control the long-term trend. The “df0” and lag weeks in the model were determined according to the Akaike information criterion (AIC). All mereological factors and air pollutants were controlled by “ns” function with three degrees of freedom [7, 32, 33]. Finally, a sensitivity analysis was carried out to test the stability of the results when changing the degrees of freedom of the time variable in the model.

Results

Characteristics of TB cases in PLWHA

The characteristics of all TB cases in PLWHA, meteorologic factors, and air pollution were shown in Table 1. A total of 2087 TB cases in PLWHA (males: 1699 [81.41%], females: 388 [18.59%]) were recorded in the Guangxi cohort of HIV antiviral therapy from 2014 to 2020. The median age was 48.55 years (IQR): 37.86–60.37 years); the median CD4(+) T-cell count was 68.00 cells/µL (IQR: 22.00-186.00 cells/µL); the median CD8(+) T-cell count was 546.00 cells/µL (IQR: 305.00-907.00 cells/µL); the median height was 163.96 cm (IQR: 160.00–168.00 cm); the median weight was 52.00 kg (IQR: 47.00–58.00 kg). The median and reference range of temperature, wind speed, precipitation, concentration of PM10 were 23.64 ℃ (IQR: 16.79–27.65 ℃), 1.85 m/s (IQR: 1.64–2.06 m/s), 3.30 mm (IQR: 1.24–7.11 mm), and 54.07 µg/m³ (IQR: 40.82–74.25 µg/m³), respectively.

Table 1 Characteristic of TB co-infected HIV cases, meteorological factors, and air pollutants in subtropical areas of southern Guangxi, 2014–2020

The correlation between TB cases, meteorological factors, and air pollutants

In the time-series analysis, the TB cases, meteorological factors, and air pollutants had similar periodicity (Fig. 1). The variables related to the TB cases with correlation coefficients less than 0.7 with other factors were selected, and ultimately, 3 meteorological variables (i.e., temperature, wind speed, precipitation) and 1 air pollutant (i.e., PM10) were included in the DLNM for analysis.

Fig. 1
figure 1

Time series of TB cases, meteorological factors (temperature, wind speed, precipitation, sunshine duration, and relative humidity) (A), and air pollutants (CO, O3, NO2, PM2.5, and PM10) (B) in subtropical Guangxi, China, from 2014 to 2020

To screen out the relevant variables for DLNM, Spearman correlation analysis was used to reveal a significant association between the cases and meteorological factors/air pollutants. CO, O3, NO2, PM2.5, sunshine duration, and relative humidity did not exhibit a significant correlation (P > 0.05) and thus were excluded from the model (Table S1). Considering that multicollinearity may affect the model’s stability [10], only the TB-related variables with a correlation coefficient to each variable of < 0.7 were included in the model. Thus, temperature (r = 0.234), wind speed (r = -0.292), precipitation (r = 0.157), and PM10 (r = 0.143) were incorporated in the DLNM(Table S1, P < 0.05). Among these variables, PM10 was positively correlated with TB and negatively correlated with the other variables (P < 0.01); wind speed was negatively correlated with TB and the other variables (P < 0.01); precipitation was positively correlated with TB and temperature (P < 0.01); and temperature was positively correlated with TB (P < 0.01).

The effects of meteorological factors and air pollutant exposure on the risk of TB in PLWHA

The lag times in the model were determined based on the AIC: a lag of 4 weeks for both temperature and precipitation, a lag of 3 weeks for wind speed, and a lag of 12 weeks for PM10. The overall exposure-response effects of meteorological factors and air pollutant exposure on TB risk in PLWHA were shown in Fig. 2. As temperature and precipitation increased, the relative risk (RR) showed a unimodal distribution, meaning that the risk of TB increased as both temperature and precipitation increased, and then decreased after they reached the peak. The RR distribution of PM10 was bimodal, with two peak points. The associations between meteorological factors and the lag time (in weeks) with the risk of TB in PLWHA were shown from two and three-dimensional perspectives in Figs. 3 and 4, respectively. To further explain the relationship between TB and the unit increase in the factors, compared with the medians, the cumulative RR of TB in PLWHA was calculated with the model (Table 2; Fig. 5). With a 5-unit increase in temperature, the cumulative RR was 0.663 (95% CI: 0.507–0.866, lag 4 weeks); with a 2-unit increase in precipitation, the RR of lag-response effect was 1.152 (95% CI: 1.052–1.260, lag 3 weeks), and the cumulative RR was 1.478 (95% CI: 1.116–1.957, lag 4 weeks). However, PM10 and wind speed had no significant effect on TB (P > 0.05). Stratified analysis was performed according to the CD4(+) T cells count [34,35,36] (shown in Tables 3 and 4; Fig. 6). In the CD4(+) T cells < 200 cells/µL subgroup, temperature (RR = 0.886, 95%CI: 0.794–0.987, lag 3 weeks), precipitation (RR = 1.167, 95%CI:1.058–1.287, lag 2 weeks), and PM10 (RR = 1.061, 95%CI:1.002–1.124, lag 7 weeks) had significant lag-response effects. Moreover, temperature (RR = 0.612, 95%CI: 0.457–0.819, lag 4 weeks) and precipitation (RR = 1.498, 95%CI: 1.105–2.032, lag 4 weeks) had the significant cumulative lag-response effects. In the CD4(+) T cells ≥ 200 cells/µL subgroup, there was no significant difference in either the lag-response effect or the cumulative effect.

Fig. 2
figure 2

The overall exposure-response impact of temperature (A), wind speed (B), precipitation (C), and PM10 (D) on TB risk in PLWHA

Fig. 3
figure 3

Contour plot of the effects of temperature (A), wind speed (B), precipitation (C), and PM10 (D)

Fig. 4
figure 4

3D graph of the effects of temperature(A), wind speed (B), precipitation (C), and PM10 (D)

Table 2 Distribution lag non-linear model results of TB cases with different meteorological factors and pollutant (Lag-response; Lag-response of incremental cumulative effects)
Table 3 The analysis of Lag-response effects in different subgroup
Table 4 The analysis of Lag-response cumulative effects in different subgroup
Fig. 5
figure 5

Lag-specific response effects for a unit increase in different factors (A); cumulative effects for lag-response incremental cumulative effects for a unit increase in different factors (B). In the model, a 5-unit increase for temperature, a 0.5-unit increase for wind speed, a 2-unit increase for precipitation, and a 15-unit increase for PM10 were used to calculate the relative risk of TB in PLWHA

Fig. 6
figure 6

Summary of the overall cumulative association between TB incidence in people living with HIV/AIDS (PLWHA) and meteorological factors (temperature, wind speed, and precipitation) and air pollutants (PM10) in different subgroup, stratified by the CD4(+) T cell count

Extreme effect analysis of meteorological factors and air pollutants

The 99th and 1st percentiles were assigned as the extreme effect values for the meteorological factors and air pollutants; the extreme effect analysis results were presented in Table 5. The hot effect (99th vs. median, cumulative RR = 0.638, 95%CI: 0.425–0.958, lag 4 weeks), the rainy effect (99th vs. median, cumulative RR = 0.285, 95%CI: 0.135–0.599, lag 4 weeks), and rainless effect (1st vs. median, cumulative RR = 0.552, 95%CI: 0.322–0.947, lag 4 weeks) significantly reduced the risk of TB in PLWHA, but the extreme effects of the cold effect, wind speed, and PM10 were not significant (Table 5).

Table 5 Extreme effect analysis of different factors from 2014 to 2020

Sensitivity analysis

Sensitivity analysis demonstrated that varying the degrees of freedom for a long-term trend of different factors in the DLNM did not lead to significant changes in the results, indicating that the findings are robust (Tables S2-S6).

Discussion

HIV/TB co-infection remains a major public health challenge in China and throughout the world. With the development of bioinformatics methods and mathematical models, an increasing amount of research has been devoted to quantifying the impact of meteorological conditions on TB infection [5], but no relevant studies have been conducted in PLWHA. We applied a DLNM for the first time to investigate the association between environmental factors and TB incidence in PLWHA, who are susceptible to MTB infection. The findings suggest that meteorological conditions (including temperature and precipitation) as well as air pollutant (including PM10) may have a significant lag or cumulative impact on the TB incidence in PLWHA.

The results indicated that an increase in temperature may reduce the risk of TB in PLWHA, which is consistent with some previous studies [37,38,39]. A study conducted in Mexico indicated that TB has seasonality, with the highest incidence occurring during spring and summer seasons [40]. Rao et al. suggested that a 10 ℃ increase in temperature is associated with a 9% decrease in TB morbidity [41]. Therefore, temperature is considered a crucial influential factor in the context of TB. The biological mechanisms underlying the association between temperature and TB are complex. Increased temperatures have the potential to induce alterations in human behaviours [9]. Individuals tend to stay indoors within air-conditioned environment in high-temperature weather, thereby reducing the risk of close contact with TB patients [39]. Moreover, the host immune system may also be affected by lower temperatures [38]. Vitamin D deficiency is commonly observed during winter, which can potentially weaken immune function [42]. Therefore, elevated temperatures confer partical protection against TB, and it is interesting and noteworthy that meteorological factors may affect the host’s immune status, potentially establishing a correlation with TB. However, in our study, the cold effect was not statistically significant, possibly attributed to the relatively weak impact of cold weather in the subtropical region of Guangxi due to its warm climate, resulting in statistical insignificance.

The results also suggest that increased precipitation may increase the risk of TB in PLWHA, whereas rainy or rainless has the opposite effect. Increased precipitation could broaden the habitat range of MTB [43], and moist air facilitates the survival and reproduction of MTB [44]. Additionally, the rainless effect may exert a protective effect by inducing aridity in the environment, while inclement weather diminishes outdoor activities and consequently reduces the risk of transmission through direct interpersonal contact [45].

In the present study, there was no significant association between wind speed, PM10, and TB incidence in PLWHA. A few previous studies have indicated that increased wind speed could accelerate the spread of MTB [46] and change the distribution of air pollutants [47]. However, another studies showed that the wind reduced the TB risk because it dilutes the concentration of bacteria and air pollutants [48]. A study indicated that PM10 had an indirect impact on the incidence of TB, displaying a positive correlation with TB occurrence [7]. PM10 exposure causes the senescence of respiratory epithelial cells, reduces the expression of HBD-2 and HBD-3, and promotes the development of TB [49]. In other studies, there was no association between increased PM10 and TB incidence [11, 13], which consistent with our research. For one thing, the industrial development in Guangxi remains inadequate; thus, the air quality is commendable. For another thing, the association between PM10 and TB incidence depends on the PM10 concentration. Wang et al. [7] revealed a significant association between the two, but the median PM10 concentration in that study (139.00 µg/m³) was 2.57 times higher than the present study (54.07 µg/m³). A study conducted in South Korea [13] reported a similar concentration (63.50 µg/m³) as the present study, and those authors also did not establish a significant correlation between PM10 and TB incidence.

The factors of relative humidity, sunshine duration, O3 etc. were excluded from the model analysis in our study due to their lack of association with TB incidence in PLWHA. Some relevant literatures have reported significant delayed cumulative effects of relative humidity [38], sunshine duration [50], and O3 [51] on the incidence of TB. However, other studies have found that these meteorological factors and air pollutants do not have a significant impact on the incidence of TB [5, 33, 52]. Therefore, variations in data quality, region specific characteristics, and populations contribute to differences in the effects observed [5, 7].

Climate change impacts TB through various pathways, alterations in climatic factors such as temperature and precipitation influence the host immune responses by modifying the distribution of vitamin D, Ultraviolet (UV) radiation exposure, and other risk factors [8]. Interestingly, we found the influence of meteorological factors on the TB incidence related with the immune status of PLWHA. A CD4(+) T cell count below 200 cells/µL indicates a diagnosis of AIDS after HIV infection [53], signifying severe impairment of the immune system [54]. In the present study, we found that patients with compromised immune system were more sensitive to the effects on climate change and air pollutants. Alterations in meteorological factors can impact the susceptibility to TB by modulating the host immune response. An increase in precipitation results in a humid surrounding environment and a reduction in UV radiation. UV radiation serves as the primary source of Vitamin D, which exhibits immunostimulatory and immunosuppressive effects associated with anti-mycobacterial responses in humans [55]. The deficiency of Vitamin D is correlated with an elevated susceptibility to TB [56]. Vitamin D deficiency is more prevalent among PLWHA, because it is correlated with compromised immune responses in PLWHA [57]. Therefore, PLWHA is more sensitive to climate fluctuations in TB incidence than the general population, particularly among those with severe immune dysfunction. The findings highlight the importance of seasonal preventive measures to control TB infection in PLWHA, particularly those experiencing severe immunodeficiency.

Elevated levels of air pollutants are associated with impaired lung function due to oxidative stress, which may cause airway inflammation, inhibit the macrophage function, and increase susceptibility to MTB [58, 59]. And HIV impairs the host immune defense against MTB infection and impairs phagocytosis of MTB by macrophage [59], thus PLWHA are more likely to develop TB than general individuals. Furthermore, we found a significant detrimental impact of PM10 in PLWHA with severe immunodeficiency in present study. Therefore, it is reasonable to speculate that pollutants are more likely to induce an increased susceptibility and risk of TB morbility in individuals with severe immunodeficiency.

There are some limitations in our study. Firstly, the model was fitted using the average levels of weather, pollutants, and TB cases in nine cities in Guangxi province, which enhanced the overall stability of the model but impacted the estimation of the extreme effects. Secondly, given the ecological nature of this study, it is impossible to establish the relationship between the exposure and the effect at the individual level, and the ecological fallacy is inevitable. Therefore, this study mainly provides evidence for the associations between TB incidence, meteorological factors, and air pollutants in PLWHA, but it lacks evidence of causal inference.

Conclusion

This study demonstrated the significant cumulative lag-response effects of temperature and precipitation on TB risk in PLWHA. Moreover, the hot, rainyt, and rainless effects are associated with a decreased TB risk in PLWHA. Additionally, the impact of meteorological factors on TB incidence is contingent upon the immunological status of PLWHA.