{'fraction_non_alphanumeric': 0.028575337646345993, 'fraction_numerical': 0.02329808650782792, 'mean_word_length': 4.800907029478458, 'pattern_counts': {'":': 0, '<': 1, '<?xml version=': 0, '>': 1, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Modeling the Effects of Explicit Urban Canopy Representation on the Development of Thunderstorms above a Tropical Mega City

The effects of an explicit three dimensional (3D) urban canopy representation on the development of convective thunderstorms were analyzed with the tropical town energy budget (tTEB) scheme integrated into the advanced regional prediction system (ARPS). The study provides a detailed description of the procedure to couple the system ARPS-tTEB and analyzed the simulation results of the 12 January 2015 sea-breeze event that developed a severe thunderstorm above the metropolitan area of São Paulo (MASP), Brazil. The simulation used realistic boundary and initial conditions from the Global Forecast System (GFS) and sea surface temperature (SST) from the Tropical Rainfall Measurement Mission (TRMM). The system ARPS-tTEB runs of up to 3 km horizontal resolution were carried out with high resolution topography features and land-use types currently available for Southeastern Brazil. The simulated spatial distribution of precipitation was verified against the Climate Prediction Center Morphing Technique (CMORPH), the Global Precipitation Measurement (GPM) and the São Paulo weather radar (SPWR) precipitation estimates by indexes scores. Time series of grid precipitation estimates (ARPS-tTEB and SPWR) and point measurements (rain gauges) were evaluated with a Bayesian statistical method. Results indicate that the urban area of the MASP modulates the precipitation spatial distribution over it. Furthermore, phase and amplitude precipitation accuracy increased with the 3D urban canyon and the urban energy budget scheme in relationship to control runs without urban environment effects.


Introduction
Convective storm systems range from ordinary cells to large mesoscale clusters. Thunderstorms can be associated to tornadoes, flash floods, straight-line winds and large hailstone damaging [1] under moderate to high convective available potential energy (CAPE) and ample vertical wind shear [2,3]. There are several characteristic features associated with these storms including a propensity for steadiness and longevity (storm lifetimes of two hours or more, principal intense and ciclonically rotating updraft and large hail [4]. Several non-hydrostatic atmospheric models were developed and applied to numerical simulations and operational Numerical Weather Prediction (NWP). Among them, the advanced regional prediction system (ARPS) [5] was developed at the Center for Analysis and Prediction of Storms (CAPS) at the University of Oklahoma. The ARPS is designed to serve as an effective tool for basic and applied research and as a system suitable for explicit prediction of convective storms as well as weather systems at other scales. The model includes physics parameterization schemes, important for explicit prediction of convective storms as well as the prediction of flows at larger scales.
A little over one percent of the surface of the Earth is urban, but is expected to increase rapidly in the next decades [6]. More than 80% of the population of the world will live in cities by 2050 [7]. The urban canopy is formed by the assemblage of buildings, trees, and other objects composing a city and the spaces between them. The urban environment is the entire volume of air above the urban canopy that is influenced by its surface characteristics and by the activities within it [8]. The urban environment extends upward to about ten times the height of the buildings in the urban area [9]. Rural and urban surfaces differ in albedo and thermal properties besides anthropic heating. The latter converts more solar radiation into turbulent sensible heat with surface temperatures higher than in the former yielding an urban heat island (UHI) [9]. It enhances convective instability and storms by changing boundary-layer processes. Several studies indicate urban-induced changes in precipitation patterns is most likely due to one or more factors: (1) enhancement, creation or displacement of a mesoscale circulation which cause atmospheric instability, (2) increase in low-level convergence resulting from enhanced surface roughness, (3) addition of cloud condensation nuclei (CCN) modifying microphysical and dynamic processes and (4) addition of urban industrial sources of moisture modifying the low-level atmospheric moisture content [10]. The Metropolitan Meteorological Experiment (METROMEX) carried out in the USA in the 70s studied changes in convective precipitation in major cities [11,12]. Results showed that urban effects produce increased precipitation observed within and 50-75 km downwind of the city, reflecting increases of 5-25% over the background values [13,14].
By studying the interaction between the sea breeze circulation (SBC) and the urban heat island circulation (UHIC) around the metropolitan area of São Paulo (MASP) under weak synoptic forcing was concluded that precipitation accumulation was higher above the MASP [15,16]. It was shown that convection is triggered by the incoming sea-breeze front causing lifting and instability near surface and by intense vertical sensible heat fluxes within MASP. Also was suggested that higher roughness caused by urban structures and higher CCN from anthropic sources were most probably related to the increase in the amount of precipitation. However, thermodynamic and dynamic effects tend to override aerosol effects in severe thunderstorm environment conditions and topographic effects can also induce vertical motion and convection [17].
Realistic urban heat flux schemes can be incorporated into atmospheric models to study different urban effects. By integrating the the town energy budget (TEB) scheme [18] with the cloud-resolving regional atmospheric modeling system (RAMS) [19] to simulate the 8 June 1999 Saint Louis City thunderstorms in Missouri, it was shown that turbulent heat fluxes downwind of the city rather that urban roughness caused the thunderstorm by altering the surface energy balance (SEB) [20]. Moreover, it was investigated whether or not TEB implemented into RAMS could emulate record 24 h precipitation accumulation in Mumbai, India, on 26 July 2005 [21]. Results for this synoptically active rainfall event indicate updrafts and precipitation were significantly affect by urban heterogeneities and surface temperatures.
A recent contribution simulated a wintertime local circulation in the MASP using tropical town energy budget (tTEB) scheme [22] coupled to ARPS [23]. Results show that stronger convergence caused by the UHI in the center of the MASP accelerated the sea-breeze front, it later reached the MASP interacting with the UHI circulation, increasing moisture convergence and strengthening updrafts. Similar results were obtained for the same region using TEB scheme and RAMS model but without topographic effects [24]. An evaluation of physical mechanisms associated to urbanization in Manaus City, Brazil, using TEB and RAMS showed microclimate changes related to urban growth and changes in the local microclimate [25]. Recently, the coupled system ARPS-tTEB was used to simulate heavy rainfall episodes of 26 August 2011, 23 July and 12 August 2013 in the Tokyo Metropolitan Area (TMA).
The simulations improved the south and east SBC of the TMA and its urban heat island effect on the spatial distribution of precipitation [26].
Motivated by these considerations, the present contribution integrates the tTEB scheme [22] into the ARPS model [5] to simulate the effects of urban environment on the development of convective thunderstorm on the MASP for the event of 12 January 2015. The system ARPS-tTEB is a proposed tool to study urbanization effects on meteorological conditions under various scenarios. The impact of urban fluxes of momentum, sensible and latent on the development of deep convection is analyzed using realistic initial and boundary conditions. The present work is the first to analyze effects of explicit urban canopy representation on the simulation of the development of thunderstorms above the MASP. The proposed scheme will be useful to future works that intend to study the effects of urban environment on the development of thunderstorms by integrating urban energy budget schemes into ARPS system since it does not have an explicit representation at the present.
Several efforts of intercomparison of the urban surface schemes has been done by the community [27,28]. Even the TEB urban surface scheme was also tested along with the other schemes [29]. The intercomparison of urban schemes expresses the similar capacity of the different schemes in simulating the urban conditions, not having one that stands out over the others in an evident way. However, it was emphasized that the role of precipitation was not highlighted in the intercomparison. Therefore, the analysis of the complex interactions between the urban surface conditions, the development of the urban boundary layer and the triggering and development of thunderstorms over the MASP, proposed in the present contribution, have great importance.
The main features of the MASP are presented in Section 2. The models ARPS and tTEB are described in Section 3. The coupled system ARPS-tTEB is described in Section 4.1. The model configuration and experimental design used for the experiments are described in Section 4.2. Performance indexes and a Bayesian estimation with T-test statistics are in Sections 4.3 and 4.4. A synoptic analysis for the event of 12 January 2015 is shown in Section 4.5. Precipitation and surface weather variables measurements are in Section 4.6. Results and discussions are in Sections 5 and 6 concludes the paper.

Study Area
The MASP is located in south-eastern Brazil (23 • 35 55 S-46 • 37 46 W), about 60 km from the Atlantic Ocean on 770 m plateau above sea level. It shelters the largest industrial complex of South America with a population of 23.4 mi inhabitants. Its 39 cities occupy a total area of 8051 km 2 , and an urbanized area of 2700 km 2 [30]. The population increased twenty fold in the last century when intense urbanization took place with significant environmental and microclimate changes [31]. In the MASP, the observed changes in precipitation patterns may be related to several factors, probably the most important is the UHI phenomenon. A recent study, which uses a historical series of meteorological data, shows an increase in the frequency of events with moderate and extreme precipitation from the mid-1970s [32]. Also was possible to identify a decrease of days with light rains (<5 mm day −1 ) and an increase in the frequency of days with extreme temperature values (>32 • C) and that milder minimum temperatures have become less common in the last 30 years [32].
The South Atlantic High Pressure System (SAHPS) modulates the yearly total precipitation over Eastern Brazil, including the MASP, but also other weather transients as fronts, squall lines, mesoscale complex systems and isolate convection specially those induced by local circulation such as sea breeze fronts and heat island convergence. Moving polar highs reach the MASP throughout the year but more intense cold intrusions occur during fall and winter [33]. NW-SE low level jets transport moisture from Amazonia to south-eastern Brazil and is known as the South Atlantic Convergence Zone [34]. Prevailing surface air circulation over the MASP are NE and NW during the night and early morning in association to the SAHPS.
The SBC develops during the afternoon and early evening when surface winds intensify and shift to SE and SW. The SBC reaches the MASP more than half of days of the year [16]. It intensifies from the sea shores of São Paulo State towards Serra do Mar scarp, injecting Atlantic Ocean moisture in the MASP. The SBC strength inland is modulated by the UHI effect above the MASP, topography effects and atmospheric stability. Indeed, summer precipitation is more intense over the urban area of the MASP due to the combined effects of the UHIC and SBC [15]. All 125 SBC-UHIC deep convection episodes between 2005 and 2008 indicated an anomaly of 600 mm above the MASP. The UHI effect induces a thermal low and convergence over the MASP. Moreover, most episodes of heavy precipitation associated with the SBC occur between October and April (Spring-Summer). In general, no deep convection is associated to the SBC during May and September (Fall-Winter) [16].

The ARPS Model and the tTEB Scheme
The ARPS was developed by the Center for Analysis and Prediction Storms at the University of Oklahoma. It includes modern physics parameterization schemes important for the explicit prediction of convective storms, as well as the prediction of flows at larger scales [5]. The planetary-boundary-layer and surface-layer parameterizations are necessary to evaluate the contribution of the land surface in terms of the sensible and latent heat exchange with the atmosphere, as the soil surface temperature and moisture content directly appear in the surface-flux calculations.
Numerical weather prediction is often sensitive to the surface fluxes of heat, momentum and moisture. A stability-and roughness-length-dependent surface-flux model is available in the ARPS model based on a modified formulation proposed by Businger [35], who analyzed the wind-speed and temperature profiles for a wide range of stability conditions in the context of Monin-Obukhov similarity theory. Moreover, a procedure proposed based on the exact analytical solutions of the Monin-Obukhov stability parameters in terms of the gradient and bulk Richardson numbers for both stable and unstable atmospheric conditions was used in the flux calculations [36]. In addition, Businger's formulation was further modified so that the results are more realistic for highly stable or highly unstable conditions [37].
In general, urban-canopy models represent the physics of the system more accurately by solving the surface energy balance (SEB) for a realistic three-dimensional urban canopy, and can be separated into two categories. (1) Models where the canopy air is parameterized. These are referred to as single-layer models, because there is direct interaction with only one atmospheric layer above the uppermost roof level. This means that, when coupled with a mesoscale atmospheric model, the base of the atmospheric model is located at the roof level. (2) Models using a drag approach [38]. These are so-called multilayer models, because several air layers are explicitly influenced by the building (down to the road surface), because the air layers extend down into the canopy.
The simplest of the single-layer models is the TEB scheme [18], which simulates the turbulent fluxes (heat, momentum and mass) into the atmosphere at the surface of a mesoscale atmospheric model covered by buildings, roads, or any artificial material. The TEB scheme parameterizes both the urban surface and the roughness sublayer, so that the atmospheric model only accounts for a constant-flux layer as its lower boundary. The scheme reproduces the damping of the daytime turbulent heat flux by the heat-storage flux observed in cities.
For cities located in tropical regions, the tTEB scheme of [22] uses the original equations of the TEB scheme [18]. However, several modifications were implemented to enable the simulation of the surface conditions of tropical cities. The most important modifications include: (a) local-scaling approaches for obtaining flux-gradient relationships in the roughness sublayer; (b) the Monin-Obukhov similarity framework in the inertial sublayer; (c) increasing aerodynamic conductance toward more unstable conditions; (d) a modified urban subsurface drainage system to transfer the intercepted rainwater by roofs to the roads and; (e) long-wave infrared irradiances inside the urban canyon calculated using multiple reflections [39].
More details related to estimation of the turbulent energy fluxes in the inertial sub-layer (ISL) and roughness sub-layer (RSL), and to the evolution of the water reservoir used in the tTEB scheme, can be found in [22,23]. The increasing resolution of atmospheric models (up to 0.5 km × 0.5 km) allows explicit representation of urban areas, so that modeling the SEB of the urban environment becomes crucial when urban effects are simulated by non-hydrostatic atmospheric models. Next, the step-by-step procedure of the coupled ARPS-tTEB system is described.
Currently, the surface parameterization used by the ARPS model does not consider the SEB generated by the urban environment. As a consequence, to analyze the effects of the urban environment on the development of convective thunderstorms, it is necessary to couple the model with a town energy budget scheme (tTEB), as was described in detail in [23] and briefly summarized in Section 4.1.

Coupling the ARPS with the tTEB Scheme
The procedure to couple the non-hydrostatic atmospheric model ARPS and the tTEB scheme (Section 3) is summarized in this section. The integration of them both made it possible to study urban micro-climates, and increased the accuracy of short-term forecasting (nowcasting) models. Figure 1 shows a flow chart of the main steps to integrate ARPS and tTEB scheme. The tTEB variables were transferred to the main ARPS subroutine, the driven subroutine and the surface-physics subroutine. If vegetation cover was of the urban type (originally semi-desert in ARPS), then the dynamic and radiative variables used in the ARPS model were transferred to the tTEB scheme with urban parameters set as constants. Next, the tTEB output variables modified ARPS variables and recalculates the surface-energy fluxes over the urban environment. Finally, the urban energy fluxes and surface variables were transferred to ARPS surface-physics subroutine, closing a cycle. The surface temperature and the surface water content used by the ARPS was obtained by a combination between the output temperatures of the roofs, walls and roads obtained by the tTEB scheme [23]. The tTEB scheme considered a variable draining ratio to determine the time evolution of water accumulation over roofs and roads [40]. a recent contribution [23] gives additional details on the estimation of surface temperature, the evolution of water accumulation and the surface-water content in the urban canyon (roof, roads and walls), complex drag and surface energy fluxes in the atmospheric flow used in the present study.

Model Configuration and Experimental Design
Two experiments were made to evaluate the performance of the coupling ARPS-tTEB system in simulating the effects of urban energy fluxes on the development of convective storms under real conditions to simulate the thunderstorm event above the MASP on 12 January 2015. The main features of both simulations are showed in Table 1. The first was a control run experiment that does not take into account the urban SEB, and considers the urban area as a semi-desert canopy with the biophysical parameters shown in Table 2. The second one with tTEB experiment included the effects of the urban SEB based on the urban surface properties shown in Table 3.
The  The ARPS-tTEB system was used at the 3 km domain containing MASP. Figure 2b shows the vegetation cover for the 3 km domain with urban type set to 13. The topography and pressure fields over the MASP are shown in Figure 2c. Horizontally inhomogeneous initial and boundary conditions are specified by GFS 1 • resolution dataset. The simulation runs started at 1800 UTC on 21 August 2014 until 0000 UTC on 23 August 2014 (30 h). The 1.5 order turbulent kinetic energy (TKE) closure scheme for sub grid boundary-layer turbulence. Ice microphysics scheme by [41] was used. It includes two liquid phases (cloud and rain) and three ice categories (ice cloud, snow and hail or graupel). The scheme assumes spherical hydrometeor exponential size distributions for rain, snow and hail/graupel. Control runs were performed with surface physics of sandy loam soil type and semi-desert vegetation. Urban and vegetation grid cells from the Global Ecosystems Database that adapts biophysical parameters such as the leaf area index, fractional coverage, displacement height, roughness height, albedo and emissivity.

Model grids -Topography
Vegetation cover Predominant land-use land classes in MASP were grassland, deciduous forest and semi-desert land, considered in this work as urban canopy (Figure 2b). The biophysical parameters for these vegetation types are in Table 2. The momentum fluxes inside the urban canopy and at the first model level are strongly determined by the roughness length (z • ) and the zero-plane displacement (d), which were too small for the MASP (see Table 2). For the case of regularly -built towns, roughness lengths were found to lie between 0.7 to 1.5 m. In the case of a high-rise urban surface (h ≥ 20 m), which is the case for the central part of MASP, it has been suggested roughness-length values greater than 2.0 m [43]. However, here we used the morphometric formulae propesed by Kastner [44] to estimate z • and d.
The urban area of the MASP was about 2700 km 2 reflecting the increased urbanization process in Brazil [30,45,46] divided the MASP into two different land-use land classes: urban type 1, which predominantly contains high-rise buildings and covers approximately 300 km 2 and urban type 2, which mainly contains residential and industrial regions and covers approximately 2400 km 2 (Table 3). These two regions were defined from LANDSAT-5 imagery and are classified according to the original land-cover categories provided by the International Geosphere-Biosphere Programme (IGBP).
From these two urban types, a set of average values proportional to the urban areas for each parameter was calculated (Table 3). Table 2. Some parameters used in the advanced regional prediction system (ARPS) model for three different types of vegetation cover.

Parameter
Albedo  Table 3. Differences between the parameters for the two urban areas above the metropolitan area of São Paulo (MASP) [46] and the average values used in the tropical town energy budget (tTEB) scheme.

Parameter Urban 1 Urban 2 Average
Building height (m) 50. Buildings, road materials and the average geometry data were required in the tTEB scheme. These urban parameters are shown in Table 4 [9,18]. All tTEB parameters were kept constant and for average conditions. Non-urban land-use classes in the model domain were always parameterized via the force-restore scheme [47]. Average parameters in Table 3 drove the model with an acceptable degree of approximation. As an aside, updated and publicly available urban-morphology datasets for urban modelling is needed. The GFS one-degree resolution sea surface temperature (SST) used by ARPS were replaced by Tropical Rainfall Measurement Mission (TRMM) 0.25 • resolution daily SST [21]. TRMM daily SSTs are lower with higher gradients near the coast of São Paulo State compared to GFS ones (not shown). SST differences yield realistic gradients generating a convergence zone above the MASP. Table 4. Average values of parameters for the urban landscape used in the tTEB scheme based on a previous contribution [18].

Parameter Value
Roof layers

Performance Indicators
Performance measures are widely used as summary measures of forecast quality. Several studies have analyzed the sensitivity of several performance measures to the displacement error, bias and event frequency [48,49]. Typical performance measures provide information on a single aspect of forecast quality, such as forecast accuracy. Accuracy is the degree of correspondence between the forecasts and observations [50] and is one of the many aspects of forecast quality that can be obtained from the joint distribution of forecasts and observations. Several scores were used to verify the simulation results. Accumulated rainfall greater than a specific threshold was evaluated in terms of elements of the 2 × 2 contingency table (Table 5) along with a possible range of values [51]. As the contingency table needs observations and forecast values, the simulated results (ARPS) and satellite data (CMORHP, GMP and radar) were projected onto the same verification grid. Suitable thresholds (q) were used to convert the satellite observed (O r ) and forecast model (M r ) rainfall into the binary fields I • and I M (Equation (1)). All pixels exceeding this threshold had a value of one and all others a value of zero. The 50th percentile (median) threshold (q) was used to select the highest 50% (median) of observed and forecast accumulation for comparison, which removes the bias in rainfall amounts, and focuses on the spatial accuracy of the forecast. For the present work we used: the probability of detection (POD), the threat score (TS), the equitable threat score (ETS), the true skill statistic (TSS), the bias-adjusted threat score (TSA) and the odds ratio skill score (ODSS) were used here, with the calculation of these performance indicators shown in Table 6.

Bayesian Estimation Supersedes the t Test
To evaluate the similarity between time series of model and radar rainfall estimates, we implemented the 'Bayesian estimation supersedes the t-test' method [52]. This method provides complete distributions of credible values for the group means and their difference, standard deviations and their difference and the effect size parameter, also the method is able to handle outliers. To accommodate outliers, the data were described with a t distribution for both groups, which had heavier tails than the normal distribution. The method described the data with five parameters: a mean and standard deviation for each group and a normality parameter shared by the groups. For each possible combination of means and standard deviations, the effect size parameter (ES) was computed using the following: where the differences of the mean parameters (µ 1 − µ 2 ) describe the magnitude of the difference between the central tendency of the groups and the difference of the standard deviation parameters (σ 1 − σ 2 ). Thus, based on the results of Bayesian estimation, two distributions were more similar (different) if the effect size parameter was smaller (higher). The rainfall results of both experiments (tTEB and control) were compared with the rainfall values estimated by the weather radar of São Paulo as described below in Section 5.1.

Synoptic Analysis for the Event of 12 January 2015
Intense precipitation events with subsequent flash floods occurred in the MASP on 12 January 2015 [53], with a total of 35 flooded areas between 1800 UTC and 2100 UTC (15 and 18 LT, respectively). In general, these extreme precipitation events above the MASP can be associated with the interaction between the SBC and the UHIC. Figure 3a shows GFS surface wind and sea surface pressure fields over South America at 1800 UTC on 12 January 2015. Surface high pressure systems can be seen over the Pacific and Atlantic Oceans. The one over the Atlantic Ocean centered at 20 • W and 25 • S at 1200 UTC moved westward at 18 UTC (15 LT). It induces NW and NE winds in MASP during the day, shifting to SW and SE under the SBC. A pressure trough is seen over the South-eastern Coast of Brazil associated to deep convection at 18 UTC (15 LT). In addition, a low pressure center of 1010 hPa was observed to the east of the state of São Paulo. Figure 4a shows a GOES-12 infrared image centered at the MASP for clear sky conditions at 1500 UTC. A remarkable UHI in MASP is depicted by the dark area. Figure 4b shows a satellite image over the same region at 1800 UTC, where the cloudiness along the coast of the MASP is associated with the intense convective activity after the passage of the SBC. Figure 5a,b show NCEP reanalysis and ARPS simulated 1000 hPa winds for the 9 km domain at 1800 UTC. Both indicate a SBC moving inland towards the MASP. Figure 3b,c show the CAPE and convective inhibition (CIN), respectively, at 1000 hPa for the south-eastern Brazil at 1800 UTC. The CAPE was between 1500 J kg −1 and 3000 J kg −1 and CIN was 150 J kg −1 above the MASP. They were consistent with deep convection development after the incoming the SBC (Figure 4b).
The incoming SBC over MASP is seen in Figure 5a,b for NCAR reanalysis and for the ARPS 9 km domain at 1000 hPa, respectively. They both were consistent and indicated the ARPS simulated the SBC realistically. NCEP reanalysis has higher spatial resolution than GFS ones. Figure 5c shows 1000 hPa moisture convergence along the coast of the South-eastern Brazil varying between −0.9 × 10 −6 and −1.5 × 10 −6 g kg −1 s −1 . Thus, this pattern favored the development of deep convection over the MASP. Figure 5d shows 300 hPa divergence over MASP close to +1.5 × 10 −5 s −1 .

Datasets
ARPS-tTEB simulations precipitation outputs were verified against SPWR precipitation estimation ( Figure 6a) and rain gauge 10 min resolution measurements from the Center for Monitoring and Alerts of Natural Disasters (CEMADEN) located at 54 automatic pluviometric stations located on buildings of the city of São Paulo (Figure 6b). The SPWR is a 650 kW dual S-band Doppler system that surveys within a 240 km radius. Rainfall rates are estimated at 2 × 2 km 2 every 5 min.
For the present contribution, were used the Climate Prediction Center (CPC) morphing technique (CMORPH) precipitation estimates, that use low orbiter satellite microwave observations obtained entirely from geostationary satellite infrared data at 0.25 • resolution every 3 h, as well as the Global Precipitation Measurement (GPM) mission, that estimates precipitation every half-hour at 0.1 • resolution between 65 • N to 65 • S. The spatial-temporal precipitation distribution of all rain gauge measurements and remote sensing estimates for 12 January 2015 are shown in Section 5.1. The third generation 0.5 • reanalysis of the climate forecast system reanalysis (CFSR) by NCEP was used to verify ARPS wind and moisture simulations.

Rainfall on 12 January 2015
The SPWR precipitation accumulation field between 1700 UTC and 2100 UTC on 12 January 2015 is shown in Figure 6a. Figure 7a,b show area median and 75% quantile every 5 min precipitation accumulation over ARPS 3-km domain (Figure 6a) for SPWR, tTEB and control runs. Both ARPS simulated precipitation results agreed with the SPWR precipitation estimates. A maximum of 12 mm for median and 18 mm for 75% quantile occurred at 1830 UTC. Further discussion will be shown in Section 5.3.3. Figure 7c shows the time evolution of the rain gauge network (Figure 6b) precipitation average and respective tTEB and control precipitation for grid points with rain gauges. Again, simulated and measurements agree in phase and amplitude with a maximum of 200 mm at 1830 UTC. Rainfall rates were higher for control than tTEB run and rain gauge measurements since rainfall rates were higher in the control run over the SE where more rain gauges were available than over NE of the MASP (Figure 7b).

ARPS-tTEB Verifications
The difference between rain gauge measurements from CEMADEN and precipitation from tTEB and control runs (Figure 7c) was evaluated using the statistics of Table 7. For tTEB (control) experiment, the slope of the best fit regression line was 1.07 (1.14), the mean absolute error (MAE) is −5.20 (−9.46), the percent bias (PBIAS) was 12.78 (23.26) and the root mean square error was 20.68 (27.24). The PBIAS indicates an overestimation of the model relative to measurements. In general, these statistics indicate tTEB performed better than the control run. The precipitation fields in Figure 8c,d for the tTEB and control runs, respectively, show phase displacement. The control run precipitation field was not well simulated since it was concentrated over the SE and outside of the MASP. On the other hand, the tTEB precipitation field is concentrated above and downwind of the MASP and higher between 8 mm h −1 and 40 mm h −1 (Figure 8e). Further verification was carried out with CMORPH and GPM precipitation estimates with spatial indicators described in Section 6 by comparing precipitation estimates from CMORPH ( Figure 8a) and GPM (Figure 8b) with precipitation estimates from the tTEB (Figure 8c) and control (Figure 8d) runs between 1700 UTC and 2100 UTC on 12 January 2015. All performance measures improved by 8% with tTEB (Table 8). This slight improvement was due to simulated convective cells formed NW of the MASP with the tTEB run (Figure 8c) with better phase and amplitude compared to CMORPH (Figure 8a), GPM (Figure 8b) and the SPRW (Figure 6a). On the contrary, the control run generated convective cells towards SE of the MASP (Figure 8d). Bayesian estimation provides rich and complete information about the joint distribution of credible parameter values, including the means, standard deviations, effect size, and normality between data from two groups. This method minimizes extraneous influences on the data contaminated by random variability. Bayesian estimation can accept the null value by using a decision procedure involving the high density interval (HDI) and provides precise power analysis for multiple goals of research [52]. For these reasons, ARPS-tTEB precipitation simulations were verified against the SPWR rainfall estimates between 1600 UTC on 12 January to 0000 UTC on 13 January 2015. A Bayesian approach described in Section 4.4 was used to verify the time series of mean precipitation. Figure 9a,b show histograms of effect size parameter (Equation (2)) between the median precipitation simulated by the tTEB and control runs compared to the ones of SPWR, respectively. The effect size parameter was −0.006 for the tTEB run on average with a 95% HDI from −0.371 to 0.240. In contrast, for the control run, it was −0.181, on average about three fold higher than the previous case with a 95% HDI from −0.496 to 0.118. Figure 9c,d show similar histograms but for the 75% quantile precipitation results. The effect size parameter was −0.115 for the tTEB run on average with a 95% HDI from −0.423 to 0.197 while for the control run it was −0.255 on average about twice that of the previous case with a 95% HDI from −0.571 to 0.043. Consequently, for the median and 75% quantile precipitation time series, the tTEB run shows lower effect size parameter than the control run and, therefore, greater similarity with SPWR precipitation estimates.  (2)) between median and quantile 75% rainfall results of (a,c) tTEB and (b,d) control experiments with median and quantile 75% rainfall estimates of weather radar. The two data groups are shown in Figure 7a,b, respectively. These figures were made using the version online of the Bayesian Estimation Supersedes the t-test (BEST) http://sumsar.net/best_online/ providing the rainfall data. This page was made by Rasmus Baath, at Lund University Cognitive Science, Sweden.

Impact of the Couple System ARPS-tTEB
In this section, we discuss the impact the tTEB scheme on ARPS variables. The ARPS-tTEB system is able to represent thermal and mechanical properties of the urban environment of the MASP to induce convective processes.

Temperature and Energy Fluxes
In general, a valid simulation of surface air temperature is important in view of the well-known dependency of lower boundary layer stability on the heat flux from the surface. For the urban area of the MASP, [55] showed maximum UHI between 1700 UTC and 1900 UTC varying between 2.6 • C in July and 5.5 • C in September. A recent contribution [45], estimated monthly long-term (2001-2014) surface UHI intensities for the urban area of the MASP using remote sensing data obtained from MODIS sensor. They found that in January, the mean surface UHI intensity is close to 10 • C. The simulation results confirm this magnitude of the surface UHI for the city of São Paulo, as it is observed in Figure 10, which shows the mean soil surface temperature between 0000 UTC of 12 January 2015 to 0000 UTC of 13 January 2015 (24 h). The differences of surface temperature for the urban area between the tTEB and control experiments reached values around to 6 • C.
An urban cooling effect was observed in dispersed (low-density) urban areas along to the coast of the MASP with magnitudes close to −5 • C. This effect could be explained because during the day, lower density urban forms have higher albedos given reflections from roads were not intercepted by adjacent walls and irradiance is distributed over larger surfaces in street canyons when compared to open sites. In contrast, the semi-desert canopy was exposed to direct solar irradiance continuously along the day and experienced a substantial rise in temperature [8]. Furthermore, the sea-breeze advected relatively cold and humid air from the sea above the urbanized coastal plain until the moment that its cooling effect exceeded the radiative warming effect.
The net result was urban cooling on the coastal urban area in the afternoon, while the urban area of the MASP, located 50 km above the plateau and away from the coast, was still warmer than the vegetated area around it, despite the late entrance of the sea-breeze inland. This urban cooling effect could be verified with in-situ surface measurements of wind and temperature along the coast of the MASP to evaluate the introducing observed sky view factor (SVF) in numerical models to reproduce surface wind and temperature when subjected under different SVF specified for different aspect-ratio parameters of the urban canopy (Table 3) [56]. The UHI was adequately simulated with the system ARPS-tTEB for the MASP. Its effect was significant both during the day and night (Figure 10). Figure 11 (first row) shows 10 m air temperature at 0600 UTC of 12 January 2015 for the two experiments (tTEB and control) and their difference. At this time, temperature differences were 3 • C within the urban area of the MASP. The wind field indicated a land-breeze feature channeled by the topography. The land-breeze was more intense for the control run given a greater temperature difference between sea and the semi-desert canopy.
Later, at 1830 UTC, the surface air temperature and sea-breeze front around the MASP were modified by the cooling effect of rainfall and gust fronts associated to convective cells (Figure 11-second row). As was mentioned above, the UHI tended to speed up the sea-breeze front inland causing convergence zones northward in the tTEB run and convergence southward along the coast in the control run (Figure 8e). Thus, negative temperature differences were NW and NE and positive ones were SE of the MASP. The UHI in the urban area of the MASP induced temperature differences up to 5 • C.
The vertical extent and impact of the UHI into the boundary layer over MASP is analyzed in Figure 12 (first row). It shows vertical cross sections of mean air temperature between 46.9 • W and 46.72 • W at 0600 UTC on 12 January 2015 for the tTEB and control runs and the temperature difference cross section field between tTEB and control. The UHI effect was more significant above and downwind of the city from 23.49 • S to 23.76 • S. Vertically, the higher air-temperature difference was 4 • C close to the surface, with lower temperature differences around 1 • C up to 600 m above the ground, and beyond this altitude the warming effect essentially disappeared. At 1830 UTC (Figure 12 second row), the cooling effect of the rainfall and gust fronts of the convective cells modified the patterns of temperature above the urban area of the MASP. However, the influence of the UHI was still observed upwind and downwind of the MASP from 23.4 • S to 24.0 • S. Vertically, the higher air-temperature difference close to 4 • C is present up 100 m above the ground. Lower temperature differences of 1 • C extend to 700 m high.
Solar irradiance was converted into a higher rate of sensible heat flux over the urban area of the MASP than in its dryland and cropland outskirts given the lower specific heat capacity and surface albedo. Latent heat flux was much lower since it was drier and with low evapotranspiration [57]. In general, the horizontal gradient of sensible and latent heat fluxes was caused by soil moisture gradients [58]. Figure 13 shows the spatial distribution of the sensible heat flux at the surface for 12 January 2015 at 0600 UTC (first row) and 1830 UTC (second row) for the tTEB and control runs. They agree with the surface air temperature field discussed above. The sensible heat flux increases 80 W m −2 at 0600 UTC in the tTEB run since its dissipation is slower than in the semi-desert canopy of the control run. This lagging on sensible heat flux was positive until after sunset and allowed the atmospheric warming by turbulent heat transport [23]. Differences in sensible heat flux between tTEB and control runs increases to 200 W m −2 at 1830 UTC due to rainfall and downdraft cooling effects.
High spatial variability of latent heat fluxes resulted from land surface and atmosphere interaction. Figure 14 shows the spatial distribution of surface latent heat flux at the surface at 0600 UTC (first row) and 1830 UTC (second row) on 12 January 2015 for tTEB and control runs and their differences. At 0600 UTC, the latent heat flux was slightly lower for the urban surface (tTEB run) in comparison with the semi-desert canopy (control experiment) up to values close to 30 W m −2 due to the reduced moisture availability and the lack of evapotranspiration. At 1830 UTC, during the period of intense rainfall, the differences of latent heat flux inside the urban environment can reach values of 300 W m −2 . As expected, the larger differences occurred over the urban area of the MASP during the rainfall occurrence because urban surface drainage reduces the evaporation and so the latent heat flux.

Flow Properties and Convergence
The effects of explicit urban environment representation on mountain valley and SBC above the MASP using ARPS-tTEB system have been studied [23]. Diurnal SBC and land nocturnal circulation effects caused by the UHI in the MASP have been successfully simulated. Also, it was found that there exists large sensible heat storage within the urban environment during the day, which is later released in the afternoon and at night in the city of São Paulo (not shown here). It was under clear sky conditions (Figure 4a) on 12 January 2015, so solar irradiance heated the Serra do Mar scarp (Figure 2c) developing the SBC and enhancing convergence at 1545 UTC, well simulated by both tTEB and control runs ( Figure 15-first row). Cloudiness increased due to the intrusion of the SBC at 1530 UTC (not shown). Figure 15 (first row) shows a convergence front up to 1200 m height associated with the incoming SBC centered at 23.9 • S for the tTEB run, and at 23.92 • S for the control run with maximum of 16 × 10 −4 g kg −1 s −1 at 1545 UTC.
The more forward position of the convergence front in the tTEB run was caused by the UHI that accelerates the SBC towards the urban area of the MASP region. This faster propagation upwind of the MASP was caused by the horizontal pressure gradient pointing to the coast generated by coupling the UHIC and the SBC front. Once the SBC front reached the urban area of the MASP, stronger convergence zone generated above the city as well as the thermal circulations induced by the MASP acting halting the SBC for about two hours and advecting large amounts of moisture from the surface to the upper atmosphere [23,24].
The vertical cross sections of moisture divergence flux at 1830 UTC for tTEB and control runs and their difference field ( Figure 15-second row) indicate higher divergence for tTEB than the control run associated to downdrafts and gust fronts over the urban area of the MASP (Figure 8c). The difference in moisture divergence flux between them reached 8 × 10 −4 g kg −1 s −1 up to 800 m height. At 23.25 • S strong convergence was −21 × 10 −4 g kg −1 s −1 for both runs as the SBC moves northward of the urban area of the MASP (Figure 12-second row). However, for the tTEB run, the convergence front lagged behind the control run due to urban canopy roughness. Figure 16 (first row) shows that the horizontal wind speed above the urban area of the MASP is reduced down to 10 m s −1 at the surface for the tTEB experiment in comparison with the control experiment at 1830 UTC due to the urban canopy roughness effects. Higher wind speed differences between tTEB and control runs was caused by storm gusts along the east coast of the of the MASP. Figure 16 (second row) shows the vertical cross-section of the wind speed for the tTEB and control runs at 1830 UTC. The sea-breeze front in the tTEB run was at 23.25 • S with wind speeds between 11 m s −1 to 6 m s −1 below 1500 m, while in the control run they were between 13 m s −1 to 8 m s −1 below 3000 m at 23.23 • S. So, the sea-breeze front was delayed in the tTEB run by 0.03 • in comparison with the sea-breeze front in the control run with maximum wind speed difference of 5 m s −1 . Noteworthy, the sea breeze front and divergence-convergence patterns were affected by downdrafts and gust fronts over the urban area of the MASP, described in Section 5.3.3.

Rain Water and Hail Mixing Ratios
The rain water mixing ratio increased both above and downwind of the MASP in the tTEB run, consistent with the analyzed divergence-convergence patterns in presented in Section 5.3.2. Figure 17 shows the vertical cross section of mean rain water mixing ratio between 46.9 • W and 46.42 • W at 1800 UTC and 1830 UTC on 12 January, 2015. The rain water mixing ratio increased to 1.6 g kg −1 up to 9 km height. Similarly, Figure 18 shows vertical cross sections of the hail mixing ratio with 0 • C and −40 • C isotherms. Between these isotherms the Bergeron microphysics process was very efficient in producing ice and releasing latent heat energy. Similar to the rain mixing ratio, the hail mixing ratio increased up to 1.2 g kg −1 between 6 km and 10 km height above and downwind of MASP for the tTEB run.
Thermodynamic instability is key to hail formation under vigorous updrafts. In general, buoyancy across an updraft determines its magnitude. It is caused by instability and updrafts turbulent mixing with dry environments [59]. Turbulence is produced by the inflow of dry environmental air and wind shear in the vicinity of the updraft [60]. Figure 19 illustrates these processes by showing vertical cross section of mean TKE between 46.9 • W and 46.42 • W at 1800 UTC and 1830 UTC for the tTEB and control runs and their difference.
TKE contains terms for buoyant and mechanical production and redistribution by transport and pressure forces. Positive buoyant production occurs when there is heating at the surface so that an unstable temperature lapse rate develops near the ground and spontaneous convective overturning can occur [61]. TKE was higher above and downwind of the urban area of the MASP for the tTEB run with differences with the control run between 1 m 2 s −2 and 6 m 2 s −2 at altitudes between 6 km and 16 km. This higher TKE generated an intensification of vertical motion and so, a greater production of hail ( Figure 18).
The UHI dynamic and thermal effects and the increase of hail production above and downwind of cities are associated to enhanced lightning activity [62][63][64]. Particularly, by studying the urban effect on the cloud-to-ground lightning activity on the MASP, it was observed that the region of large activity was coincident with the location of the main urban areas with larger surface temperatures which was obtained from the thermal band of the LandSat-7 satellite [65].

Conclusions
We performed a detailed analysis of the effects of an explicit three dimensional (3D) urban canopy representation on the generation of the UHI phenomenon and on the development of the heavy rainfall event occurring on 12 January 2015 above the MASP. Two experiments were performed, the first with the urban canopy (ARPS-tTEB run) and the second one with the default semi-desert canopy (control run).
As in other methods, the ARPS-tTEB system allows computing surface energy fluxes of sensible, latent and momentum generated by the urban landscape that modifies energy and water budgets and, consequently, the boundary layer of urban environment. The results indicate that the urban environment enhances the vertical extension, horizontal area and intensity of the UHI during day and night periods. The ARPS-tTEB run modified SEB terms in urban areas with lower in latent heat flux and significantly higher sensible and heat storage over urban surfaces. It is subsequently released to the lower atmosphere during night time, contributing to the strengthening of the UHI.
Higher roughness over urban canopies and the UHI phenomenon induce local circulation that in turn accelerates the SBC toward the MASP and increasing boundary layer convergence downwind it. Higher convergence above and downwind of MASP halts the SBC and injects high moisture content to vigorous updrafts and yielding higher precipitation above and downwind of MASP and also produce higher hail and rainfall downwind of the MASP result greater lightning activity. The ARPS-tTEB run produced more intense boundary layer circulation from the UHIC and the SBC. Spatial pattern of precipitation simulated by the ARPS-tTEB run was 8% more a more accurate than the control run compared against CMORPH, GPM and SPWR precipitation estimates. Comparison of ARPS-tTEB precipitation time series with SPWR precipitation estimates using a Bayesian analysis has up to three times more similarity on the average effect size parameter than one for the control run.
One of the limitations of the present work is the aerosol effect which has been shown as an important factor that affect precipitation processes above the MASP [66]. The drop concentration generated by urban rich cloud condensation nuclei(CCN) augmentation by air pollution is in general greater then the ones observed in the Amazon Forest during the Large Scale Biosphere-Atmosphere Experiment in the Amazon (LBA) [67]. Moreover, measurements of CCN performed from 16 to 31 October 2012 in the MASP show an increase in aerosol hygroscopicity in the afternoon as a result of aerosol photochemical processing, leading an increase in aerosol average diameter and an enhancement of both organic and inorganic secondary aerosols in the atmosphere [68]. However, for the city of St. Louis, Missouri, has been shown that urban-forced convergence downwind of the city, rather than the presence of greater aerosol concentrations, determines whether storms actually develop in the downwind region. The results show that the effects of aerosols influence the rate and amount of liquid water and ice produced within these storms and the accumulated surface precipitation among other storm features [69]. Another limiting factor is the use of constant parameters such as albedo, emissivity, geometric features of the urban environment and anthropogenic fluxes. Further work is under way to include more detailed urban features.