Microclimatic variability in tropical forests plays a key role in shaping species distributions and their ability to cope with environmental change, especially for ectotherms. Nonetheless, currently available climatic datasets lack data from the forest interior and, furthermore, our knowledge of thermal tolerance among tropical ectotherms is limited. We therefore studied natural variation in the microclimate experienced by tropical butterflies in the genus Heliconius across their Andean range in a single year. We found that the forest strongly buffers temperature and humidity in the understorey, especially in the lowlands, where temperatures are more extreme. There were systematic differences between our yearly records and macroclimate databases (WorldClim2), with lower interpolated minimum temperatures and maximum temperatures higher than expected. We then assessed thermal tolerance of 10 Heliconius butterfly species in the wild and found that populations at high elevations had significantly lower heat tolerance than those at lower elevations. However, when we reared populations of the widespread H. erato from high and low elevations in a common-garden environment, the difference in heat tolerance across elevations was reduced, indicating plasticity in this trait. Microclimate buffering is not currently captured in publicly available datasets, but could be crucial for enabling upland shifting of species sensitive to heat such as highland Heliconius. Plasticity in thermal tolerance may alleviate the effects of global warming on some widespread ectotherm species, but more research is needed to understand the long-term consequences of plasticity on populations and species.

Land use and climate change are forcing organisms in the Anthropocene to move, adapt or die (Dirzo et al., 2014). But moving in an increasingly fragmented landscape or adapting to an ever-changing climate might be difficult for organisms usually exposed to a narrow range of environmental conditions. Organisms restricted to stable climates or with limited dispersal abilities have been predicted to be at particular risk of extinction (Bestion et al., 2015; Kingsolver et al., 2013). Despite tropical ectotherms making up half of the animal species described, our knowledge of their potential to cope with high temperatures in natural settings is limited, especially along elevational clines (García-Robledo et al., 2016; Sheldon, 2019). We therefore need a better understanding of the ability of ectotherms to cope with temperatures across elevations and of the climate buffering potential of tropical forests (García-Robledo et al., 2016; Sheldon, 2019).

Since the 1960s, the notion that ‘mountain passes are higher in the tropics’ (Janzen, 1967) has inspired generations of ecological and evolutionary research. Janzen's ‘seasonality hypothesis’ predicts that the reduced seasonality in the tropics selects for narrower thermal tolerances than in temperate zones, which would in turn limit their dispersal across elevations (Angilletta, 2009; Nadeau et al., 2017; Sheldon et al., 2018). Subsequent empirical studies have shown that thermal breadth of insects is indeed higher in temperate zones, where seasonality is stronger than in the tropics (Deutsch et al., 2008; Shah et al., 2018). Furthermore, the great level of specialisation of tropical montane species, reflected by high levels of endemism and beta diversity at high altitudes, may highlight further temperature specificity, and therefore susceptibility to the effects of global warming (Polato et al., 2018; Sheldon, 2019). However, in the face of climate and land-use change in lowland habitats, mountains can act as refugia. Some vulnerable lowland organisms are already shifting their ranges upward (Lawler et al., 2013; Morueta-Holme et al., 2015; Scriven et al., 2015), thus it is critical to ascertain the potential of ectotherms to overcome the physiological barriers that mountains pose.

Janzen's hypothesis has often been tested at the macroecological scale and with interpolated data from weather stations, assuming that tropical ectotherms live at ambient air temperature (Pincebourde and Suppo, 2016). However, this ignores the microclimate differences most relevant to organisms inhabiting tropical forests (Potter et al., 2013). Tropical forests are very heterogeneous habitats with a particularly steep vertical climatic gradient, such that the understorey is often more than 2°C cooler than the canopy and spans an 11% difference in relative humidity (Scheffers et al., 2013). This complexity is not fully captured by interpolated datasets often used in ecological modelling (e.g. WorldClim2; Fick and Hijmans, 2017), with mean temperatures in some cases overestimated by 1.5°C (Blonder et al., 2018; Kearney and Porter, 2009; Storlie et al., 2014). Thus, the biological relevance of studies in the tropics using weather station data is limited, as they are positioned specifically to minimise habitat characteristics that can be crucial in determining the thermal tolerance of local organisms (De Frenne and Verheyen, 2016; Jucker et al., 2018; Senior et al., 2017). These biases could become even more pronounced at higher elevations, where weather stations are very sparse in the tropics (Fick and Hijmans, 2017; Paz and Guarnizo, 2019).

Extreme climatic events and increased daily climatic ranges may be more important determinants of the biological responses to climate change than temperature mean alone (Sheldon and Dillon, 2016). However, microclimates can buffer ambient temperatures and might act as refugia against such extremes (Jucker et al., 2020). This buffering could facilitate elevational shifts upwards, which could, in turn, lead to species becoming more arboreal in the cooler canopies of mountainous forests (Scheffers et al., 2014). However, highly mobile ectotherms such as flying insects often need to reach food sources hundreds of metres apart and across different forest layers, such that behavioural buffering might not be possible. Furthermore, ectotherms can have vastly different ecologies through different life stages, both in the microclimates of the forest they inhabit and in their ability to cope with thermal extremes (Klockmann et al., 2017; MacLean et al., 2016; Pincebourde and Casas, 2015; Steigenga and Fischer, 2009). Therefore, the fate of ectotherms in tropical forests will depend largely on their own thermal tolerances, as well as on the availability of local climate refugia that buffer against extreme temperatures (Nowakowski et al., 2018; Pincebourde and Casas, 2015; Scheffers et al., 2014).

Plasticity and evolutionary potential in thermal tolerance could help ectotherms cope with human-induced climate and habitat change (Hoffmann and Sgrò, 2011). Tropical species are predicted to have evolved reduced thermal plasticity compared to temperate species, due to low or absent seasonality (Sheldon et al., 2018; Tewksbury et al., 2008). A recent review found that ectotherms, in general, have low thermal tolerance plasticity, with most species having less than a 0.5°C acclimation ability in upper thermal limits (Sheldon, 2019). Detecting evolutionary change in the wild is challenging, especially in the tropics, where long-term monitoring schemes are extremely rare (Merilä and Hendry, 2014). However, in two tropical Drosophila species, moderate levels of desiccation stress have led to adaptive evolutionary responses in laboratory conditions (van Heerwaarden and Sgrò, 2014), whereas with higher and unrealistic levels of desiccation stress, flies were not able to track the changes (Hoffmann et al., 2005; Sheldon, 2019). Thus, a better knowledge of the plasticity and evolutionary potential of thermal tolerance in tropical insect species will be key to predicting their ability to cope with the warming climate, and tests with realistic levels of environmental change are required.

Accurately predicting the responses of tropical ectotherms to climate and land-use change therefore requires that we understand two complementary aspects of the system: the thermal and humidity buffering potential of tropical forests across altitudinal gradients and the thermal tolerance of the organisms inhabiting them. In this study, we: (i) measured microclimates for a full year (temperature and humidity) across the elevational range of Heliconius butterflies and assessed the accuracy of publicly available climatic predictions for the same locations, (ii) tested the heat tolerance of 10 butterfly species in the wild and (iii) reared offspring from high and low altitude populations of H. erato in common-garden conditions to test whether differences observed between wild populations were genetic or plastic.

Study system and wild butterfly collection

We collected high (mean=1398 m above sea level, m.a.s.l.) and low (mean=495 m.a.s.l.) altitude populations of Heliconius butterflies with hand nets along the western and eastern slopes of the Ecuadorian Andes, at a similar latitude (Fig. S1). Every Heliconius species encountered at each site was collected, but only those species with more than five individuals at each elevation (high and/or low) were included in the analyses (15 out of 329 wild individuals removed). Detached wings were photographed dorsally and ventrally with a DSLR camera with a 100 mm macro lens in standardised conditions, and wing area was measured with an automated pipeline in the public software Fiji (following Montejo-Kovacevich et al., 2019). Butterflies with Heliconius melpomene malleti phenotypes were genotyped with a restriction digest of amplified COI genes (following Nadeau et al., 2014), to identify cryptic H. timareta spp. nov. individuals. All the images are available in the public repository Zenodo (https://zenodo.org/communities/butterfly/) and full records with data are stored in the EarthCape database (https://heliconius.ecdb.io).

Research and collecting permits were granted by the Ministerio del Ambiente, Ecuador, under the Contrato Marco MAE-DNB-CM-2017-0058.

Microclimates across altitudes

Microclimates across elevations on both sides of the Ecuadorian Andes were characterised by recording temperature and relative humidity every hour in the understorey and mid-layers of the forest for a full year (Fig. S1), between February 2017 and February 2018. We used 40 HOBO temperature loggers (model: HOBO UA-001-08 8K; accuracy: 0.5°C, resolution: 0.1°C, 10 per area) and 16 high-accuracy humidity and temperature HOBO data loggers (model: HOBO U23-001; temperature accuracy: 0.21°C; temperature resolution: 0.02°C; relative humidity accuracy: 2.5%; relative humidity resolution: 0.05%, four loggers per area). We chose 28 forest sites that had not recently been disturbed by humans, usually inside or near nature reserves (localities in Table S1), always over 500 m away from any paved road and at least 5 m away from narrow walking trails (Movie 1). Seven of these were at high altitude (mean=1214 m.a.s.l.) and seven at low altitude (mean=444.6 m.a.s.l.) on the eastern and western slopes of the Andes (Fig. S1). Sites were at least 250 m apart from each other and in the same areas where Heliconius populations were sampled for this study. We placed one logger in the understorey (mean height=1.16 m) and one in the subcanopy (mean height=10.7 m) at each site; height was measured with a laser meter. Subcanopy loggers were as close as possible to directly above the understorey loggers, and both were hung from tree branches with fishing line and suspended mid-air (Movie 1). To prevent exposure to direct solar radiation, temperature data loggers were secured inside a white plastic bowl and humidity data loggers between two flat white plastic plates, allowing for horizontal air flow.

Heat tolerance

Heat stress resistance of wild-caught individuals was measured with a heat knockdown assay (Huey et al., 1992; Sørensen et al., 2001). Butterflies were tested less than 12 h after they were collected in the field, in the evening of the day they were collected and at approximately the same altitude. Individuals were stored in envelopes with damp cotton and fed a small amount of sugary water to standardise hydration levels before being tested. Butterflies were placed in individual glass chambers, fitted with an instant read digital thermometer (accuracy: 1.0°C, resolution: 0.1°C). Glass chambers contained 150 g of metal beads to add weight, covered with a Styrofoam platform for butterflies to stand on. Five chambers were introduced at a time into a plastic hot water bath at 51°C, and we recorded the time until the interior of the chamber, where the butterflies are placed, reached 39.0°C (‘heating up time’ hereafter). For the duration of the assay, the temperature inside the chambers was kept between 39.0°C and 41.0°C, by increasing or decreasing the hot water bath temperature as required. Tests in which the chamber temperature went below this range during the duration of the assay were removed from further analyses. We recorded the time and exact temperature at heat knockdown, defined by the loss of locomotor performance of the individual butterfly (Huey et al., 1992), i.e. when the butterfly's legs collapsed or it fell on its side. Temperature at knockout was accounted for in the models, as in 89 out of 496 assays the chamber temperature went above 41°C (Fig. S5), but assays in which temperature went above 41.9°C were removed from all analyses (n=2). Butterflies were monitored for a maximum of 60 min, and this maximum value was used for those that had not been knocked out within the time frame (n=1).

Common-garden rearing

Fertilised females of H. erato were caught in the wild with hand nets in high-altitude (mean=1348 m.a.s.l.) and low-altitude (mean=543 m.a.s.l.) localities, in the vicinity of the data loggers used for microclimate analyses. Females from both altitudes were kept in separate cages of purpose-built insectaries at the Universidad Regional Amazónica Ikiam (Tena, Ecuador, 600 m.a.s.l.). Eggs were collected three times per day and individuals were reared in separate containers throughout development but stored in the same area of the insectary and randomly assorted. All offspring were individually fed the same host plant, Passiflora punctata. Development rates and pupal and adult mass were recorded for all offspring. Common-garden reared offspring were blindly tested for heat knockdown resistance in the evening 1 day after emergence following the same protocol as for wild-caught individuals. Offspring from high- and low-altitude mothers had individual IDs with no indication of their origin, thus we were able to blindly test five individuals at a time and avoid potential observer bias. Adult offspring wings were photographed and their wing areas measured with an automated pipeline in the open-access software Fiji (following Montejo-Kovacevich et al., 2019).

Statistical analyses

All analyses were run in R V2.13 (https://www.r-project.org/) and graphics were generated with the package ggplot2 (Ginestet, 2011). Packages are specified below and all R scripts can be found in the public repository Zenodo (https://doi.org/10.5281/zenodo.3634105).

Microclimates across altitudes

Our data showed low seasonality [standard deviation of monthly averages (Bio4)=0.63], as expected for latitudes near the Equator; therefore, it was not subdivided into months. To determine the range of temperatures and humidities that butterfly populations are exposed to at different altitudes and sides of the Andes, we first estimated daily maximum, mean and minimum temperature and humidity per data logger across the year. We used linear mixed-effect models (LMMs) to determine temperature differences across forest strata (understorey and subcanopy), implemented with the lmer() function from the lme4 package (Bates et al., 2015). We included forest strata, altitude and date as fixed effects, and as random effects we placed data logger ID nested within site and area (altitude+side of the Andes). Dates were standardised to a mean of zero and unit variance to improve model convergence (Zuur et al., 2009). Significant differences between forest strata and altitudes were assessed via post hoc comparisons with Tukey tests. Mean diurnal range was estimated per day per data logger (as the daily minimum subtracted from the daily maximum) and then averaged across the year. To obtain the rate of increase in understorey temperature for every 1°C increase in subcanopy temperature, we fitted linear models with the hourly data to obtain the relationship between understorey temperature and subcanopy temperature (following González del Pliego et al., 2016).

To understand the atmospheric water imbalance of each microclimate and elevation, we calculated vapour pressure deficit (VPD, in hectoPascals, hPa) based on the hourly high-resolution relative humidity and temperature measurements taken across the year. VPD is the difference between how much moisture the air can hold before saturating and the amount of moisture actually present in the air, i.e. a measure of the drying power of the air. VPD relies on both temperature and relative humidity, making it more biologically relevant than relative humidity alone (Bujan et al., 2016). Relative humidity, which is directly measured by our humidity data loggers, depends partially on air pressure, thus we do not need to further account for it. VPD is linked to water transport and transpiration in plants, and is negatively correlated with survival and growth in trees and with desiccation resistance in ectotherms (Bujan et al., 2016). It is calculated as the difference between saturation water vapour pressure (es) and water vapour pressure (e) (Jucker et al., 2018). Given that relative humidity (RH), which is directly measured by our data loggers, can be expressed as RH=(e/es), VPD was calculated as:
formula
(1)
and es was derived from temperature (in °C ) using Bolton's equation (Bolton, 1980; Jucker et al., 2018):
formula
(2)
VPD was estimated for every coupled hourly temperature and relative humidity record, i.e. from the same data logger at the same time/date, and we then calculated annual mean VPD (VPDmean) and mean daily maximum VPD (VPDmax) per logger.

Comparing measured microclimate with coarse-resolution climatic data

To assess the differences between field-obtained microclimate data and publicly available ambient climate data, we compared our microclimate data with coarser-resolution data from the WorldClim2 database, which is widely used in ecological modelling (Fick and Hijmans, 2017). WorldClim2 climate grid data are generated by interpolating observations from weather stations across the globe since the 1970s, which are typically located in open environments (Jucker et al., 2018). We extracted climatic data for the mean coordinates from the seven sites of our four study areas (east/west, highlands/lowlands; Fig. S1) with the maximum resolution available (1 km2, 30 s), using the package ‘raster’ (https://CRAN.R-project.org/package=raster). Following a recent study (Jucker et al., 2018), we focused on comparing WorldClim2 interpolated monthly means of daily temperatures, annual mean temperatures (Bio1) and annual mean diurnal range (Bio2) with the equivalent bioclimatic predictors calculated with our microclimate data. Thus, we extracted the following WorldClim2 bioclimatic variables for all the areas under study: Tmax, the monthly mean of daily maximum temperatures (°C); Tmin, the monthly mean of daily minimum temperatures (°C); Tavg,i, the average temperature (°C) for a given month (i):
formula
(3)
Bio1, the yearly average of monthly average temperatures:
formula
(4)
and Bio2, the yearly average of the monthly temperature ranges:
formula
(5)

Bio1 is more commonly known as the annual mean temperature and Bio2 as the annual mean diurnal temperature range. The latter is mathematically equivalent to calculating the temperature range for each day in a month and averaging across that month. Because our microclimate data showed low yearly seasonality (temperature s.d.=0.63) and to avoid biases in months where not all records were available (e.g. when changing logger batteries halfway through the year), we averaged across the whole year.

We estimated seasonality following the equation from WorldClim2/Anuclim (Fick and Hijmans, 2017), based on the standard deviation of monthly temperature averages:
formula
(6)

Thermal tolerance across species in the wild and across H. erato common-garden reared families

To test variation in thermal tolerance across species in the wild and across families in common-garden reared conditions, we first used an ANOVA approach, with species or brood as a factor explaining the variation in heat knockdown time. We then estimated within-species and within-brood trait repeatability, or intra-class correlation coefficient, with a linear mixed effect model (LMM) approach. This requires the grouping factor to be specified as a random effect, in this case species (for wild individuals) or brood (for common garden-reared offspring), with a Gaussian distribution and 1000 parametric bootstraps to quantify uncertainty, implemented with the function rptGaussian() in the rptR package (Stoffel et al., 2017). By specifying species/brood ID as a random effect, the latter approach estimates the proportion of total thermal tolerance variance accounted for by differences between species or families.

To determine the effects of altitude on thermal tolerance in wild butterflies and common-garden reared offspring, we fitted two separate LMMs, implemented with the lmer() function from the lme4 package (Bates et al., 2015). Both models initially included heat knockdown time as the response variable, and altitude at which the wild individual or mother of the brood was collected, sex, wing size (plus all two-way interactions between them), minutes that the chamber took to reach 39°C, and temperature at knockout as fixed effects. Additionally, the common-garden reared offspring model included development time (days from larva hatching to pupation) and brood egg number (to control for time the brood mother spent in the insectary) as fixed effects. The random effects for the wild individual model and for the common-garden reared offspring model were species identity and brood mother identity, respectively. All fixed effects were standardised to a mean of zero and unit variance to improve model convergence (Zuur et al., 2009).

We implemented automatic model selection with the step() function of the lmerTest package (Kuznetsova et al., 2017), which performs backwards selection with likelihood ratio tests and a significance level of α=0.05, first on the random effects and then on the fixed effects to determine the simplest best-fitting model. Model residuals were checked for homoscedasticity and normality. To obtain P-values for the fixed effects, we used the anova() function from the lmerTest package, which uses Satterthwaite approximation (Kuznetsova et al., 2017). We estimated with the coefficient of determination (R2) the proportion of variance explained by the fixed factors alone (marginal R2, RLMM,m2) and by both the fixed effects and the random factors (conditional R2, RLMM,c2), implemented with the MuMIn library (https://CRAN.R-project.org/package=MuMIn; Nakagawa et al., 2017).

Microclimate variability across altitudes

Overall, the patterns of differentiation between forest layers and altitudes are very similar across sides of the Andes in our study (Fig. 1A versus B), and there was low seasonality across months (Fig. 1). Our measured temperature seasonality per logger, averaged across areas, was 0.61 and 0.81 for the western highlands and lowlands, respectively, and 0.49 and 0.60 for the eastern highlands and lowlands, respectively. The lowland sites were, on average, 4.1°C warmer than the highland sites, which were over 750 m apart in elevation (Tables S1). Annual mean temperatures interpolated from WorldClim2 were always closer to subcanopy strata annual means (Fig. S2A). In contrast, the understorey annual mean temperatures were on average 0.5°C lower than WorldClim2 annual mean temperatures (dotted lines in Fig. 1Ai,ii,Bi,ii, Table S1). The minimum temperatures were consistently higher in our microclimate data compared with the interpolated monthly minima estimated in WorldClim2, especially for the highlands (lower dotted line in Fig. 1Aii,Bii).

Forest canopies thermally buffered the understorey, but more so during the day and in the lowlands. During the day, the understorey thermally buffered the canopy temperature maxima by 1.19–1.62°C in the highlands, and by 1.98–2.11°C in the lowlands (Table 1). At night, understories buffered the temperature minima of the canopies by 0.07–0.12°C in the highlands and by 0.25–0.23°C in the lowlands (Table 1). Thus, the forest buffered high and low temperatures in the understorey throughout the day and night, respectively (Fig. 2A). Temperature differences between day and night are greater in the lowlands, where days are warmer (Fig. 2A), but less so in the understorey of all areas. On average, the difference between subcanopy and understorey diurnal thermal range in the highlands was 1.34°C, whereas in the lowlands this difference was 2.09°C (Fig. 2B). However, WorldClim2 interpolations for diurnal thermal ranges were 3.5°C higher than our records in the highlands, resulting in the highlands being predicted to have higher thermal ranges than the lowlands (stars, Fig. 2B). This was the opposite elevational trend to that observed in our data, where thermal ranges were lower in the highlands.

The temperature buffering of the lowlands was higher than the highlands, so that for every 1°C increase in subcanopy temperature the understorey increased by 0.68°C in the lowlands, in contrast to 0.73°C in the highlands. The lowland canopies exceeded 39°C on 31 days throughout the year, whereas the highlands never did (Fig. 1). The monthly maximum temperature interpolated by WorldClim2 was close to our measured subcanopy temperature maxima in the lowlands, but 2.01°C higher, on average, in the highlands (Fig. 2C). WorldClim2 monthly minima were also overestimated at both elevations, predicting it to be 2.6°C cooler at night in the highlands and 2.3°C cooler in the lowlands than our measured understorey microclimates (Fig. S2B).

Vapour pressure deficit

In the highlands, the understorey daily relative humidity minimum was on average 3.7 percentage points higher than in the subcanopy, whereas in the lowlands the difference was 11.8 percentage points (Fig. S3). The drying power of the air (VPD) varied drastically between layers of the forest, but more so in the lowlands (Fig. 3). In the highlands, maximum daily VPD from the same site averaged 1.1 hPa higher in the subcanopy compared with the understorey, whereas in the lowlands the difference was 4.8 hPa. The threshold for tree transpiration is thought to be at 12 hPa in the tropical montane areas, above which transpiration, and thus growth, is impeded by the drying power of the air (Motzer et al., 2005). This threshold was exceeded 883 times in the lowland subcanopy across our data loggers, 102 times in the lowland understorey, 12 times in the highland subcanopy and never in the highland understorey (Fig. S3).

Heat tolerance in the wild

Heat tolerance varied across species (ANOVA: F9,268=8.75, P<0.0001; Fig. 4A), with 44% of this variation explained by species identity (repeatability=0.44, s.e.=0.13, P<0.0001). In the highlands, 33% of the individuals tested were knocked out before the chambers reached a temperature of 39°C, in contrast to 7% of the individuals tested in the lowlands (nhigh=60/183, nlow=6/95; Fig. 4B). Mean (±s.e.m.) heat tolerance across species was on average 5.4±0.57 min for highland individuals and 15.9±1.43 min for lowland individuals (red dashed line in Fig. 4A). Altitude and time until the chamber reached 39°C were significant predictors of knockout time in wild individuals (Table S1), with the fixed effects alone explaining 29% of the variation in thermal tolerance (RLMM,m2=0.29) and 39% when considered together with species identity as a random effect (RLMM,c2=0.39). The high-altitude populations of the two most evenly sampled species across altitudes, H. erato and H. timareta, were less thermally tolerant than their lowland conspecifics (t-test, H. erato: t77=−5.3, P<0.0001, H. timareta: t14=−2.3, P<0.05; Fig. S6). In this part of the eastern Andes of Ecuador, the lowland H. melpomene have been largely replaced by a cryptic subspecies of H. timareta (Nadeau et al., 2014), which explains the low numbers of lowland individuals of H. melpomene, a species with a very wide range across the Neotropics.

Heat tolerance in common-garden reared offspring

Common-garden reared offspring of H. erato lativitta varied in heat tolerance across families (ANOVA, F14,262=5.15, P<0.0001), and 25% of this variation was explained by brood identity (repeatability=0.25, s.e.=0.10, P<0.0001). In the wild, low-altitude H. erato lativitta were, on average, able to withstand high temperatures for 10 min longer compared with high-altitude populations (t-test: t77=−5.3, P<0.0001; Fig. 4, left). In contrast, when reared in common-garden conditions, individuals from lowland broods were able to withstand heat for only 1.4 min longer than offspring from highland broods (Fig. 5, right). As a consequence, parental altitude only had a marginally significant effect on offspring thermal tolerance (knockdown time), whereas experimental variables, such as time until the chamber reached 39°C and the temperature at knockout, were significant predictors of knockout time in the offspring (Table 2, ‘common-garden reared model’). Fixed effects alone explained 39% of the variation in thermal tolerance (RLMM,m2=0.39) and 48% when together with brood identity as the random effect (RLMM,c2=0.48), indicating trait heritability (Table 2). The variance in thermal tolerance in wild populations was higher than in common-garden reared offspring (Fig. 5), probably owing to higher variation of developmental temperatures, fitness and age in the wild. The number of eggs a mother had previously laid had a positive and significant effect on adult thermal tolerance, and interacted with parental altitude, likely owing to high-altitude mothers living longer in the insectary.

We found that tropical forests have great climatic buffering potential, especially at lower elevations, and that this was similar across two independent elevational clines on both sides of the Ecuadorian Andes (Figs 1 and 2). Interpolated climatic variables for these same areas did not capture our observed microclimates, especially at high elevations (∼1100 m.a.s.l.), where weather stations are very sparse (Fick and Hijmans, 2017). Furthermore, we found evidence for differences in thermal tolerance in the wild across 10 butterfly species, regardless of whether they had altitudinally narrow or widespread distributions (Fig. 4). However, these differences were greatly reduced when a widespread species was reared in common-garden conditions, indicating likely non-genetic, environmental effects on temperature tolerance.

Microclimate buffering across elevations

Many macroecological predictions of species distributions have emerged from the notion that tropical latitudes lack strong seasonality (Janzen, 1967; Sheldon et al., 2018; Shelomi, 2012). However, while generally true, these predictions ignore the climate complexity of tropical forests. Our results show that lowland and montane tropical forests buffer ambient temperature and humidity. The understory daily maximum temperature was, on average, 1.4°C and 2.1°C cooler than the subcanopy, at high and low elevations, respectively (Table 1). The temperature offset between forest canopy and understory becomes larger at more extreme temperatures (De Frenne et al., 2019). Thus, lowland forests buffered temperatures to a greater extent than highland forests, which is of particular importance for ectotherms in lowland environments, which are routinely exposed to extreme temperatures (Deutsch et al., 2008). It is important to note that in the present study, the highland areas were located at mid-elevations and our lowlands were in the foothills of the Andes, which have been less studied because the differences are often assumed to be marginal. Similarly, our subcanopy data loggers were positioned 10 m from the forest floor, thus we would expect the temperature and humidity offsets to be even stronger when compared with above-canopy or open-habitat temperatures.

Janzen's (1967) hypothesis predicted that the reduced climatic variability in the tropics would result in ectotherms having narrower thermal tolerances, and, in turn, reduce dispersal across elevations (Sheldon et al., 2018). In the present study, the mean temperature difference between the subcanopy and the understorey, only 10 m apart, was 0.25°C in the highlands and 0.44°C in the lowlands (Table 1). This is more than the temperature change across these elevational clines, where for every 10 m in elevation there was a 0.05°C decrease in temperature. Yet, in the wild, we found that low-elevation populations were much more tolerant to heat than highland populations. Although in this study we did not measure cold tolerance, we found that the difference in minimum temperatures across elevations and forest strata is much smaller than that of maximum temperatures (Fig. 1Av,Bv). Thus, we can hypothesise that, given a linear change in cold tolerance, the disproportionately greater heat tolerance of lowland Heliconius would result in them having broader thermal breadths than high-elevation populations. The microclimatic variability that tropical ectotherms are exposed to within their habitats might offset the lack of seasonality across the year, making some species more able to cope with warming than others. Thus, protecting tropical forests' climatic buffering potential across elevations is essential to enable potential upland shifting in the face of climate and land-use change.

We found a clear disparity between field-collected microclimate and interpolated macroclimate temperature (Fig. 2). For instance, WorldClim2 estimated the maximum daily temperatures to be 2.01°C higher in the highlands, and overestimated annual mean temperature in the understorey by 0.5°C. Strikingly, these values are similar in magnitude to the projected warming for the next century in Andean mid-elevations (Beaumont et al., 2011; Urrutia and Vuille, 2009). In large part, these disparities can be attributed to the fact that coarse-gridded temperature surfaces, such as WorldClim2, are interpolated from weather stations that are located in open habitats (De Frenne et al., 2019; De Frenne and Verheyen, 2016). Several recent studies have reported similarly striking differences (Jucker et al., 2018; Lembrechts et al., 2019; Potter et al., 2013; Storlie et al., 2014). Near-surface temperatures can only be accurately measured with in situ loggers or with emerging remote sensing technologies, such as airborne laser scanning (Jucker et al., 2018). Furthermore, WorldClim2 interpolations at high altitudes tend to be less accurate, especially in the tropics, where weather station data are very sparse (Fick and Hijmans, 2017). This raises the question of how useful coarse macroclimatic grids are for assessing thermal tolerances of organisms that are affected by fine-scale microclimates (De Frenne et al., 2019; Lenoir et al., 2017; Navas et al., 2017; Nowakowski et al., 2018). In addition, very few studies in the tropics have accounted for humidity and VPD variability at the microclimate level (Bujan et al., 2016; Friedman et al., 2019; García-Robledo et al., 2016), as the loggers required to do so can be four to five times more costly than temperature loggers. Nevertheless, inclusion of VPD in species distribution models has been shown to significantly improve their accuracy (de la Vega and Schilman, 2017). The differences in VPD between subcanopy and understorey observed here were much more pronounced in the lowlands, highlighting the importance of protecting forest complexity in these areas, which are under constant threat of land-use change.

Heat tolerance in the wild

Our extremely limited knowledge of thermal tolerance and plastic potential of tropical ectotherms in the wild further hinders our ability to predict ectotherm responses to climate change. As expected, the ability of wild butterfly species to cope with extreme, but natural, levels of heat (∼40°C) was much lower for those inhabiting high altitudes. The heat tolerance differences between highland and lowland populations of widespread species were much lower than between highland and lowland specialist species (Fig. 4, Fig. S6). This suggests that although plasticity plays a role in widespread species, as shown in our common-garden rearing with H. erato, elevationally restricted species are likely to have fixed genetic characteristics that make them better suited to their thermal environment, and thus show more differences when compared across elevations. Behavioural shifts might alleviate the impact of climate extremes in tropical forests, but the capacity of a species to shift sufficiently will be constrained by life history, energy budgets and thermal tolerance (Sheldon and Tewksbury, 2014). In these butterflies, altitude has been shown to pose strong selective pressures, and some are constrained in their body size by contrasting reproductive strategies (gregarious versus solitary), which could, in turn, restrict adaptive plastic responses to environmental change (Montejo-Kovacevich et al., 2019). Nevertheless, the observed thermal buffering of forests would undoubtedly benefit and be exploited by these butterflies during extreme temperature events, such as the 31 days where temperatures in the lowlands went above 39°C.

Evidence for plasticity in heat tolerance

When reared under a common developmental temperature, the differences in adult thermal tolerance observed in the wild largely disappeared in the widespread species, H. erato lativitta, indicating plasticity in individual thermal tolerance (Fig. 4). In this study, we cannot distinguish developmental plasticity from acclimation. The former would imply that larval rearing temperature would irreversibly determine adult heat knockdown resistance, whereas the latter implies a reversible response to temperature (Llewelyn et al., 2018). Interestingly, we did find evidence of at least some genetic component to heat knockdown resistance, as 25% of its variation among common-reared offspring was explained by family identity. Thus, it is likely that a combination of genetic and environmental effects determine adult thermal tolerance in Heliconius butterflies. Heat knockdown resistance has been associated with the expression of a heat shock protein (Hsp70) and its plasticity has been shown to vary across altitudinally and latitudinally structured populations of Drosophila buzzati and European butterflies (Karl et al., 2009; Luo et al., 2014; Sørensen et al., 2001), suggesting a mechanism for both genetic and environmental control of heat knockdown resistance. Highly heritable thermal performance traits have been shown to allow rapid adaptation to changing climates in lizards (Logan et al., 2014), but developmentally plastic traits with varying and unknown levels of heritability have less predictable roles (Merilä and Hendry, 2014).

The fact that 45% of the individuals from three high-altitude Heliconius species were knocked out at temperatures between 35 and 39°C is remarkable (Fig. 3B), given that in the highlands, there were 50 days in a year where temperatures went above 30°C. These high-altitude species would have suffered high mortality if reared in our lowland insectaries, as temperatures often rise above 35°C. In contrast, only 27% of sympatric high-altitude individuals of widespread species were knocked out at temperatures between 35 and 39°C. Canopy-dwelling tropical ants are known to behaviourally circumvent high-temperature areas encountered while foraging, avoiding temperatures 5–10°C below their thermal tolerance limits (Logan et al., 2019; Spicer et al., 2017). Thus, these butterflies and other high-altitude species must adapt their flying times and/or behaviours during hot periods, which could have cascading effects on fitness. Heliconius follow the same flower foraging trap-lines every day, as they require large amounts of nectar and, uniquely for lepidopterans, pollen, to thrive throughout their long adult life-spans (Jiggins, 2016; Mallet, 1986). Hot patches of the forest close to their thermal limits could severely hinder their ability to follow a foraging path, disrupting a basic biological function. Thus, the climatic refugia that the understorey provides could be crucial to cope with the ongoing increase in extreme temperature events in high elevation habitats (Ruiz et al., 2012; Scheffers et al., 2014).

Relative humidity and VPD, which have received little attention in the literature, were also greatly buffered by forest canopies (Fig. 3). High VPD has direct impacts on seedling growth and survival (Jucker et al., 2018; Motzer et al., 2005), as well as on ectotherm activity levels through increased desiccation risk (Bujan et al., 2016; Friedman et al., 2019). In canopy tropical ants, desiccation resistance was negatively correlated with thermal tolerance, suggesting an energetic trade-off between the two traits, but both were generally higher than in understorey ants (Bujan et al., 2016). Thus, forest temperature and humidity buffering may benefit canopy-dwelling butterflies disproportionately. Furthermore, understorey specialist species are thought to be closer to their thermal limits owing to the stable climatic conditions they inhabit, and thus these may not have suitable refugia or the thermal capacity to cope with warming (Huey et al., 2009; Scheffers et al., 2017; Sheldon, 2019). Heliconius erato is considered an open-habitat dwelling species, whereas others not studied here, such as H. sapho and H. cydno prefer closed-canopy forest (Estrada and Jiggins, 2002). Future research could focus on testing desiccation risk across Heliconius species with different flying habits and at different elevations. Increased detrimental effects on growth and survival under climate change could also hold true for less mobile, understorey-dwelling life stages, such as butterfly larvae.

Conservation implications

Habitat degradation and land-use change in the Andean foothills are pressing concerns for tropical conservation. Ectotherms escaping unsuitable climates in the lowlands may struggle to shift their ranges upwards owing to habitat fragmentation (Chen et al., 2009; Scheffers et al., 2016). For example, most remnants of pristine forest in Borneo are in montane areas, as the flat lowlands have been converted to oil palm plantations. Current protected areas may fail to act as stepping stones as they are too isolated and distant from upland climate refugia (Scriven et al., 2015). A similar scenario occurs in western Ecuador, one of our study areas, where a large portion of the low and mid-elevations have been converted to agricultural lands in the past three decades (Wasserstrom and Southgate, 2013). Any habitat change that affects forest heterogeneity could reduce its large temperature buffering potential (Blonder et al., 2018; Jucker et al., 2020), and butterfly diversity as a whole (Montejo-Kovacevich et al., 2018). Nevertheless, microclimates have been shown to recover decades after low impact land uses (González del Pliego et al., 2016; Mollinari et al., 2019; Senior et al., 2018), allowing for recolonization of biodiversity (Hethcoat et al., 2019). This highlights the need to protect degraded secondary forest, as these are now more abundant than primary forests in most of the tropics (Edwards et al., 2011; Senior et al., 2017).

Conclusions

Tropical ectotherms find themselves in highly heterogeneous, threatened habitats, which have greater climate buffering potential than previously thought (De Frenne et al., 2019; De Frenne and Verheyen, 2016). However, the low seasonality of tropical environments together with the steep environmental gradients of montane habitats, as Janzen's hypothesis predicts, makes tropical ectotherms particularly vulnerable to climate and habitat change (Deutsch et al., 2008; Huey et al., 2009; Janzen, 1967; Polato et al., 2018). The clear mismatch between the microclimates we measured and the widely used interpolated global datasets highlights the importance of field-based climate measurements. Furthermore, the striking difference in heat tolerance and evidence for plasticity across a moderate elevational cline demonstrates the importance of temperature for the persistence of tropical ectotherms. Our results suggest that the inclusion of microclimate buffering within models and experimental testing of thermal tolerances is crucial for incorporating realistic temperatures experienced by small organisms (Paz and Guarnizo, 2019). More research into the evolvability and plasticity of heat tolerance is needed to accurately assess the vulnerability of tropical ectotherms in the face of anthropogenic change.

We would like to thank all field assistants that have contributed to this study, particularly to Ismael Aldas, Jennifer Smith, and Melanie Brien. We are extremely grateful to the Mashpi Reserve, Narupa Reserve (Jocotoco Foundation), Jatun Satcha Reserve, and Universidad Regional Amaóznica Ikiam for their support.

Author contributions

Conceptualization: G.M.-K., S.H.M., C.D.J., N.J.N.; Methodology: G.M.-K., S.H.M., C.N.B., M.M., C.D.J., N.J.N.; Validation: N.J.N.; Formal analysis: G.M.-K., J.I.M.; Investigation: G.M.-K., S.H.M., M.M., C.D.J.; Resources: G.M.-K., C.N.B.; Data curation: G.M.-K., M.M.; Writing - original draft: G.M.-K.; Writing - review & editing: G.M.-K., S.H.M., J.I.M., C.N.B., M.M., C.D.J., N.J.N.; Visualization: G.M.-K., J.I.M.; Supervision: S.H.M., J.I.M., C.D.J., N.J.N.; Project administration: G.M.-K., C.N.B., C.D.J., N.J.N.; Funding acquisition: G.M.-K., C.D.J., N.J.N.

Funding

G.M.-K. was supported by a Natural Environment Research Council Doctoral Training Partnership (NE/L002507/1). Funding was provided to C.N.B. by the Spanish Agency for International Development Cooperation (AECID, grant number 2018SPE0000400194). N.J.N. and C.D.J. were supported by the Natural Environment Research Council (grant number: NE/R010331/1). Open access funding provided by University of Cambridge. Deposited in PMC for immediate release.

Data availability

All data and scripts are available in the public repository Zenodo (https://doi.org/10.5281/zenodo.3634105). All images are available in the public repository Zenodo (https://zenodo.org/communities/butterfly/).

Angilletta
,
M. J.
(
2009
).
Thermal Adaptation: A Theoretical and Empirical Synthesis
.
Oxford: Oxford University Press
.
Bates
,
D.
,
Mächler
,
M.
,
Bolker
,
B.
and
Walker
,
S.
(
2015
).
Fitting linear mixed-effects models using lme4
.
J. Stat. Softw.
67
,
1
-
48
.
Beaumont
,
L. J.
,
Pitman
,
A.
,
Perkins
,
S.
,
Zimmermann
,
N. E.
,
Yoccoz
,
N. G.
and
Thuiller
,
W.
(
2011
).
Impacts of climate change on the world's most exceptional ecoregions
.
Proc. Natl. Acad. Sci. USA
108
,
2306
-
2311
.
Bestion
,
E.
,
Clobert
,
J.
and
Cote
,
J.
(
2015
).
Dispersal response to climate change: scaling down to intraspecific variation
.
Ecol. Lett.
18
,
1226
-
1233
.
Blonder
,
B.
,
Both
,
S.
,
Coomes
,
D. A.
,
Elias
,
D.
,
Jucker
,
T.
,
Kvasnica
,
J.
,
Majalap
,
N.
,
Malhi
,
Y. S.
,
Milodowski
,
D.
,
Riutta
,
T.
, et al. 
(
2018
).
Extreme and highly heterogeneous microclimates in selectively logged tropical forests
.
Front. For. Glob. Change
1
.
Bolton
,
D.
(
1980
).
The computation of equivalent potential temperature
.
Mon. Wea. Rev.
108
,
1046
-
1053
.
Bujan
,
J.
,
Yanoviak
,
S. P.
and
Kaspari
,
M.
(
2016
).
Desiccation resistance in tropical insects: causes and mechanisms underlying variability in a Panama ant community
.
Ecol. Evol.
6
,
6282
-
6291
.
Chen
,
I.-C.
,
Shiu
,
H.-J.
,
Benedick
,
S.
,
Holloway
,
J. D.
,
Chey
,
V. K.
,
Barlow
,
H. S.
,
Hill
,
J. K.
and
Thomas
,
C. D.
(
2009
).
Elevation increases in moth assemblages over 42 years on a tropical mountain
.
Proc. Natl. Acad. Sci. USA
106
,
1479
-
1483
.
De Frenne
,
P.
and
Verheyen
,
K.
(
2016
).
Weather stations lack forest data
.
Science
351
,
234-234
.
De Frenne
,
P.
,
Zellweger
,
F.
,
Rodríguez-Sánchez
,
F.
,
Scheffers
,
B. R.
,
Hylander
,
K.
,
Luoto
,
M.
,
Vellend
,
M.
,
Verheyen
,
K.
and
Lenoir
,
J.
(
2019
).
Global buffering of temperatures under forest canopies
.
Nat. Ecol. Evol.
3
,
744
-
749
.
de la Vega
,
G. J.
and
Schilman
,
P. E.
(
2017
).
Using eco-physiological traits to understand the realized niche: the role of desiccation tolerance in Chagas disease vectors
.
Oecologia
185
,
607
-
618
.
Deutsch
,
C. A.
,
Tewksbury
,
J. J.
,
Huey
,
R. B.
,
Sheldon
,
K. S.
,
Ghalambor
,
C. K.
,
Haak
,
D. C.
and
Martin
,
P. R.
(
2008
).
Impacts of climate warming on terrestrial ectotherms across latitude
.
Proc. Natl. Acad. Sci. USA
105
,
6668
-
6672
.
Dirzo
,
R.
,
Young
,
H. S.
,
Galetti
,
M.
,
Ceballos
,
G.
,
Isaac
,
N. J. B.
and
Collen
,
B.
(
2014
).
Defaunation in the Anthropocene
.
Science
345
,
401
-
406
.
Edwards
,
D. P.
,
Larsen
,
T. H.
,
Docherty
,
T. D. S.
,
Ansell
,
F. A.
,
Hsu
,
W. W.
,
Derhé
,
M. A.
,
Hamer
,
K. C.
and
Wilcove
,
D. S.
(
2011
).
Degraded lands worth protecting: the biological importance of Southeast Asia's repeatedly logged forests
.
Proc. R. Soc. B
278
,
82
-
90
.
Estrada
,
C.
and
Jiggins
,
C. D.
(
2002
).
Patterns of pollen feeding and habitat preference among Heliconius species
.
Ecol. Entomol.
27
,
448
-
456
.
Fick
,
S. E.
and
Hijmans
,
R. J.
(
2017
).
WorldClim 2: new 1-km spatial resolution climate surfaces for global land areas
.
Int. J. Climatol.
37
,
4302
-
4315
.
Friedman
,
D. A.
,
Greene
,
M. J.
and
Gordon
,
D. M.
(
2019
).
The physiology of forager hydration and variation among harvester ant (Pogonomyrmex barbatus) colonies in collective foraging behavior
.
Sci. Rep.
9
,
5126
.
García-Robledo
,
C.
,
Kuprewicz
,
E. K.
,
Staines
,
C. L.
,
Erwin
,
T. L.
and
Kress
,
W. J.
(
2016
).
Limited tolerance by insects to high temperatures across tropical elevational gradients and the implications of global warming for extinction
.
Proc. Natl Acad. Sci. USA
113
,
680
-
685
.
Ginestet
,
C.
(
2011
).
ggplot2: elegant graphics for data analysis
.
J. R. Stat. Soc. Ser. A
174
,
245
-
246
.
González del Pliego
,
P.
,
Scheffers
,
B. R.
,
Basham
,
E. W.
,
Woodcock
,
P.
,
Wheeler
,
C.
,
Gilroy
,
J. J.
,
Medina Uribe
,
C. A.
,
Haugaasen
,
T.
,
Freckleton
,
R. P.
and
Edwards
,
D. P.
(
2016
).
Thermally buffered microhabitats recovery in tropical secondary forests following land abandonment
.
Biol. Conserv.
201
,
385
-
395
.
Gunderson
,
A. R.
and
Stillman
,
J. H.
(
2015
).
Plasticity in thermal tolerance has limited potential to buffer ectotherms from global warming
.
Proc. R. Soc. B
282
,
20150401
.
Hethcoat
,
M. G.
,
King
,
B. J.
,
Castiblanco
,
F. F.
,
Ortiz-Sepúlveda
,
C. M.
,
Achiardi
,
F. C. P.
,
Edwards
,
F. A.
,
Medina
,
C.
,
Gilroy
,
J. J.
,
Haugaasen
,
T.
and
Edwards
,
D. P.
(
2019
).
The impact of secondary forest regeneration on ground-dwelling ant communities in the Tropical Andes
.
Oecologia
191
,
475
-
482
.
Hoffmann
,
A. A.
and
Sgrò
,
C. M.
(
2011
).
Climate change and evolutionary adaptation
.
Nature
470
,
479
-
485
.
Hoffmann
,
A. A.
,
Shirriffs
,
J.
and
Scott
,
M.
(
2005
).
Relative importance of plastic vs genetic factors in adaptive differentiation: geographical variation for stress resistance in Drosophila melanogaster from eastern Australia
.
Funct. Ecol.
19
,
222
-
227
.
Huey
,
R. B.
,
Crill
,
W. D.
,
Kingsolver
,
J. G.
and
Weber
,
K. E.
(
1992
).
A method for rapid measurement of heat or cold resistance of small insects
.
Funct. Ecol.
6
,
489
-
494
.
Huey
,
R. B.
,
Deutsch
,
C. A.
,
Tewksbury
,
J. J.
,
Vitt
,
L. J.
,
Hertz
,
P. E.
,
Álvarez Pérez
,
H. J.
and
Garland
,
T.
(
2009
).
Why tropical forest lizards are vulnerable to climate warming
.
Proc. R. Soc. B
276
,
1939
-
1948
.
Janzen
,
D. H.
(
1967
).
Why mountain passes are higher in the tropics
.
Am. Nat.
101
,
233
-
249
.
Jiggins
,
C. D.
(
2016
).
The Ecology and Evolution of Heliconius Butterflies
.
Oxford University Press
.
Jucker
,
T.
,
Hardwick
,
S. R.
,
Both
,
S.
,
Elias
,
D. M. O.
,
Ewers
,
R. M.
,
Milodowski
,
D. T.
,
Swinfield
,
T.
and
Coomes
,
D. A.
(
2018
).
Canopy structure and topography jointly constrain the microclimate of human-modified tropical landscapes
.
Glob. Change Biol.
24
,
5243
-
5258
.
Jucker
,
T.
,
Jackson
,
T. D.
,
Zellweger
,
F.
,
Swinfield
,
T.
,
Gregory
,
N.
,
Williamson
,
J.
,
Slade
,
E. M.
,
Phillips
,
J. W.
,
Bittencourt
,
P. R. L.
,
Blonder
,
B.
, et al. 
(
2020
).
A research agenda for microclimate ecology in human-modified tropical forests
.
Front. For. Glob. Change
2
.
Karl
,
I.
,
Sørensen
,
J. G.
,
Loeschcke
,
V.
and
Fischer
,
K.
(
2009
).
HSP70 expression in the copper butterfly Lycaena tityrus across altitudes and temperatures
.
J. Evol. Biol.
22
,
172
-
178
.
Kearney
,
M.
and
Porter
,
W.
(
2009
).
Mechanistic niche modelling: combining physiological and spatial data to predict species’ ranges
.
Ecol. Lett.
12
,
334
-
350
.
Kingsolver
,
J. G.
,
Diamond
,
S. E.
and
Buckley
,
L. B.
(
2013
).
Heat stress and the fitness consequences of climate change for terrestrial ectotherms
.
Funct. Ecol.
27
,
1415
-
1423
.
Klockmann
,
M.
,
Günter
,
F.
and
Fischer
,
K.
(
2017
).
Heat resistance throughout ontogeny: body size constrains thermal tolerance
.
Glob. Change Biol.
23
,
686
-
696
.
Kozak
,
K. M.
,
Wahlberg
,
N.
,
Neild
,
A. F. E.
,
Dasmahapatra
,
K. K.
,
Mallet
,
J.
and
Jiggins
,
C. D.
(
2015
).
Multilocus species trees show the recent adaptive radiation of the mimetic Heliconius butterflies
.
Syst. Biol.
64
,
505
-
524
.
Kuznetsova
,
A.
,
Brockhoff
,
P. B.
and
Christensen
,
R. H. B.
(
2017
).
lmerTest package: tests in linear mixed effects models
.
J. Stat. Softw.
82
.
Lawler
,
J. J.
,
Ruesch
,
A. S.
,
Olden
,
J. D.
and
McRae
,
B. H.
(
2013
).
Projected climate-driven faunal movement routes
.
Ecol. Lett.
16
,
1014
-
1022
.
Lembrechts
,
J. J.
,
Lenoir
,
J.
,
Roth
,
N.
,
Hattab
,
T.
,
Milbau
,
A.
,
Haider
,
S.
,
Pellissier
,
L.
,
Pauchard
,
A.
,
Ratier Backes
,
A.
,
Dimarco
,
R. D.
, et al. 
(
2019
).
Comparing temperature data sources for use in species distribution models: from in situ logging to remote sensing
.
Glob. Ecol. Biogeogr.
28
,
1578
-
1596
.
Lenoir
,
J.
,
Hattab
,
T.
and
Pierre
,
G.
(
2017
).
Climatic microrefugia under anthropogenic climate change: implications for species redistribution
.
Ecography
40
,
253
-
266
.
Llewelyn
,
J.
,
Macdonald
,
S. L.
,
Moritz
,
C.
,
Martins
,
F.
,
Hatcher
,
A.
and
Phillips
,
B. L.
(
2018
).
Adjusting to climate: acclimation, adaptation and developmental plasticity in physiological traits of a tropical rainforest lizard
.
Integr. Zool.
13
,
411
-
427
.
Logan
,
M. L.
,
Cox
,
R. M.
and
Calsbeek
,
R.
(
2014
).
Natural selection on thermal performance in a novel thermal environment
.
Proc. Natl Acad. Sci. USA
111
,
14165
-
14169
.
Logan
,
M. L.
,
Minnaar
,
I. A.
,
Keegan
,
K. M.
and
Clusella-Trullas
,
S.
(
2019
).
The evolutionary potential of an insect invader under climate change
.
Evolution
74
,
132
-
144
.
Luo
,
S.
,
Chong Wong
,
S.
,
Xu
,
C.
,
Hanski
,
I.
,
Wang
,
R.
and
Lehtonen
,
R.
(
2014
).
Phenotypic plasticity in thermal tolerance in the Glanville fritillary butterfly
.
J. Therm. Biol.
42
,
33
-
39
.
MacLean
,
H. J.
,
Higgins
,
J. K.
,
Buckley
,
L. B.
and
Kingsolver
,
J. G.
(
2016
).
Geographic divergence in upper thermal limits across insect life stages: does behavior matter?
Oecologia
181
,
107
-
114
.
Mallet
,
J.
(
1986
).
Gregarious roosting and home range in Heliconius butterflies
.
Nat. Geogr. Res.
2
,
198
-
215
.
Merilä
,
J.
and
Hendry
,
A. P.
(
2014
).
Climate change, adaptation, and phenotypic plasticity: the problem and the evidence
.
Evol. Appl.
7
,
1
-
14
.
Mollinari
,
M. M.
,
Peres
,
C. A.
and
Edwards
,
D. P.
(
2019
).
Rapid recovery of thermal environment after selective logging in the Amazon
.
Agric. For. Meteorol.
278
,
107637
.
Montejo-Kovacevich
,
G.
,
Hethcoat
,
M. G.
,
Lim
,
F. K. S.
,
Marsh
,
C. J.
,
Bonfantti
,
D.
,
Peres
,
C. A.
and
Edwards
,
D. P.
(
2018
).
Impacts of selective logging management on butterflies in the Amazon
.
Biol. Conserv.
225
,
1
-
9
.
Montejo-Kovacevich
,
G.
,
Smith
,
J. E.
,
Meier
,
J. I.
,
Bacquet
,
C. N.
,
Whiltshire-Romero
,
E.
,
Nadeau
,
N. J.
and
Jiggins
,
C. D.
(
2019
).
Altitude and life-history shape the evolution of Heliconius wings
.
Evolution
73
,
2436
-
2450
.
Morueta-Holme
,
N.
,
Engemann
,
K.
,
Sandoval-Acuña
,
P.
,
Jonas
,
J. D.
,
Segnitz
,
R. M.
and
Svenning
,
J.-C.
(
2015
).
Strong upslope shifts in Chimborazo's vegetation over two centuries since Humboldt
.
Proc. Natl. Acad. Sci. USA
112
,
12741
-
12745
.
Motzer
,
T.
,
Munz
,
N.
,
Küppers
,
M.
,
Schmitt
,
D.
and
Anhuf
,
D.
(
2005
).
Stomatal conductance, transpiration and sap flow of tropical montane rain forest trees in the southern Ecuadorian Andes
.
Tree Physiol.
25
,
1283
-
1293
.
Nadeau
,
N. J.
,
Ruiz
,
M.
,
Salazar
,
P.
,
Counterman
,
B.
,
Medina
,
J. A.
,
Ortiz-zuazaga
,
H.
,
Morrison
,
A.
,
McMillan
,
W. O.
,
Jiggins
,
C. D.
and
Papa
,
R.
(
2014
).
Population genomics of parallel hybrid zones in the mimetic butterflies, H. melpomene and H. erato
.
Genome Res.
24
,
1316
-
1333
.
Nadeau
,
C. P.
,
Urban
,
M. C.
and
Bridle
,
J. R.
(
2017
).
Climates past, present, and yet-to-come shape climate change vulnerabilities
.
Trends Ecol. Evol.
32
,
786
-
800
.
Nakagawa
,
S.
,
Johnson
,
P. C. D.
and
Schielzeth
,
H.
(
2017
).
The coefficient of determination R2 and intra-class correlation coefficient from generalized linear mixed-effects models revisited and expanded
.
J. R. Soc. Interface
14
,
20170213
.
Navas
,
C. A.
,
Carvajalino-Fernández
,
J. M.
,
Saboyá-Acosta
,
L. P.
,
Rueda-Solano
,
L. A.
and
Carvajalino-Fernández
,
M. A.
(
2017
).
The body temperature of active amphibians along a tropical elevation gradient: patterns of mean and variance and inference from environmental data
.
Methods Ecol. Evol.
27
,
1145
-
1154
.
Nowakowski
,
A. J.
,
Frishkoff
,
L. O.
,
Agha
,
M.
,
Todd
,
B. D.
and
Scheffers
,
B. R.
(
2018
).
Changing thermal landscapes: merging climate science and landscape ecology through thermal biology
.
Curr. Landscape Ecol. Rep.
3
,
57
-
72
.
Paz
,
A.
and
Guarnizo
,
C. E.
(
2019
).
Environmental ranges estimated from species distribution models are not good predictors of lizard and frog physiological tolerances
.
Evol. Ecol.
34
,
89
-
99
.
Pincebourde
,
S.
and
Casas
,
J.
(
2015
).
Warming tolerance across insect ontogeny: influence of joint shifts in microclimates and thermal limits
.
Ecology
96
,
986
-
997
.
Pincebourde
,
S.
and
Suppo
,
C.
(
2016
).
The vulnerability of tropical ectotherms to warming is modulated by the microclimatic heterogeneity
.
Integr. Comp. Biol.
56
,
85
-
97
.
Polato
,
N. R.
,
Gill
,
B. A.
,
Shah
,
A. A.
,
Gray
,
M. M.
,
Casner
,
K. L.
,
Barthelet
,
A.
,
Messer
,
P. W.
,
Simmons
,
M. P.
,
Guayasamin
,
J. M.
,
Encalada
,
A. C.
, et al. 
(
2018
).
Narrow thermal tolerance and low dispersal drive higher speciation in tropical mountains
.
Proc. Natl. Acad. Sci. USA
115
,
12471
-
12476
.
Potter
,
K. A.
,
Woods
,
H. A.
and
Pincebourde
,
S.
(
2013
).
Microclimatic challenges in global change biology
.
Glob. Change Biol.
19
,
2932
-
2939
.
Ruiz
,
D.
,
Martinson
,
D. G.
and
Vergara
,
W.
(
2012
).
Trends, stability and stress in the Colombian Central Andes
.
Clim. Change
112
,
717
-
732
.
Scheffers
,
B. R.
,
Phillips
,
B. L.
,
Laurance
,
W. F.
,
Sodhi
,
N. S.
,
Diesmos
,
A.
and
Williams
,
S. E.
(
2013
).
Increasing arboreality with altitude: a novel biogeographic dimension
.
Proc. R. Soc. B
280
,
20131581
.
Scheffers
,
B. R.
,
Edwards
,
D. P.
,
Diesmos
,
A.
,
Williams
,
S. E.
and
Evans
,
T. A.
(
2014
).
Microhabitats reduce animal's exposure to climate extremes
.
Glob. Change Biol.
20
,
495
-
503
.
Scheffers
,
B. R.
,
De Meester
,
L.
,
Bridge
,
T. C. L.
,
Hoffmann
,
A. A.
,
Pandolfi
,
J. M.
,
Corlett
,
R. T.
,
Butchart
,
S. H. M.
,
Pearce-Kelly
,
P.
,
Kovacs
,
K. M.
,
Dudgeon
,
D.
, et al. 
(
2016
).
The broad footprint of climate change from genes to biomes to people
.
Science
354
,
aaf7671
.
Scheffers
,
B. R.
,
Edwards
,
D. P.
,
Macdonald
,
S. L.
,
Senior
,
R. A.
,
Andriamahohatra
,
L. R.
,
Roslan
,
N.
,
Rogers
,
A. M.
,
Haugaasen
,
T.
,
Wright
,
P.
and
Williams
,
S. E.
(
2017
).
Extreme thermal heterogeneity in structurally complex tropical rain forests
.
Biotropica
49
,
35
-
44
.
Scriven
,
S. A.
,
Hodgson
,
J. A.
,
McClean
,
C. J.
and
Hill
,
J. K.
(
2015
).
Protected areas in Borneo may fail to conserve tropical forest biodiversity under climate change
.
Biol. Conserv.
184
,
414
-
423
.
Senior
,
R. A.
,
Hill
,
J. K.
,
González del Pliego
,
P.
,
Goode
,
L. K.
and
Edwards
,
D. P.
(
2017
).
A pantropical analysis of the impacts of forest degradation and conversion on local temperature
.
Ecol. Evol.
7
,
7897
-
7908
.
Senior
,
R. A.
,
Hill
,
J. K.
,
Benedick
,
S.
and
Edwards
,
D. P.
(
2018
).
Tropical forests are thermally buffered despite intensive selective logging
.
Glob. Chang. Biol.
24
,
1267
-
1278
.
Shah
,
A. A.
,
Gill
,
B. A.
,
Encalada
,
A. C.
,
Flecker
,
A. S.
,
Funk
,
W. C.
,
Guayasamin
,
J. M.
,
Kondratieff
,
B. C.
,
Poff
,
N. L.
,
Thomas
,
S. A.
,
Zamudio
,
K. R.
, et al. 
(
2018
).
Climate variability predicts thermal limits of aquatic insects across elevation and latitude
.
Funct. Ecol.
31
,
2118
-
2127
.
Sheldon
,
K. S.
(
2019
).
Climate change in the tropics: ecological and evolutionary responses at low latitudes
.
Annu. Rev. Ecol. Evol. Syst.
50
,
303
-
333
.
Sheldon
,
K. S.
and
Dillon
,
M. E.
(
2016
).
Beyond the mean: biological impacts of cryptic temperature change
.
Integr. Comp. Biol.
56
,
110
-
119
.
Sheldon
,
K. S.
and
Tewksbury
,
J. J.
(
2014
).
The impact of seasonality in temperature on thermal tolerance and elevational range size
.
Ecology
95
,
2134
-
2143
.
Sheldon
,
K. S.
,
Huey
,
R. B.
,
Kaspari
,
M.
and
Sanders
,
N. J.
(
2018
).
Fifty years of mountain passes: a perspective on Dan Janzen's classic article
.
Am. Nat.
191
,
553
-
565
.
Shelomi
,
M.
(
2012
).
Where are we now? Bergmann's rule sensu lato in insects
.
Am. Nat.
180
,
511
-
519
.
Sørensen
,
J. G.
,
Dahlgaard
,
J.
and
Loeschcke
,
V.
(
2001
).
Genetic variation in thermal tolerance among natural populations of Drosophila buzzatii: down regulation of Hsp70 expression and variation in heat stress resistance traits
.
Funct. Ecol.
15
,
289
-
296
.
Spicer
,
M. E.
,
Stark
,
A. Y.
,
Adams
,
B. J.
,
Kneale
,
R.
,
Kaspari
,
M.
and
Yanoviak
,
S. P.
(
2017
).
Thermal constraints on foraging of tropical canopy ants
.
Oecologia
183
,
1007
-
1017
.
Steigenga
,
M. J.
and
Fischer
,
K.
(
2009
).
Fitness consequences of variation in developmental temperature in a butterfly
.
J. Therm. Biol.
34
,
244
-
249
.
Stoffel
,
M. A.
,
Nakagawa
,
S.
and
Schielzeth
,
H.
(
2017
).
rptR: repeatability estimation and variance decomposition by generalized linear mixed-effects models
.
Methods Ecol. Evol.
8
,
1639
-
1644
.
Storlie
,
C.
,
Merino-Viteri
,
A.
,
Phillips
,
B.
,
VanDerWal
,
J.
,
Welbergen
,
J.
and
Williams
,
S.
(
2014
).
Stepping inside the niche: microclimate data are critical for accurate assessment of species’ vulnerability to climate change
.
Biol. Lett.
10
,
6
-
9
.
Tewksbury
,
J. J.
,
Huey
,
R. B.
and
Deutsch
,
C. A.
(
2008
).
Putting the heat on tropical animals
.
Science
320
,
1296
-
1297
.
Urrutia
,
R.
and
Vuille
,
M.
(
2009
).
Climate change projections for the tropical Andes using a regional climate model: temperature and precipitation simulations for the end of the 21st century
.
J. Geophys. Res.
114
.
van Heerwaarden
,
B.
and
Sgrò
,
C. M.
(
2014
).
Is adaptation to climate change really constrained in niche specialists?
Proc. Biol. Sci.
281
.
Wasserstrom
,
R.
and
Southgate
,
D.
(
2013
).
Deforestation, agrarian reform and oil development in Ecuador, 1964-1994
.
Nat. Resources
4
,
31
-
44
.
Zuur
,
A.
,
Ieno
,
E. N.
,
Walker
,
N.
,
Saveliev
,
A. A.
and
Smith
,
G. M.
(
2009
).
Mixed Effects Models and Extensions in Ecology with R
.
Springer Science & Business Media
.

Competing interests

The authors declare no competing or financial interests.

This is an Open Access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution and reproduction in any medium provided that the original work is properly attributed.

Supplementary information