{'fraction_non_alphanumeric': 0.02728251764987436, 'fraction_numerical': 0.01184635634797176, 'mean_word_length': 5.152954168967422, 'pattern_counts': {'":': 0, '<': 1, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 7, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Energetic context determines the effects of multiple upwelling-associated stressors on sea urchin performance

Globally, kelp forests are threatened by multiple stressors, including increasing grazing by sea urchins. With coastal upwelling predicted to increase in intensity and duration in the future, understanding whether kelp forest and urchin barren urchins are differentially affected by upwelling-related stressors will give insight into how future conditions may affect the transition between kelp forests and barrens. We assessed how current and future-predicted changes in the duration and magnitude of upwelling-associated stressors (low pH, dissolved oxygen, and temperature) affected the performance of purple sea urchins (Strongylocentrotus purpuratus) sourced from rapidly-declining bull kelp (Nereocystis leutkeana) forests and nearby barrens and maintained on habitat-specific diets. Kelp forest urchins were of superior condition to barrens urchins, with ~ 6–9 times more gonad per body mass. Grazing and condition in kelp forest urchins were more negatively affected by distant-future and extreme upwelling conditions, whereas grazing and survival in urchins from barrens were sensitive to both current-day and all future-predicted upwelling, and to increases in acidity, hypoxia, and temperature regardless of upwelling. We conclude that urchin barren urchins are more susceptible to increases in the magnitude and duration of upwelling-related stressors than kelp forest urchins. These findings have important implications for urchin population dynamics and their interaction with kelp.

In many regions of the world, kelp forests are in decline due to climate change, overfishing, and direct harvest, but in others, kelp abundance is stable or increasing, indicating the dominance of regional drivers or region-specific responses to global drivers of change 1 . In some regions, kelp decline can be attributed to sea urchins, the major grazers of kelp worldwide [2][3][4][5] . Disruption to the interplay between sea urchin grazing and kelp forest productivity can tip the balance between stable states that alternate between diverse kelp forests and species-depauperate urchin barrens and the transition from one state to the other can be initiated by several factors, including the abundance of algal food, predators, storm intensities, and incidence of disease 3,6 . For example, when kelp forests are productive and healthy, sea urchins remain relatively immobile, preferring to feed on the drift kelp that is produced and sloughed off in large quantities by standing kelp 7,8 . However, when large-scale disturbance (e.g., winter storms or El Niño events) remove large amounts of standing kelp biomass, sea urchins mobilize and graze on young kelp recruits (Fig. 1a) and actively climb and consume the stipes of adult kelp (Fig. 1b), removing remaining kelp and preventing the reestablishment of the forest 6 .
Further, recruitment peaks can cause sea urchin densities to spike 9 , resulting in intense grazing that can transform kelp forests into urchin barrens 10 . In the California Current Large Marine Ecosystem (CCLME) a 'perfect storm' of multiple factors has led to historic increases in purple sea urchin (Strongylocentrotus purpuratus) abundance and dramatic reductions (> 90% loss in canopy cover) in bull kelp (Nereocystis leutkeana) forests along the northern California coast, many of which have been converted to urchin barrens 5 . The kelp loss has had cascading and detrimental effects on other organisms and the vital ecosystem services they provide 11 .
Because urchins can play a major role in the destruction of kelp forests 4,5 , it is critical that we gain a greater understanding of how current and future environmental conditions will shape the performance of this key grazer. One way that sea urchins and their interaction with kelp may be affected is via coastal upwelling, a process that brings cold, nutrient-rich, hypoxic and acidic water to nearshore coastal environments seasonally. Upwelling thus simultaneously changes multiple environmental factors that can affect species performance and their interactions www.nature.com/scientificreports/ stressors on organisms often result from energetic deficiencies due to increased metabolic demand (i.e., an energetic tradeoff 47,48 ), several studies have hypothesized, and found, that these negative effects can be reduced in situations where energy (e.g., food) is more readily available [49][50][51] . Kelp forest and urchin barrens urchins provide an excellent model to test this hypothesis. In kelp forests, high-quality food is abundant and sea urchins are well-nourished, moving little and feeding on the drift kelp. In urchin barrens, drift kelp is sparse, and sea urchins are poorly nourished, actively grazing the substratum for poor-quality food. The high densities of urchins and lack of kelp food resources in urchin barrens can result in urchins in poorer condition and with reduced gonad production (indicative of an energetic tradeoff) relative to kelp forest urchins 52 . We therefore hypothesized that better-condition kelp forest urchins would be less negatively affected by upwelling-related stressors than poorercondition barrens urchins. We tested this hypothesis in a 4-week mesocosm experiment, where we manipulated both the duration and strength of upwelling events-pulses of low dissolved oxygen, pH, and temperature that can occur during the upwelling season in the CCLME-to assess the direct effects of present-day and future-predicted upwellingassociated stressors (low pH, dissolved oxygen, and temperature) on the grazing rates, survival, and gonad development of purple sea urchins from kelp forest and urchin barren habitats. By designing a mesocosm experiment that provides a realistic, temporally variable, and multiple-stressor habitat-specific context, we aimed to provide better insight into how purple sea urchins, bull kelp's major grazer, will be affected under current day and future climate scenarios.

Results
Initial sea urchin condition and experimental conditions. Larger kelp forest urchins had proportionally more gonads than urchin barren urchins of a similar size (ANCOVA, F 3,26 = 19.32, P < 0.0001; see Supplementary Fig. S1 online). The CO 2 dosing system succeeded in achieving the pH conditions very close to the targets for each upwelling severity treatment (Table 1; also see Supplementary Fig. S2 online). www.nature.com/scientificreports/ Sea urchin grazing. There was a three-way interaction between upwelling severity treatment, urchin habitat, and time (upwelling event) on urchin grazing rates ( Table 2), indicating that the interactive effects of treatment and time (upwelling event) were different for kelp forest (see Supplementary Table 1a online) and urchin barrens urchins (Fig. 2b). During initial non-upwelling conditions, kelp forest urchins grazed at similar rates in all treatments except in Future 2, where urchins grazed almost 3 × faster than urchins in Future 1 and 3 (Fig. 2a, see Supplementary  Table 1a online) and Current Day urchins grazed at rates intermediate to Future 2 and Future 1 and 3. During exposure to the first upwelling event, grazing by both Current Day and Future 2 urchins was reduced to near zero, but there was no effect on Future 1 and Future 3 urchins, whose grazing remained similar to initial nonupwelling levels (Fig. 2a, see Supplementary Table 1a online). Kelp forest urchins in all treatments increased their grazing rates relative to the prior upwelling event after the respective header tanks returned to non-upwelling conditions, returning to (Current Day, Future 2), or exceeding (Future 1, Future 3) initial non-upwelling grazing rates (Fig. 2a, see Supplementary Table 1a online). During the second and final upwelling event, grazing rates by kelp forest urchins in Future 2 and 3 treatments were reduced to near zero, whereas urchins in Current Day and Future 1 treatment maintained grazing rates similar to those during the previous non-upwelling event (Fig. 2a, see Supplementary Table 1a online).
During initial non-upwelling conditions, urchin barren urchins in Current Day, Future 1, and Future 2 treatments grazed at similar rates, with urchins in Future 3 grazing at roughly half the rate. Upon exposure to the first upwelling event, grazing by urchins in Current Day and Future 1 was reduced to near zero. Although there was no statistically detectable effect of the first upwelling event on Future 2 and Future 3 urchin grazing (see Supplementary Table 1a online), there was an observable downward trend (Fig. 2b). Just as with kelp forest urchins in the same treatments, urchin barren urchin grazing in Current Day and Future 1 rebounded to pre-upwelling exposure grazing levels during the second non-upwelling event, and remained at similar levels during exposure to the second upwelling event (Fig. 2b, see Supplementary Table 1a online). Grazing by barrens urchins in Future 2 and Future 3 treatments during the second non-upwelling event were relatively lower than those in Current Day and Future 1 treatments and similar to those during the previous upwelling event, trending further downward in the second and final upwelling event (Fig. 2b, see Supplementary Table 1a online). www.nature.com/scientificreports/ When averaged across urchin habitat, upwelling treatment effects depended on upwelling event (Fig. 2c, see Supplementary Table 1a online). Urchins in Current Day and Future 2 treatments showed a general trend toward reduced grazing during exposure to the first upwelling event, followed by a return to pre-upwelling levels of grazing during the second non-upwelling event (Fig. 2c, see Supplementary Table 1b online). Urchins in the Future 1 treatment were better able to maintain their grazing rates between initial non-upwelling conditions and the first upwelling event, although they increased their grazing rates threefold overall in the second non-upwelling event and maintained them during the second upwelling event (Fig. 2c, see Supplementary Table 1b online). Urchins in the Future 3 treatment showed a sixfold increase in grazing rates during the second non-upwelling event, but in contrast to Future 1 urchins, their grazing rates dropped sharply to near zero after exposure to the second upwelling (Fig. 2c, see Supplementary Table 1b online).
Across upwelling severity treatments, kelp forest urchin grazing rates were 3-7 × higher than barrens urchins during non-upwelling events (Fig. 2d, see Supplementary Table 1c online). However, during the first upwelling event, kelp forest urchin grazing was reduced to near zero, similar to that of barrens urchins (Fig. 2d, see Supplementary Table 1c online). Kelp forest urchin grazing rebounded during the second non-upwelling event, to levels more than 1.5 × higher than during initial non-upwelling conditions (Fig. 2d, see Supplementary Table 1c online). Further, although kelp forest urchin grazing was reduced by a factor of 2.5 upon exposure to the second upwelling event, it did not dip to rates as low as during the first upwelling event. Urchin barren grazing remained similarly low after exposure to the first upwelling event and throughout the duration of the experiment (Fig. 2d, see Supplementary Table 1c online).
High mortality in barrens urchins led to only four urchins surviving the duration of the experiment, thus treatment effects on the gonad indices of barrens urchins could not be assessed. Upwelling severity did affect the condition of kelp forest urchins that survived the duration of the experiment (ANOVA, F 3,26 = 2.89, P = 0.05; Fig. 4), with kelp forest urchins in the Future 3 treatment with 59-76% lower gonad indices than those in any of the other upwelling severity treatments (Tukey's HSD, all P's > 0.330).

Discussion
Our results indicate that purple sea urchins (S. purpuratus) from different habitats (kelp forests and urchin barrens) and maintained on habitat-specific diets exhibit differential susceptibility to both current day upwelling, and future-predicted increases in the magnitude and duration of abiotic stressors associated with upwelling. Kelp www.nature.com/scientificreports/ forest urchins, which were more resilient, survived well under all upwelling severity treatments. This was in sharp contrast to urchin barren urchin mortality, which was high across all upwelling severity treatments. These results predict potentially important population-and ecosystem-level consequences, as kelp forest urchins, so long as they have abundant and high-quality kelp food resources, will be more resilient to current-and near-future upwelling stress than urchin barren urchins limited to poorer quality algal diets. Although there is currently an overabundance of purple sea urchins on the northern California coast because of low mortality for certain age classes, owing to a lack of natural predators and anomalously strong recruitment 5 , our results suggest that as urchin barrens become more common in these areas, purple urchins may experience increasingly higher rates of mortality owing to increased exposure to and magnitude of upwelling stress. We hypothesize that mortality differences in kelp forest and urchin barren urchins were due to in part to the effects of diet during the study and to the condition status previous to the study. Our goal was not to separate out whether initial urchin condition (which is a function of food quality in their source habitats), or food quality in the experiment (which was intended to maintain condition differences throughout the experiment) was responsible for condition-dependent sensitivity to upwelling-stressors. Rather our goal was to determine whether poor-condition urchins with a low-quality food source, as is the case in urchin barrens habitats, would be more susceptible to upwelling-associated stressors than good-condition urchins with a high-quality food source, as is the case in kelp forests. In urchin barrens, high quality food is scarce or absent, and urchins must rely on poorquality coralline algae as opposed to in healthy bull kelp forest habitats, where abundant Nereocystis provides a high-quality food source for urchins 2, 53 . Purple sea urchins feeding on lower-quality diets have been shown to have significantly lower growth and feeding rates than those on higher-quality diets 54 , and the urchin barren urchins that we collected had particularly low gonad indices (a proxy for condition) that were ~ 11-12 times lower than the kelp forest urchins in our experiment. The poor condition of urchin barren urchins prior to the study, and their lower overall feeding rates relative to the kelp forest urchins during the experiment, thus likely led to their increased mortality.
Absolute differences between the grazing rates of kelp forest urchins and urchin barren urchins over time and across treatments are also unlikely to simply reflect differences in urchin condition. Differences in the nutritional quality between kelp and coralline algae are also likely to have affected consumption and digestion rates. Algal shapes or textures that increase handling time by herbivores can influence feeding rates 55,56 , and the coralline algae we used in our study has articulated pinnate branching with cylindrical stipes, which may be more difficult for urchins to grasp, bite or scrape than broad, smooth, and flat bull kelp blades. Further, a diet of kelp has been shown to accelerate reproductive maturation and growth rate in sea urchins relative to a diet of coralline algae 57 , indicating its nutritional superiority. Regardless of the precise mechanism underlying the observed grazing rates, the proportional changes in grazing from the initial non-upwelling conditions to the first upwelling events were of similar magnitude for both kelp forest urchins and urchin barrens urchins, indicating that initial exposure to treatment conditions affected grazing rates similarly, regardless of food quality.
Despite that urchin grazing rates were lower when exposed to conditions that simulated upwelling overall, one nuance was the observed temporal effect, where urchin grazing increased during the second upwelling event compared to the first. This could be explained by urchins experiencing the first upwelling event as a physiological "shock" to which the urchins acclimated once the second upwelling event occurred (e.g., 58 ). In this regard, kelp forest urchins were also more resilient than urchin barren urchins, with their grazing rates rebounding to a larger degree under non-upwelling events. These differences in kelp forest and urchin barrens urchin performance highlight that environmental stress often imposes energetic trade-offs on organisms and that an organism's condition, which is a product of their resource environment, will strongly influence how well it can balance those tradeoffs 50, 51 . www.nature.com/scientificreports/ Although the integrated nature of our treatments did not allow us to precisely indicate which upwellingrelated stressor had the largest effect on urchin grazing, the observed pattern of increased grazing during nonupwelling events and reduced grazing during upwelling events are consistent with previous work (e.g., [18][19][20]. In general, it has been shown that increasing temperatures increase metabolic activity, thus leading to higher grazing rates in many organisms 59 . We hypothesize that increased temperatures during non-upwelling events led to higher grazing rates for both kelp forest and barren urchins during these times compared to upwelling events. The four degree increase from 12 °C during current day non-upwelling events to 16 °C in Future 2 nonupwelling events may also explain associated increases in urchin grazing between these treatments. Recent experimental work has shown that when purple urchins were exposed to low temperatures, low pH, and low DO separately, low temperature and DO had significant negative effects on respiration and grazing rates, but low pH did not; however, when combined, pH, temperature and DO can have interactive effects 19 . For example, low temperatures and low DO together had larger combined effects on urchin respiration and grazing than either did alone 19 . In contrast, when low DO or low temperature was combined with low pH, low pH seemed to lessen the effects of temperature and DO on urchin respiration and grazing 19 . When all three were combined, low pH was not enough to compensate for combined negative effects of low temperature and low DO 18,20 . Because we saw a large reduction in grazing during upwelling events, it is reasonable to believe that low DO in our future treatments was mainly responsible for a decrease in grazing for both kelp forest urchins and urchin barren urchins. It should be noted, however, that our study reached low levels of pH and high temperatures for longer periods of time than in 19 . Further, much of what we simulate with our experimental treatments could also be considered marine heatwave conditions 60 . Specifically, some of our future "low" temperatures are higher than current low or high temperatures and are associated with low dissolved oxygen-such higher temperatures can exacerbate low oxygen effects by increasing metabolic rates. It is therefore possible that pH and temperature played direct or indirect roles in reducing urchin grazing here as well. Further studies independently altering pH and temperature to the levels reported here for a similar exposure time could elucidate the relative importance of each. We also observed a decrease in gonad development in kelp forest urchins under distant future conditions (Future 3). Increased metabolism might explain the lower gonad indices in urchins in this treatment, as higher metabolic costs would leave less energy available for gonad production and energy storage. Metabolic rates increase with temperature across a wide range of organisms 59 and increased metabolic costs associated with elevated pCO 2 have been observed in sea urchins 61,62 . Sea urchin reproductive processes may also be sensitive to higher-frequency patterns of variability in sublethal hypoxia. For example, sea urchins that spend longer periods of time in low oxygen conditions tend to produce smaller gonads than urchins under ambient oxygen conditions 20 . We therefore note that although we observed a significant decrease in gonad index in urchins under distant future conditions relative to other treatments, longer exposure to experimental conditions might have produced larger differences among treatments.
Although complexity in our experimental design did not allow us to isolate the effects of upwelling intensity vs. duration or the individual effects of stressors on urchins, our results are novel and important as individual stressors associated with upwelling are never independent in nature and upwelling intensity and duration are predicted to increase together in the future in some regions. Varying exposure to multiple upwelling stressors could have important implications for sea urchin population dynamics and kelp forest ecosystem structure. Fewer gonads in sea urchins reduce reproductive capacity 52,63 , especially at lower urchin densities 64 , and gonads are a main target for predators due to their nutritional value 65 , so effects on gonad production could also reduce trophic energy transfer. Further, urchin grazing is critical to shallow subtidal ecosystems, and its effects could influence kelp forest dynamics and 'tipping points' between alternate community states 2, 66 . Therefore, present-day spatial differences in the intensity and duration of upwelling and future changes in upwelling exposure could have population-and ecosystem-level effects via direct impacts on one or two sensitive organism-level responses, such as urchin grazing and gonad development. However, because increased nutrient concentrations from upwelling and temperature increases from ocean warming can both directly affect kelp 67,68 , understanding how future conditions will affect the kelp-urchin interaction will require determining whether upwelling-driven increases in nutrients will lead to increases in kelp growth that will surpass consumption by stressed urchin grazers 16 , and whether ocean warming with continue to deplete already-diminishing kelp forests 5,69 . Further, future studies should incorporate how changes in upwelling duration and magnitude might affect early life stages of urchins, whose rapid growth may show differences in response to environmental stressors more quickly than adults 70,71 .
As climate change alters the magnitude and duration of physiological stressors in ecosystems, subpopulations of organisms will be differentially affected 72,73 It is therefore necessary to examine the effects of different exposures under realistic patterns of variability, and how energetic context mediates these effects. We showed that exposure to increased intensity and duration of upwelling (as predicted by some climate models) has negative impacts on ecologically important purple sea urchins, and that these impacts are mediated by urchin diet and condition (a result of their habitat). Further, the responses of S. purpuratus to multiple stressors could not have been predicted from studies of single stressors, which would have produced results opposite to what we observed under conditions more likely to occur in the future (i.e., elevated temperature, hypoxia, and pCO 2 ). This highlights the importance of understanding the combined effects of multiple stressors on marine organisms 74 now, and in the future.

Methods
Urchin collection and condition. We collected urchins via SCUBA from urchin barrens at Baker Beach www.nature.com/scientificreports/ all individuals > 40 mm produce mature gametes with the ratio of gonad to body size peaking between 40 and 50 mm 75 . In urchin barrens, dense urchins and lack of kelp lead to poorly nourished individuals with reduced gonads relative to kelp forests, indicative of a food-mediated energetic tradeoff 52 . Thus, we chose urchins of this size to minimally detect habitat-specific differences and maximize potential for gonad development during our experiment. To ensure urchins from different habitats differed in condition, we collected n = 15 from each habitat (kelp forest: 42.88 ± 6.47 mm; urchin barrens: 43.87 ± 6.20 mm) and calculated gonad indices ((blotted wet mass gonad)/(total wet body mass) * 100), which are useful for comparing the condition of similarly-sized individuals in a population from different habitats through time 75 . Urchins were placed in individual chambers, starved for 24 h, and acclimated to experimental conditions for at least 24 h. Kelp forest urchins were fed bull kelp (Nereocystis luetkeana) and urchin barren urchins were fed articulated coralline algae (Corallina spp.), ad libitum.
Experimental set-up and design. We established four upwelling severity treatments where we manipulated the duration of upwelling and non-upwelling events, and the magnitude of pH, temperature, and dissolved oxygen to represent current day and future-predicted conditions (Fig. 5). Treatments consisted of two upwelling and two non-upwelling events that alternated over a 30 day period. The proportion of upwelling days varied across treatments. In Treatment 1 (Current Day), urchins were exposed to 11 days of non-upwelling conditions, followed by exposure to 4 days of upwelling, with the sequence repeated once. Average current-day durations of upwelling events, and magnitudes of pH, DO, and temperature for upwelling and non-upwelling events were based on 2018 data from the CeNCOOS Trinidad shore station 29 . Future 1, 2, and 3 treatments were created by increasing the duration of upwelling events by 25, 100, and 150%, respectively; and by increasing upwelling temperature by 1 °C and decreasing upwelling pH and DO by 0.1 unit and 1.0 mg L −1 , respectively, for each treatment. Non-upwelling temperatures were increased by 2 °C for each treatment. Non-upwelling DO was allowed to reach equilibrium with the atmosphere based on the given treatment temperature and pH. Increases in the duration of upwelling and the magnitudes of associated stressors were within range of historical patterns of change 28,42 and model predictions 30,[35][36][37][38][42][43][44] . Treatments were established in separate 208L insulated reservoirs, supplied with flow-through seawater and maintained via float valves. Treatments were replicated 5 times in 80L insulated tanks drawing from their corresponding reservoir. Each tank had four cylindrical, perforated PVC columns (41.4 cm × 15.2 cm) housing one urchin each, totaling two urchin barren and two kelp forest urchins per tank and 10 per treatment (Fig. 5). Each tank had a manifold controlling water flow to each column and assuring similar flows rates for urchins. To maintain treatments, reservoirs had two pumps; one for vertical mixing, and one circulating treated water to a manifold that diverted a fraction into each treatment tank manifold, with the remaining fraction circulated back to the reservoir. This partially-closed system stabilized treatment conditions between the reservoir and treatment tanks. Treatment tank water drained from the system, preventing chemical signals from the urchins passing among replicate tanks. When switching between upwelling and non-upwelling events, treatment tank conditions matched reservoirs within 120 min (Fig. 5). Lighter colors represent upwelling, and darker colors represent non-upwelling. Each reservoir delivered treated water to five randomly distributed replicate tanks. Each replicate tank housed four columns, each with one sea urchin, for a total of two kelp forest urchins and two urchin barren urchins (n = 10 urchins per treatment combination). The individual urchins in each column were completely separate from one another and could not interact physically, though the columns were perforated allowing treated water in each tank to intermingle among columns. See figure key for additional components of each replicate tank. www.nature.com/scientificreports/ To lower pH, CO 2 was bubbled through 60 mm fine-pore air stones into each reservoir. Each reservoir had one integrated sensor (WTW pH 3310, Loligo Systems) through which pH and temperature were monitored and logged (Loligo Systems CapCTRL software) at 1 s intervals. Hysteresis for each pH treatment was set to ± 0.01 pH units, so if reservoir water deviated from the desired setpoint by 0.01, gas was added or stopped. pH probes were calibrated regularly using three-point calibration. DO was manipulated by bubbling pure N 2 gas through 60 mm fine-pore diffusers. Each reservoir had one ocular DO probe (Vernier Software and Technology) controlled by an Arduino that monitored and recorded DO in mg L −1 every second. Temperature was controlled using aquarium chillers (JBJ Arctica Aquarium Chiller), heaters (titanium 1000-W) and heat pumps (DSHP-4 thru DSHP-6, Aqua Logic, Aquatic Design).
Discrete water samples were collected in 350 mL amber glass bottles roughly every week (n = 5-6/treatment) to verify treatment conditions and calculate carbonate chemistry. Samples were immediately poisoned with 100 µL of saturated mercuric chloride (HgCl 2 ) and processed to measure pCO 2 and DIC via gas equilibration and stripping, respectively; followed by infrared detection 76  Urchin grazing. To assess whether grazing by kelp forest and urchin barren urchins were differentially affected by upwelling severity, we measured grazing rates throughout the experiment. To maintain the natural condition and diet of urchins from each habitat, kelp forest urchins were fed bull kelp and urchin barren urchins were fed coralline algae (Corallina spp.) ad libitum. Algae were fastened at the top of each column to force urchins to expend energy to graze and create a realistic scenario where urchins in declining kelp forests, where our urchins were sourced 5,80 , have to shift from sheltering-in-place to active foraging, including climbing the stipes of kelp 6,7 . To control for autogenic changes in kelp and coralline algae in the absence of urchins, a separate perforated container with each alga was placed within each replicate tank, which we used as our control algae. Both kelp and coralline algae were dried via manual centrifuge (spun 5 times) and weighed to the nearest 0.01 g before fed to urchins. To capture grazing differences between upwelling and non-upwelling events, we measured grazing rates (g algae day −1 ) every 3-4 days, as kelp degrades in the laboratory after ~ 4 days. The number of grazing rate measurements was proportional to the duration of each upwelling/non-upwelling event (e.g., if the non-upwelling event lasted 11 days and the upwelling event lasted 4 days, we took 3 measurements during the non-upwelling event, and 1 during the upwelling event). When multiple grazing rate measurements were taken per event, we averaged them to estimate grazing during the event. Final algal weights were obtained as with initial weights. To account for autogenic change, we subtracted the weight change in control algae from that in grazed algae.
Urchin survival and gonad development. Urchins were measured for test diameter (mm) and total wet mass (g) at the beginning and end of the experiment. Throughout, we recorded urchin mortality and replaced dead urchins immediately, recording final diameter and mass. We dissected each urchin at the end of the experiment and calculated its gonad index. We used the subset of 30 urchins destructively sampled at the beginning of the experiment to obtain habitat-specific initial gonad indices, allowing us to calculate the difference in gonad indices due to experimental treatment effects. Statistical analysis. Residuals were checked for normality and homoscedasticity via Shapiro Wilk and Levene's test, respectively. All data, except for mortality, met assumptions and so were not transformed. To assess differences in gonad wet mass between kelp forest and urchin barrens urchins we used ANCOVA with urchin habitat as a fixed factor and total wet mass as a covariate. Because urchin grazing rates were measured during each upwelling and non-upwelling event, and so were not independent, we used a mixed effects model with repeated measures to analyze them, with upwelling severity treatment, urchin habitat, time (upwelling event), and their interactions as fixed factors, and tank as a random factor. To compare across groups, including among interactions of factors, we used least square means separation tests, adjusting P-values for multiple comparisons with the Tukey method. We assessed differences in urchin mortality with a generalized linear mixed model with a Poisson family distribution and a log-link function with upwelling severity treatment and urchin habitat as fixed factors, and tank as a random factor. Because of the high mortality in urchin barren urchins, we only assessed treatment differences in gonad change for kelp forest urchins, using mixed model ANOVA with treatment as a fixed factor, and tank as a random factor. We used Tukey's HSD test to make post-hoc comparisons among treatment means. Replacements for dead urchins were excluded from this analysis. All analyses were done in R 81 .