1 Introduction

The Mexico Valley Basin (MVB) is an elevated basin located in the center of the country (19.1°N–20.8°N and 98.2ºW–99.8°W (black contour in Fig. 1) (Conabio 2022). It houses one of the largest urban complexes in the world, the megalopolis of Mexico City and its Metropolitan Area, with a population of 25.4 million as of 2017, but the basin also includes some extension of rural land.

Fig. 1
figure 1

Elevation, climatological mean sea surface temperature, and climatological mean wind in Mexico and the Caribbean. The Mexico Valley Basin is marked in central Mexico (black contour). The box in the Caribbean establishes the extent of the CLLJ core region

The MBV is an endorheic basin whose urbanization led to the drying of the original lakes (Alcocer and Williams 1996). Groundwater extraction expanded significantly in the 1940s and provided enough water to supply the inhabitants of Mexico City until the mid-1960s (Ramírez 1990). Today, the aquifers are overexploited and depleted (Aguirre Gómez 2010), and the uncontrolled urban sprawl toward the mountain limits water infiltration to the subsoil and the aquifers’ recharge. According to the global climate change vulnerability index (Imta 2015), the MVB presents a very high degree of vulnerability since, in conjunction with the water scarcity, the basin faces other issues such as significant environmental degradation caused by deforestation, soil erosion, loss of terrestrial and aquatic habitats, and river contamination (Montero-Rosado et al. 2022).

In the case of Mexico City, more anthropogenic changes have been produced in the last decades. The intense urbanization led to a significant urban heat island (UHI) effect (Jauregui 1993; 1997), which in turn has affected precipitation (Jauregui and Romales 1996). The timing of extreme precipitation events has shifted towards the evenings, with some evidence signaling the role of the UHI and the increase of anthropogenic aerosols in this change (Ochoa et al. 2015). The occurrence of extreme events also has a spatial variability, with more intense rainfalls occurring in the western portion of Mexico City than in the eastern side, although this difference has been linked to orographic forcing and not to a more intense UHI effect (Magaña et al. 2003a).

The MVB has an average annual precipitation of 649 mm; it has a very small volume of dam storage and, as mentioned, it has high hydrological pressure (Conagua 2018). Half of the consumptive use corresponds to agricultural use, and the other half to drinking-water supply. Within the basin and with surrounding basins, water is transported from one source to another to serve the urban region (Montero-Rosado et al. 2022). The megalopolis suffers serious water-supply problems during years when the region experiences rainfall below average. This happened during the year 2021, when the government declared an emergency due to drought in several basins in the country including the MVB (Conagua 2021b). In the case of local agriculture, most of the irrigation is rainfed and depends heavily on the variability of the rainy season. Several production crops rely on the wet season onset besides the amount of rainfall during the season. In fact, years with late onsets — as the date is not predicted — have been reported to result in substantial crop losses along the entire Mexican territory (e.g., Rogé 2013; Granados et al. 2017). Water scarcity creates issues at the intersection of public policy, social development, and environmental degradation (Ávila García 2008; Lerner et al. 2018).

The Mexico Valley is subjected to a distinctively seasonal precipitation regime, with a rainy season typically starting in June and lasting up to late September (Fig. 2a), concentrating over 70% of the annual precipitation. A period lasting about 30 days of lower precipitation — the so-called midsummer drought (MSD) — is usually found within the rainy season (Magaña et al. 1999; Herrera et al. 2015). It is typically characterized by two precipitation peaks in June and September, the second peak being usually smaller than the first one (Fig. 2a). This strong seasonality and especially the concentration of rainfall in the warmer half of the year led to some authors to include the MVB into the monsoon precipitation domain over North America (e.g., Wang and Ding 2008; Lee and Wang 2014; Wang et al. 2018). However, there is still some controversy about the actual extent of the North American Monsoon System (NAMS). This lack of agreement in the definition of the NAMS was recently reviewed by Ordoñez et al. (2019). These authors proposed a subdivision of the NAMS. In their scheme, the Northwestern Mexico and the Southeastern US regions (the classical core NAM region) were named as the Western North American Monsoon (WNAM). The WNAM is essentially characterized by a short monsoon season and a climatology associated with the variability of the wind over the Gulf of California. On the other hand, south and east of this region are central Mexico and the southern Pacific coast. This area is highly influenced by the Intertropical Convergence Zone and the Caribbean Low-Level Jet (CLLJ) (Fig. 1). It is worth mentioning that the IPCC recently slightly modified the definition of the NAMS in AR6 with respect to AR5. In this new regional domain for the NAM, the MVB is roughly in the limit (see figure AV.1 in IPCC 2021).

Fig. 2
figure 2

Precipitation in the Mexico Valley Basin. a Mean annual cycle of 20-day running mean daily precipitation for the 1981–2020 study period. The daily precipitation has been averaged over a 20-day window. The vertical lines indicated the mean onset and withdrawal dates, as calculated in this paper. b Composite of precipitation around the onset date. c Composite of precipitation around the withdrawal date. The red marks indicate the daily precipitation 1 day before and 1 day after the onset/withdrawal; the orange line represents the approximation of the slope of the precipitation evolution around the onset/withdrawal date, as explained in the text

Beyond the discussion about whether the MVB region can be considered a monsoonal regime or not, this region can benefit from the prediction of the rainy season’s onset and withdrawal. In this paper, as a first step, we focused on the determination of the onset and withdrawal of the rainy season in the MVB region. Characterizing these dates is of utmost importance as they are critical within regions where agriculture is rainfed (Wang et al. 2009), since small changes in the onset’s timing may significantly affect vulnerable populations (Raju et al. 2007). In this sense, Higgins et al. (1999) characterized the northwest and southwest Mexico warm season precipitation regime including the onset and withdrawal. A few published studies have determined the typical start of the rainy season in the global domain (Janowiak and Xie 2003; Zeng and Lu 2004) and at the present, the Mexican Water Authority (CONAGUA) declares the beginning of the rainy season as the climatological date of the beginning of the hurricane season (Conagua 2021), even though hurricanes do not represent the majority of the region’s warm season precipitation (Dominguez and Magaña 2018; Dominguez et al. 2020). Despite these efforts, to the best of our knowledge, there have been no studies trying to estimate a rainy season onset and withdrawal specifically in the MVB. In this study, we have aimed to define an objective procedure for the declaration of onset and withdrawal dates in the Mexico Valley Basin on a year-to-year basis.

In the following, Section 2 describes the datasets and methods. Section 3 presents the onset and withdrawal time series, studies the spatial representativeness of the procedure, analyses the evolution of the large-scale circulation associated with the onset/withdrawal, and investigates the relationship and effect of ENSO on their interannual variability. Section 4 is a summary where the interannual variability and its mechanisms are further discussed.

2 Data and method

Whereas regional onset definitions focus on the migration of large scale atmospheric features in a region (Fitzpatrick et al. 2015), local onset definitions almost exclusively define a monsoon onset in terms of the exceedance of a given threshold of local precipitation (e.g., Ananthakrishnan et al. 1967; Ahmed and Karmakar 1993; Marengo et al. 2001; Janowiak and Xie 2003; Pai and Rajeevan 2009; Diaconescu et al. 2015; Fitzpatrick et al. 2015; Asakereh et al. 2023; Misra et al. 2023; Omay et al. 2023; Oo 2023; among others). The reversal of the wind has also been used to determine the onset in the Indian summer monsoon (Joseph et al. 2006; Ordoñez et al. 2016, Wang et al. 2009). However, the North American monsoon does not exhibit a reversal in absolute wind direction, so we have based our method exclusively on precipitation.

For this study, precipitation data were obtained from the CHIRPS (Climate Hazards Infrared Precipitation with Stations) Database (https://www.chc.ucsb.edu/data/chirps; Funk et al. 2015). This database was chosen because it relies solely on observational information (satellites and precipitation gauges), has a high spatial resolution (0.05° × 0.05°), and has proved reliable over Mexico (Perdigón-Morales et al. 2018). The study period contains 40 years from 1981 to 2020.

As mentioned above, the principal characteristic of the monsoon arrival is a fast change in precipitation, as it also occurs in the MVB; the withdrawal is usually less abrupt but still noticeable (Ahmed and Karmakar 1993; Ordoñez et al. 2016). It is relevant to note that as in other monsoonal regimes, the MVB is relatively frequent to have sudden increases in precipitation not related to the beginning of the monsoonal season but to the occurrence of short-term atmospheric disturbances. These are known as “bogus” onsets (Ordoñez et al. 2016). A similar situation can occur in the case of the withdrawal. To filter bogus onsets or withdrawals, we first computed the 20-day running mean of all the climatic series considered, a technique which has proved effective in other regions (Ordoñez et al. 2016).

In order to build an objective procedure to define the onset in the MVB we designed an algorithm aimed to locate the dates when, a fast increase in precipitation results in a sustained rainy season. The withdrawal is defined when the sustained high-precipitation regime is interrupted by a fast enough decrease in precipitation. Therefore, we aim to look for precipitation thresholds exceeding certain values concurrently with the occurrence of large trends in the daily precipitation. Calling the smoothed precipitation series P (expressed in mm/day), the onset is defined as the first date where a given threshold Po of this time series is exceeded for at least 20 consecutive days. Analogously, the withdrawal date is defined when a certain value Pw is last exceeded after being above it at least for the previous 20 days. The precipitation series P is averaged over the period 1981–2020 (Fig. 2a), and new composite precipitation series was calculated for Po,k = 1, …, 4 mm/day as day 0 (onset day) with k = 30 steps of 0.1 mm/day, and for Pw,k = 1, …,4 mm/day as day 0 (withdrawal date) with k = 30 steps of 0.1 mm/day. The optimal thresholds Po and Pw are determined by locating the maximum in the absolute value of the slope of the precipitation series between May 1 and July 15 for Po and between September 1 and November 15 for Pw. The slope in day d is estimated as the difference in the daily precipitation in day d + 1 and d − 1 as \(m=\frac{{P}_{d+1}- {P}_{d-1}}{2}\) (expressed in mm/day−2). We obtained a maximum increase in precipitation per day of m = 0.37 mm/day2 with the onset defined by a threshold Po = 2.5 mm/day (Fig. 2b). The threshold to define the withdrawal was found to be Pw = 1.7 mm/day (Fig. 2c) with a decrease in precipitation of 0.5 mm/day2. Interestingly, the obtained thresholds are similar to those obtained by Higgins et al. (1999) for southwestern Mexico. The pre-rainy season and post-rainy season periods are distinguished by a near-zero slope (Fig. 2b and c).

As an example of the performance of our method under different circumstances, in Fig. 3, we show the cases of 1996, 1998, 2018, and 2019. The case of 2018 (Fig. 3c) corresponds to a typical humid season at the MVB, as it exhibits a precipitation peak right after the onset, followed by the MSD and, finally, a secondary increase in precipitation. The case of 1998 (Fig. 3b) also shows the MSD period, but in this example, the second precipitation peak is considerably larger than the first one. In 1996 (Fig. 3a), both precipitation peaks are similar. Finally, the 2019 precipitation evolution (Fig. 3d) shows the case of a year without the presence of the MSD. The onsets and withdrawals computed with our method are marked in Fig. 3 (black vertical lines). It is worth noting that the method can locate both onset and withdrawal dates under different atmospheric conditions. There are years in which the withdrawal date is more clearly defined, such as in 2019. However, in other years, the precipitation shows relatively fast increases not related to the rainy season but associated with short-lived synoptic disturbances, as in 2018. Our results suggest that even for these cases of bogus onsets, the methodology is robust.

Fig. 3
figure 3

Evolution of daily precipitation for four selected years. The daily precipitation has been averaged over a 20-day window. The vertical lines mark the onset and withdrawal dates for each year

Apart from precipitation data, the ERA5 reanalysis (Hersbach et al. 2020) from the European Centre for Medium-range Weather Forecasts (ECMWF) has been used to obtain climatological fields such as the vertically integrated moisture flux (VIMF) and the zonal and meridional wind components related to the occurrence of the onset and the withdrawal. To characterize the strength of the CLLJ, we computed standardized anomalies of the zonal ERA5 wind at 925 hPa with respect to the 1981–2010 climatology in the CLLJ core region, defined as the zone between 12.5°-17.5°N and 70°-80°N (Wang 2007; Cook and Vizy 2010). ENSO has been characterized by the NINO4 index (NCEI 2022) (https://www.cpc.ncep.noaa.gov/data/indices/sstoi.indices), which considers SST exclusively.

3 Results

3.1 Time series analysis

The time series of the onset and withdrawal are presented in Fig. 4. Both the start and the end of the rainy season in the MVB show high variability. A 5-year moving average of the onset/withdrawal time series (orange lines in Fig. 4) reveals periods with a slight tendency to earlier onsets and withdrawals as around the mid-1980s and around 2010. For the period 1981–2020, we found an average onset of June 6, with a standard deviation of 14.3 days; the earliest onset date is May 9, and the latest occurred on June 26. The mean withdrawal date occurs on October 15, with a standard deviation of 16.1 days; the earliest withdrawal is September 14, and the latest is November 14. The average length of the rainy season was of 131 days, with a standard deviation of 22.7 days. Between 1981 and 2020, the shortest rainy season was 91 days long, and the longest one 192 days long. The average onset and withdrawal dates have been represented in Fig. 1a to ease comparison with the average annual precipitation cycle of the study area.

Fig. 4
figure 4

Time series for the onset and withdrawal dates. The blue (green) line and dots represent each year’s onset (withdrawal) date, while the orange one is the five-year mean. The solid horizontal line is the mean onset/withdrawal date, and the dotted lines mark one and two standard deviations from the mean

3.2 Representativeness of the procedures

The representativeness of the procedures was analyzed by constructing a composite around the onset/withdrawal date and evaluating the evolution of the precipitation by representing the average precipitation in 3-day periods before and after the onset/withdrawal date (Fig. 5). It is apparent from Figure a and b that the southwestern and southeastern parts of the basin receive rainfall (~ 4 mm/day) prior to the onset, which is likely a result of the orography on these areas. After the onset (Fig. 5c), rainfall intensifies in both areas (more than 6 mm/day), and all the MVB begins to receive moderate rainfall. Several days after the onset (Fig. 5d), the rainfall over the basin has clearly increased significantly.

Fig. 5
figure 5

Composite evolution of the spatial distribution of precipitation over the MVB prior to and after the onset at intervals of 3 days for a days − 6 to − 4 prior to the onset, b days − 3 to − 1 prior to the onset, c days 1 to 3 after the onset, and d days 4 to 6 after the onset. The color bar represents the daily precipitation in millimeters per day

A clear rainfall retreat centered on the rainy season withdrawal over the MVB can be ascertained from Fig. 6. Within 1 to 6 days before the withdrawal over the MVB, rainfall spreads over the basin with amounts ranging from 2 to more than 4 mm/day (Fig. 6a and b). The withdrawal is clearly manifested with a generalized receding of rainfall in the MVB (Fig. 6c) which exhibits a rain rate of about 1 mm/day, slightly greater over the southeastern and southwestern mountain ranges than in the valley. Several days after withdrawal, the rainfall over the basin is quite low (Fig. 6d).

Fig. 6
figure 6

Composite evolution of the spatial distribution of precipitation over the MVB prior to and after the withdrawal at intervals of 3 days for a days − 6 to − 4 prior to the withdrawal, b days − 3 to − 1 prior to the withdrawal, c days 1 to 3 after the withdrawal, and d days 4 to 6 after the withdrawal. The color bar represents the daily precipitation in millimeters per day

Both Figs. 5 and 6 clearly show that the larger precipitation changes occur around the onset/withdrawal selected by our algorithm (Figs. 5c and 6c), followed by lower changes 6 days before or after the date of the onset or withdrawal. Although some regions of the basin are rainier than others — especially the southwestern portion — it is evident that both the onset and withdrawal occur homogenously across the whole basin. Such behavior indicates that the definition of a single onset and withdrawal date for the whole basin is meaningful.

3.3 Characterization of the large-scale circulation associated with the onset/withdrawal

To better understand the processes related to the onset and withdrawal of the rainy season, we examined the evolution of the moisture advection before and after both events by computing the composite of the VIMF and the difference between the fields during onset/withdrawal (day 0 of each composite) with the average of 3-day periods before and after the withdrawal date.

Figure 7 shows the 40-year composite sequence of VIMF anomalies with respect to the onset (day 0) for two triads before and another two after the onset. About two triads before the onset northwestern VIMF anomalies are present in the CLLJ region (Fig. 7a and b) and the Great Plains Low Level Jet (Danko and Martin 2018). Anomalies of the zonal wind at the eastern tropical North Pacific are eastern (negative) with respect to the mean moisture advection implying a deceleration of the average flow (see Fig. 2). After the onset, stronger eastern low-level winds prevail around the CLLJ region (Fig. 7c and d) and the prevalence of the westerly component of the flow over the tropical eastern North Pacific is also evident. This configuration favors moisture convergence over central Mexico.

Fig. 7
figure 7

Composite of vertical integral of moisture flux (VIMF) around the onset date. Difference between onset date and averages of 3 days: a days − 6 to − 4, b − 3 to − 1, c 1 to 3, and d 4 to 6. The color bar indicates the water vapor flux, and its unit is in kilograms per meter second. Shading indicates the sign of the zonal anomaly: Red is a westerly anomaly, and blue is an easterly one. The box in the Caribbean establishes the extent of the CLLJ core region

Figure 8 represents the case of the withdrawal. The situation before the withdrawal is similar to that observed after the onset (Fig. 8a and b), with enhanced moisture advection carried by the CLLJ and an intense flow toward southern Mexico over the tropical eastern North Pacific. After the withdrawal, the moisture flux noticeably changes (Fig. 8c and d) with moisture flux anomalies low over the CLLJ region. A wind anomaly dipole is present over the North Atlantic, suggesting a northern displacement of the North Atlantic Subtropical High immediately after the withdrawal. VIMF anomalies over the Pacific in front of the southern Mexico coast also present an opposite sign than before the withdrawal.

Fig. 8
figure 8

Composite of vertical integral of moisture flux (VIMF) around the withdrawal date. Difference between onset date and averages of 3 days: a days − 6 to − 4, b − 3 to − 1, c 1 to 3, and d 4 to 6. The color bar indicates de water vapor flux, and its unit is in kilograms per meter second. Shading indicates the sign of the zonal anomaly: Red is a westerly anomaly, and blue is an easterly one. The box in the Caribbean establishes the extent of the CLLJ core region

The evolution of VIMF divergence averaged over the MVB around the onset/withdrawal (not shown) corresponds well with the precipitation evolution. Before the onset, the VIMF divergence has an average value in the study area of − 1.25 kg/m2 day, which changes to − 4.25 kg/m2 the day after the onset. These values closely correspond to the changes in the average precipitation around the onset and the withdrawal. Figure 2 shows that the average daily precipitation before the onset is around 1.5 mm/day and that it stabilizes to around 4 mm/day after the onset. For the withdrawal, the VIMF changes from − 3.5 kg/m2 day to 1.0 kg/m2 the day before and after the withdrawal date; this moisture availability is consistent with the average precipitation change of 3.5 mm/day before and 0.75 mm/day after the withdrawal date (Fig. 1c). The resemblance between the VIMF over the MVB and the daily precipitation around the onset/withdrawal stresses the relevance of the regional changes in the VIMF in relation to the rainy season in the MVB.

3.4 Trends and interannual variability

We performed a sliding trend analysis using a 20-year window for the 5-year moving average time series. Ordinary least squares regression is used, which is simpler than other trend detection methods but yields similar results (Hess et al. 2001); additionally, it is ideal since no seasonality correction is needed. Linear regressions were fitted to each subperiod. The interannual variability of the resulting time series were also analyzed by calculating the sliding Pearson correlation between the onset/withdrawal series and each of the monthly El Niño-Southern Oscillation (ENSO) and the Caribbean Low-Level Jet (CLLJ) indexes. Significance of the sliding trends and the Pearson correlation coefficients were tested using a bootstrapping method with 10,000 resamples. Bootstrapping is a non-parametric sampling method that does not require normality in the distributions (Lunneborg 1985).

Figure 9 shows the results of linear regressions for each subperiod of 20-year windows, where the years on the x-axis mark the middle year of the sliding window. In this figure, the corresponding trends in precipitation during the wet summer season are also included. Our results show a significant increase between 0.3 and 0.7 days/year for the onset date from 1988 to 1999. The trend peaks in 1997 and then declines. The withdrawal shows an increasing trend with a slope between 0.4 and 1.0 days/year from 1988 to 1995, with a maximum in 1990. Subsequently, there is a decreasing trend of around 0.5 days/year from 2001 to 2004. These changes result in an increasing trend of the length of the rainy season of around 0.5 days/year from 1988 to 1991, and a decreasing trend between 0.6 and 1.0 days/year from 1995 to 2001, with a maximum decreasing trend in 1998. The analysis of the rainy season precipitation series reveals an increasing trend of 2.7 mm/year in the periods around 1988–1992, and a negative trend in the late 1990s and early 2000s, reaching statistically significant values (p < 0.025) of 3 mm/year from 1997 to 1999. When the trend is evaluated over a 40-year window, no statistically significant trend occurs throughout the entire study period.

Fig. 9
figure 9

Linear trends for 20-year periods for the onset, withdrawal, rainy season length (withdrawal date — onset date), and the precipitation amount between the onset and withdrawal. The horizontal axis represents the central year of the 20-year period where the trend was evaluated. Crosses indicate significant trends (p < 0.025)

Finally, we calculated the Pearson correlations between the onset/withdrawal and ENSO as quantified by the NINO4 index. The CLLJ has been shown to be relevant to precipitation in Central Mexico (Wang 2007; Cook and Vizy 2010; Perdigón-Morales et al. 2021), so the correlation has also been evaluated with the strength of the CLLJ, quantified as the anomaly of the zonal wind as described in Section 2. We computed the Pearson correlations for the index values corresponding to the 12 months of the same year of the onset/withdrawal (Fig. 10). Our results suggest that ENSO has very little influence on the onset date, as the values of the correlation prior to the onset are low and non-significant. Correlations of the onset date with the strength of the CLLJ are positive and significant around the onset, suggesting that a stronger CLLJ is related to a slightly delayed onset. For the withdrawal, correlations with the NINO4 are significant with values around 0.3 to 0.6 between March and August, indicating that a warming (cooling) of the tropical Pacific during the months before the withdrawal is related to late (early) ends of the rainy season. Concerning the CLLJ index, the correlations are in general negative, but they only reach statistical significance in July and August, prior to the withdrawal occurrence (r =  − 0.40 and r =  − 0.48, respectively).

Fig. 10
figure 10

Lagged correlations between the onset/withdrawal time series and the monthly value of the El Niño4 and the CLLJ index for the same year. The black vertical lines indicated the mean onset and withdrawal dates. Crosses indicate statistical significance (p < 0.05)

4 Summary and discussion

The Mexico Valley Basin is home to more than 25 million inhabitants, who strongly depend on rainfall both for human water consumption and agriculture, so the precise characterization of the precipitation, particularly the onset and withdrawal of the rainy season is of paramount social importance. In this work, we have shown that by using time-smoothed high-resolution precipitation data, it is possible to define an onset procedure for the MVB as the first day of the first 20-day streak with precipitation of at least 2.5 mm/day. For the withdrawal, we followed an analogous approach, and it has been defined as the last day of the last 20-day streak with precipitation of at least 1.7 mm/day. These thresholds were chosen after a calibration procedure aimed to maximize the rate of change in the precipitation around the onset/withdrawal. Based on this method, we found that for the period 1981–2020, the average onset occurs on June 6 and the average withdrawal on October 15, implying a typical duration of the rainy season of 131 days.

Our results show that both onset and withdrawal capture quite well the fast increase and decrease in precipitation in the study area characteristic of the start and end of the rainy season (Figs. 5 and 6). The analysis of the changes in the moisture flux toward the Mexican Valley Basin shows that during the wet season onset (withdrawal), there is a clear and fast strengthening (weakening) of the moisture flux on the exit of the CLLJ core region, through the Yucatan peninsula, and into central Mexico. Our results agree with Cook and Vizy (2010), who found that from May to September, moisture is lost to the Caribbean basin and transported by the zonal flow to Central America. The rainy season onset is concurrent with a strong inward moisture flow from the Pacific Ocean converging on the Isthmus of Tehuantepec, located on the southern coast of Mexico. On the contrary, the withdrawal is associated with an outward moisture flux in this area. In our knowledge, this dynamical feature has not been associated before with the timing of the onset/withdrawal of the wet season in central Mexico.

Both onset and withdrawal exhibit large interannual variability in the Mexico Valley Basin. Between 1981 and 2020, the earliest onset occurred on May 9 (1985, 1997) and the latest on June 26 (2020). The range of dates for the withdrawal is quite large as well, as 2011 was the earliest in our study period (September 14); in 1992, the end of the rainy season did not happen until November 14. There is not a significant tendency in the onset/withdrawal dates in the 40-year study period. However, trends of 20 years moving window revealed that the withdrawal dates were slightly but significantly delayed between 1988 and 1994 at a rate of around 1 day per year, while between 1995 and 2002, there is a change in the sign of the tendency, with a small trend toward earlier withdrawals. In the case of the onset, in general, we found positive significant trends for almost all the entire study period (i.e., a tendency to later onsets) that was larger during 1995–2002, reaching values of around 0.5 days per year. Due to the trends in the onset and withdrawal dates, the length of the rainy season at Mexico Valley Basin oscillated significantly during the study period. This is evidenced by the positive trends in the length of the rainy season between 1988 and 1994 followed by a significant negative trend in the duration between 1994 and 2002. In the case of the first period, the increase in the length of the rainy season was due to a delay in the rainy season withdrawal. For the second period, the decrease in the length of the rainy season was due both to later onsets and earlier withdrawals. Interestingly, the trends in rainy season precipitation closely follow those of the length of the rainy season, implying that a longer rainy season is also a wetter one, and suggesting that the physical drivers related to the length of the rainy season can be also related with the precipitation amount in the MVB.

We found large and significant positive Pearson correlations between the NINO4 index and the withdrawal date since May. By contrast, we did not find a significant relationship between the onset of the rainy season and ENSO. The positive correlation with the withdrawal implies that warmer temperatures over the tropical Pacific in summer (El Niño developing conditions) are related to a late withdrawal and vice versa. As such, El Niño conditions promote an extended rainy season that stretches well into early autumn. While this extended season may have a larger total rainfall, it does not necessarily mean that the summer precipitation is also higher during El Niño conditions, since the excess rainfall may be associated with a late withdrawal (Fig. 6).

Even though the correlation is found in the middle of summer, precipitation anomalies associated with ENSO take 3 to 6 months to reach the Americas. This delay in the correlation agrees with the atmospheric bridge theory (Alexander et al. 2002), which established a link between SST anomalies in the equatorial Pacific with those in the Tropical Atlantic, approximately 3–6 months following the peak in tropical Pacific SST anomalies. One such mechanism that causes the teleconnection is that during El Niño events, there is a southward migration of the ITCZ, which causes a weakening of the trade winds over the tropical North Atlantic and the Caribbean, reducing surface evaporation and leading to higher SSTs (Klein et al. 1999; Giannini et al. 2001).

Among several factors that influence the strength of the CLLJ, Wang (2007) has identified the mechanism through which the SST modulates the zonal wind. In a classic Gill mechanism, an off-equatorial diabatic heating generates a cyclonic circulation northwest of the heating anomaly (Gill 1980), which decreases the strength of the North Atlantic Subtropical High, debilitating the CLLJ (Wang 2007; Wang and Lee 2007; Wang et al. 2007). Additionally, Wang (2007) found wind-precipitation correlations for Central Mexico that stressed that enhanced moisture flux divergence at the exit of the CLLJ core region decreases convection in Central Mexico and vice versa. Accordingly, El Niño (La Niña) conditions in summer would propagate (through the atmospheric bridge) over 3 to 6 months and cause positive (negative) SST anomalies in the Caribbean, leading to a weakening (strengthening) of the CLLJ around October and November, which in turn weakens (strengthens) moisture divergence in the exit zone of the CLLJ and enhances (suppresses) precipitation in Central Mexico and delays (advances) the withdrawal in the Mexico Valley Basin.

Finally, we also found significant changes in the length of the rainy season directly related to the variability of the wind in the CLLJ core region. For the onset, a strong (weak) CLLJ causes a late (early) onset, agreeing with the suppression of precipitation by a strong CLLJ in summer through the enhancement of moisture divergence. The withdrawal date is negatively correlated with the summer CLLJ. Therefore, a weak (strong) CLLJ in summer causes a late (early) withdrawal. In this sense, a strong CLLJ during August leads to enhanced moisture divergence at the exit of the CLLJ core region. This might trigger an early withdrawal in September, thus modulating the withdrawal date and rainy season length.