Introduction

Alfalfa (Medicago sativa), a nitrogen (N) fixing species, is the most widely grown perennial forage crop worldwide and the largest crop by land area in the Western United States1,2. Alfalfa is traditionally used as cattle feed and growth in alfalfa land area is largely driven by increasing global feed demand for dairy and other livestock production3. Soil N inputs from symbiotic N fixation4 help support plant growth but may also be a source of nitrous oxide (N2O) emissions from both nitrification and denitrification5. From a carbon (C) accounting perspective, alfalfa has been referred to as a climate-friendly feedstock due to its soil C sequestration potential as a deep-rooting, perennial plant and reduced N fertilizer inputs6. However, few studies have combined carbon dioxide (CO2), methane (CH4), and N2O fluxes in the total net annual CO2-equivalent (CO2e) budgets of alfalfa agroecosystems. Continuous measurements are needed to assess the greenhouse gas emissions and net C balance of continuous alfalfa ecosystems as these are likely to differ from other agriculture practices that incorporate alfalfa in short-term rotations7,8,9.

The biogeochemical processes that drive N2O production are notorious for being temporally dynamic and characterized by hot moments of emissions, defined as short periods in time with fluxes significantly larger than the mean5,10,11. Thus short-term or infrequent sampling is likely to underestimate the role of hot moments in annual N2O fluxes12. Alfalfa typically has a high water demand and is often irrigated throughout the growing season to maintain productivity13. Short periods of anaerobiosis following irrigation or rainfall events combined with soil N inputs can create ideal conditions for hot moments of N2O production. Acidic conditions may exacerbate the effect as N2O reductase is inhibited at low pH5,14. Oxygen (O2) availability is an important control on N2O production via nitrification and anaerobic denitrification5. Nitrous oxide production can also be limited by temperature, substrate C, nitrate (NO3-), or ammonium (NH4+) availability15. In soils, these variables are likely regulated by nonlinear asynchronous processes across temporal scales5,16, requiring high frequency measurements to effectively characterize the controls on N2O hot moments, and determine drivers of background (i.e., non-hot moment) N2O fluxes.

The global warming potential of alfalfa agriculture is also affected by carbon dioxide (CO2) and methane (CH4) fluxes. Both CO2 and CH4 fluxes may be characterized by hot moments of soil emissions. Increased CO2 respiration often occurs following soil rewetting17,18,19,20 and these pulses can contribute a significant fraction of the annual CO2 release, particularly in water-limited systems19,21. Heterotrophic respiration is thought to be directly regulated by substrate availability, primarily plant photosynthate22, which can also stimulate the production and emissions of N2O and CH423,24. For example, root exudates are well-known labile soil C sources that can prime microbial activity and associated pulses in soil respiration25. Up to 20% of C fixed by photosynthesis is released by root exudation that may occur as pulsed inputs26,27. Changes in plant productivity within and across years may also regulate greenhouse gas fluxes through impacts on other photosynthetic inputs such as plant litter28,29. Alfalfa is generally a net CH4 sink via microbial CH4 oxidation under well-drained conditions6,30,31, but high rainfall events and irrigation can produce anaerobic conditions that can stimulate hot moments of methanogenesis32. Even with the potential for periodic CH4 emissions and CO2 pulses, long-term eddy covariance measurements of CO2 and CH4 suggest that alfalfa cropping systems can be net C sinks at an ecosystem scale6,31. However, continuous N2O measurements are needed to determine the total CO2e of soils emissions from alfalfa.

With the increasing agricultural demand for alfalfa, continuous long-term measurements of greenhouse gas fluxes are needed to better quantify the net climate impacts of alfalfa agroecosystems. It is also critical to determine the drivers of greenhouse gas emissions to better manage alfalfa for emissions reduction. We used a combined suite of automated flux chambers, continuous environmental sensing, eddy covariance, and satellite imagery of photosynthetic activity to determine patterns and associated controls of CO2, N2O, and CH4 fluxes over four complete years in irrigated alfalfa. We used continuous cavity ring-down spectroscopy (CRDS) and automated chambers to collect over 103,000 individual N2O, CH4, and CO2 flux measurements which were coupled with soil O2, moisture, and temperature sensors installed across the soil profile and a year-long intensive weekly sampling campaign for soil gas (CO2, N2O, and CH4), mineral N, and soil pH. We tested the hypothesis that the combination of mineral N availability and low redox conditions are the primary drivers of hot moments of N2O emissions and that hot moments offset a significant portion of the net CO2e sink. We predicted that low redox conditions would occur during irrigation and high rainfall events, particularly during warm periods as the solubility of O2 decreases with increasing temperature33. We also hypothesized that background patterns in N2O emissions would follow patterns in plant activity indicative of the potential impact of plants on C or substrate availability.

Results and discussion

Annual soil N2O budgets and ecosystem CO2e balance

Annual mean N2O fluxes were 624.4 ± 26.8 mg N2O m−2 yr−1 (Table 1, range: 247.0 ± 5.7 to 901.9 ± 74.5 mg N2O m−2 yr−1) and were similar to or greater than other N2O flux estimates from alfalfa systems7,34,35,36,37. However, few studies report flux measurements from irrigated, continuous alfalfa monocultures36,37, which make up the majority of alfalfa ecosystems in the Western United States2,7,13,38. Annual soil N2O emissions were highest in site years 2 and 3 (Table 1, p < 0.001) and lowest in site year 4 (p < 0.001). The use of N-fixing crops as a means to reduce N fertilizer inputs to agroecosystems is expected to decrease overall N2O agricultural emissions39. However, the mean N2O fluxes observed here (4.0 ± 0.2 kg N-N2O ha−1 y−1) were equal to or higher than rates from fertilized agricultural ecosystems40,41. This suggests net N2O emissions from irrigated alfalfa may not always be reduced relative to other agricultural ecosystems receiving inorganic N inputs, particularly on relatively C-rich soils.

Table 1 Annual greenhouse gas emissions

Soil N2O fluxes reduced the annual net CO2e sink (sum of eddy covariance NEE and chamber N2O and CH4; Table 1) by up to 14% (mean: 8 ± 0.4%). The ecosystem was a consistent net CO2e sink (mean: −450.4 ± 121.9 g CO2e m−2 y−1) when estimated using eddy covariance NEE observations and chamber observations of N2O and CH4 (Table 1). Annual global warming potential (GWP) values were significantly greater in years 3 and 4 than years 1 and 2, driven by significant increases in net ecosystem exchange (NEE) and lower N2O fluxes in year 4 (Table 1). Annual CH4 fluxes were a consistent CO2e sink (mean: −1.5 ± 0.1 g CO2e m−2 y−1) but were always less than 0.5% of the annual net GWP.

The importance of N2O hot moments

Inter- and intra-annual variability in N2O fluxes were largely driven by differences in the magnitude and frequency of hot moments of N2O production. Hot moments represented only 0.2 to 1.1% of annual N2O measurements but contributed up to 57% (mean: 44.4 ± 6.3%) of total N2O emissions (Table 2), highlighting the importance of continuous measurements for capturing high emission events and that continuous background fluxes (i.e., lower than hot moments) still represent a significant portion of the annual budget. The magnitude of hot moments decreased with stand age, and the contribution of hot moments to the annual flux also decreased over time (Fig. 1c, Table 2, p < 0.001). The decrease in the magnitude of hot moments of N2O emissions over time may be partially explained by increased alfalfa taproot development with stand age. Nitrous oxide fluxes are generally expected to increase with alfalfa stand age36, driven by increasing organic matter and N inputs from more developed root systems. However, irrigation frequency is likely to decrease in more established stands or in systems supported by subsurface irrigation or a shallow water table42,43,44, which could lower N2O fluxes45. A well-developed taproot system can maintain access to a deep-water table to support plant water demands, reducing drought stress46,47 and the need for irrigation events that stimulate hot moments of N2O emissions. The decreased contribution and magnitude of N2O hot moments did not consistently correspond to decreases in annual emissions (Table 2). This may be due to increases in N2O emissions associated with the accumulation and mineralization of residual alfalfa-derived organic matter36. Here we found that reduced irrigation frequency drove the observed decreases in hot moment emissions with stand age. However, these emissions reductions were partially offset by background (i.e., lower than hot moment) increases in N2O production, which could have been derived from greater soil C and N availability.

Table 2 N2O fluxes
Fig. 1: Greenhouse gas fluxes, soil sensing, and satellite imagery.
figure 1

Daily mean (± standard error) (a) carbon dioxide (g CO2 m−2 d−1), b methane (mg CH4 m−2 d−1), and c nitrous oxide (mg N2O m−2 d−1) fluxes (n = approximately 80 per day, with a total of 108,638, 103,013, and 102,997 flux measurements of CO2, N2O, and CH4, respectively). Black circles represent mean daily flux measurements. Daily mean (± standard error) (d) soil temperature (°C), e soil oxygen (O2), f daily near-infrared reflectance of vegetation (NIRv), and (g) volumetric soil moisture (m3 m−3) over the soil sensor measurement period and available daily satellite imagery (n = 96 measurements per day except for NIRv). For (d) soil temperature, (e) O2, and (g) moisture, depth values are labeled as squares (10 cm), circles (30 cm), and triangles (50 cm).

Drivers of soil N2O emissions

Acidic soil conditions were maintained throughout the year (Fig. 2c), creating a favorable pH environment for incomplete denitrification following decreases in soil O2 availability48. These soils were relatively C-rich (5% soil C from 0–30 cm)49, which may have also contributed to the higher observed N2O emissions here50, but newly mineralized alfalfa roots and shoots were likely an important soil NO3- source51 and substrate for denitrification. We found that hot moments of N2O production occurred following rapid increases in moisture and decreases in soil O2 in warm surface soils; lower soil temperatures in winter appeared to limit hot moments of N2O emission following rain events (Fig. 2). Summer hourly mean N2O fluxes peaked in late afternoon (Fig. 3c, p = 0.06), within hours after the onset of irrigation events. However, short periods of irrigation did not always correspond to increased soil moisture at depths below 10 cm (Fig. 2). This could indicate that the majority of N2O production during hot moments occurred near the soil surface.

Fig. 2: Diel greenhouse gas fluxes.
figure 2

Hourly mean (± standard error) (a) air temperature (°C), (b) carbon dioxide (CO2)fluxes (mg CO2 m−2 h−1), (c) methane (CH4) fluxes (µg CH4 m−2 h−1), and (d) nitrous oxide (N2O) fluxes (µg N2O m−2 h−1), grouped by season (Fall = squares, Spring = open circles, Summer = triangles, and Winter = diamonds) over the entire measurement period (Fall: n ≥ 1220 measurements per hour, Spring: n ≥ 848 measurements per hour, Summer: n ≥ 956 measurements per hour, Winter: n ≥ 1060 measurements per hour).

Fig. 3: Weekly soil nitrogen and pH.
figure 3

Weekly mean (± standard error) (a) soil nitrate (µg NO3--N g soil−1), b soil ammonium (µg NH4+-N g soil−1), and c soil pH (n = 10 per week for 52 weeks). Manual soil measurements (0–10 cm depth) were conducted weekly from May 2018–May 2019.

Soil N2O fluxes were significantly greater in the summer and lowest in the fall (Fig. 3c, p < 0.001). Seasonal and diel trends in soil N2O fluxes further emphasized the importance of soil moisture changes from irrigation and rainfall events. Mean hourly N2O fluxes during summer periods, when most irrigation events occurred, were consistently greater than any other period (Fig. 3c, p < 0.001). Overall, daily mean N2O fluxes were positively correlated with weekly soil atmosphere N2O concentrations across depths, suggesting N2O production across the soil profile contributed to background soil N2O emissions (Supplementary Information, Fig. S1, 10 cm R2 = 0.60, p < 0.001, 30 cm R2 = 0.53, p < 0.001, 50 cm R2 = 0.45, p < 0.001). Temporal patterns in soil moisture, soil temperature, and bulk soil O2 concentrations covaried across all depths and were significantly related to patterns in net N2O fluxes on a daily timescale (Fig. S2, p < 0.05). Primary interactions between N2O and moisture, temperature, and O2 suggested that changes in N2O fluxes were generally in phase but lagged changes in these variables at daily and weekly timescales (Supplementary Information, Fig. S2, p < 0.05). At weekly and monthly timescales, N2O fluxes were predominantly associated with soil temperature and moisture at 10 and 30 cm depths (Supplementary Information, Fig. S2, p < 0.05). Wavelet coherence analyses suggested that short-term, hot moments of N2O emissions were stimulated by changes in moisture and O2 concentrations in surface soils, as well as sustained acidic soil conditions. Acidic soil pH (Fig. 3) and lagged responses of temperature and moisture were the predominant controls at longer timescales (Supplementary Information, Fig. S2, p < 0.05).

Continuous low-magnitude N2O production was an increasing fraction of total N2O emissions over time (Table 2). In contrast to hot moments, consistent low magnitude N2O fluxes were regulated by plant activity, soil moisture, and soil temperature throughout the soil profile. Increases in background (low magnitude) N2O emissions were positively correlated with periods of high gross primary productivity (GPP), measured with satellite observations of near-infrared reflectance of vegetation (NIRv, Supplementary Information, Fig. S3, p < 0.05)28. Alfalfa releases a small proportion of its symbiotically-fixed N as NH4+ to the soil52,53,54, and decreases in photosynthate supply to root nodules and exudates following shoot harvest may also limit C substrate availability to nitrifiers and denitrifiers55. While no relationships were observed between soil NO3- or NH4+ and N2O emissions during our weekly sampling campaign (Fig. 2b, Supplementary Information), observed coherence at a daily timescale between NIRv and N2O suggested plant-derived C or NH4+ availability may regulate low magnitude N2O emissions. Plants likely shifted C and N allocation to new plant growth immediately after cutting, leading to lower soil N2O emissions. Emissions increased over the growing season, possibly due to greater root exudation as aboveground plant biomass re-established.

Soil CH4 emissions

Soils were a small consistent net sink of CH4, accounting for only 0.06% of the total net C based-CO2e uptake over the four year period. Annual mean soil CH4 fluxes were −53.5 ± 2.5 mg CH4 m−2 y−1 (Table 1, range: −78.2 ± 8.8 to −31.6 ± 2.5 mg CH4 m−2 yr−1). The net CH4 sink was significantly greater in site year 4 than all other years (Table 1, p < 0.001). Sinks measured here were larger than others alfalfa ecosystem estimates10,31,56, likely from the lower detection limit of the CRDS and automated chambers. In contrast to expectations, decreases in bulk soil O2 concentrations did not appear to drive significant increases in net CH4 production or decreases in the CH4 sink (Fig. 1). Extended periods of soil anaerobiosis may be required to stimulate net CH4 production12,57, and this was not observed during the four year measurement period. We did observe a substantial increase in soil CH4 concentrations (but not surface fluxes) shortly following the largest decrease in soil O2 concentrations in March and April 2019 (Fig. 1, Supplementary Information, Fig. S8). Elevated soil moisture may have limited gas diffusion. Slower diffusion together with methanotrophic consumption near the soil surface likely regulated net soil CH4 efflux during this period58,59. We also observed significant variability in hourly mean diel CH4 fluxes (Fig. 3d), but this variability was not significantly correlated with any measured soil characteristics.

Methane fluxes varied in response to temperature across depths and timescales and temperature was the strongest control on net CH4 consumption (Supplementary Information, Fig. S4, p < 0.05). Decreases in soil moisture stimulated net CH4 consumption (Supplementary Information, Fig. S4, p < 0.05), likely due to increased diffusivity60,61 and O2 availability. Periods of CH4 uptake were highest in the late summer, occurring when soils were the driest throughout the soil profile (Fig. 1a,c). Lower soil moisture across the soil profile also generally corresponded to higher rates of CH4 uptake and lower overall soil moisture increased CH4 uptake with stand age, except for site year 2 (Table 1). Sustained CH4 consumption combined with observed trends in N cycling suggest that CH4 oxidation by nitrifiers or nitrification by methanotrophs62,63,64,65 could be regulating non-CO2 greenhouse gas production and consumption under oxic conditions.

Agroecosystem CO2 balance

Soil CO2 emissions were greater than other alfalfa ecosystems6, likely driven by a combination of high plant productivity, relatively high soil C content49, and warm temperatures throughout the growing season. Chamber CO2 fluxes, which here represent combined soil and root respiration, averaged 4925.9 ± 13.5 g CO2 m−2 yr−1 and were lower than ecosystem respiration (Reco) estimates (6451 ± 12 g CO2 m−2 yr−1) from the nearby eddy covariance observations (Table 1). Soil CO2 fluxes closely followed seasonal patterns in soil temperature, with similar trends in soil temperature observed across depths (Fig. 1a, b). Surprisingly, soil CO2 fluxes did not vary significantly with NIRv on a daily scale (Supplementary Information, Fig. S3, p < 0.05). Soil CO2 fluxes and NIRv covaried on weekly, monthly, and annual timescales highlighting the importance of plant harvesting and phenology in regulating soil respiration28.

To quantify for C removed from the field, we used mean annual yields of 595 ± 137 g C m−2 y−1 or 2,072 ± 502 g CO2 m−2 y−1 31. This is equivalent to 89% of NEE, with the remaining C (258.3 g CO2 m−2 y−1 or 70.4 CO2 m−2 y−1) assumed to be stored as belowground biomass or soil C. With this number, the CO2e of N2O emissions would then offset 70% of the net CO2 sink. The fate of harvested C was not considered in this study, which examined only ecosystem-scale fluxes. However, it should be noted that if conducting a life cycle analysis, harvested alfalfa is typically used as dairy or cattle feed, where alfalfa C is converted to a combination of both CO2 and CH466.

We observed significant differences in NIRv following alfalfa cutting events (Fig. 1c) and mean annual NIRv decreased significantly across the measurement period (Table 3, p < 0.01). Lags observed between NIRv and soil CO2 fluxes may represent a delayed response to photosynthate availability as plants likely reallocate new photosynthate to aboveground biomass production following harvest events67. Alfalfa in this region can be harvested up to seven times per year, where the majority of aboveground plant biomass is removed28,31. Cuttings corresponded to significant reductions in mean daily soil respiration values, although soil respiration values typically recovered within 5 to 7 days (Fig. 1a). Periods of increased plant growth rates following harvests likely resulted in a shift in C allocation from below- to aboveground68 and highlights the importance of substrate limitation on NEE29. If aboveground regrowth increases plant nutrient demands, it could induce a lagged response in belowground respiration driven by subsequent reallocation of photosynthate belowground followed by enhanced soil nutrient mining by microbial communities69. The observed lagged relationships between NIRv and ecosystem greenhouse gas fluxes may also represent delays between photosynthetic CO2 uptake and root C exudation processes. Short-term increases in soil moisture content and associated decreases in O2 availability throughout the year were also important controls on soil respiration (Supplementary Information, Fig. S5, p < 0.05). Soil temperature across depths was significantly associated with respiration rates across timescales.

Table 3 Moisture, rainfall, and NIRv

This combination of automated chambers, eddy covariance, soil sensing, and satellite imagery used here provided a comprehensive dataset of multi-year, annual, ecosystem-scale fluxes from a continuous alfalfa agroecosystem. We were able to determine the importance of both short-term hot moments and background emissions on total greenhouse gas budgets and explore scale-emergent drivers of N2O emissions. We found that N2O emissions reduced the net CO2e sink at the ecosystem-scale by up to 14% annually and offset 70% of the ecosystem C sink after accounting for harvest biomass removal (post-harvest fate of harvested alfalfa was not included in this calculation). As hypothesized, this was predominantly driven by rare hot moments of soil N2O emissions supplied by elevated soil NO3- pools and acidic soil conditions and stimulated by irrigation and rainfall events. Hot moments were ≤1% of measurements but averaged 44.4 ± 6.3% of annual N2O fluxes. Additionally, background fluxes were likely driven by sustained substrate availability that varied with moisture, temperature, and NIRv, a possible index of plant inputs to soil. Lagged relationships between NIRv, CO2, and N2O fluxes suggested that plant inputs were likely an important driver of soil CO2 fluxes and background N2O emissions. Our results show that N2O emissions likely significantly lower the field-scale C sink potential of this globally important crop. Hot moments of N2O emissions, typically underestimated with traditional measurement approaches, played an outsized role in annual ecosystem-scale greenhouse gas budgets, highlighting the importance of continuous measurement for accurate ecosystem-scale greenhouse gas accounting.

Methods

Site info

The study was conducted in the Sacramento-San Joaquin Delta region of California, USA (38.11°N, 121.5°W). The site was in conventional perennial alfalfa (>5 years) that was periodically flood-irrigated during the growing season. The site was located on highly degraded peatland soils that have lost a significant proportion of their initial organic matter49. Alfalfa and corn are the dominant agricultural land uses in the region, with alfalfa representing 20% of agricultural land area (32,000 ha) in the Sacramento-San Joaquin Delta70 and the largest crop by area in California (405,000 ha)71. Nearly 100% of alfalfa in California is irrigated, with flood irrigation being the most common practice71. The site had a Mediterranean climate with hot dry summers and cool wet winters. The region’s historical mean annual temperature was 15.1 ± 6.3 °C and a mean annual rainfall averaging 326 ± 4 mm23. Site year (January 27 - January 26) rainfall data was collected from a nearby (<1 km) Ameriflux site72. Near-infrared reflectance of vegetation (NIRv), a metric for canopy photosynthetic activity28, was calculated from daily 3 m resolution normalized difference vegetation index (NDVI) and near-infrared radiation (NIR) was collected from Planet Labs satellite imagery73,74,75. Near-infrared reflectance of vegetation was also used as a proxy for plant inputs to soils given that up to 20% of C fixed by photosynthesis is released by root exudation26,27.

Ryde is the major soil series found under alfalfa in the region, and is widespread across the Sacramento San Joaquin-Delta and along the central coast of California76. Ryde soils belong to the fine-loamy, mixed, superactive, thermic Cumulic Endoaquolls taxonomic class and are very deep, poorly drained soils formed in alluvium from mixed rock sources and decomposed vegetative matter76. Total soil C concentrations (mean ± standard error) were 5.26 ± 0.02% at 0–15 cm, 5.00 ± 0.15% at 15–30 cm, and 1.99 ± 0.09% at 30–60 cm49. Total soil N concentrations were 0.38 ± 0.003% at 0–15 cm, 0.35 ± 0.01% at 15–30 cm, and 0.16 ± 0.01% at 30–60 cm49.

Automated chamber measurements

Surface fluxes of N2O, CH4, and CO2 were measured continuously from January 2017 to February 2021 using an automated chamber system. The system consisted of nine opaque, automated gas flux chambers (eosAC, Eosense, Nova Scotia, Canada) connected to a multiplexer (eosMX, Eosense, Nova Scotia, Canada). The multiplexer allowed for dynamically signaled chamber deployment and routed gases to a cavity ring-down spectrometer (Picarro G2508, Santa Clara, CA, USA). Chambers were measured sequentially over a 10-min sampling period with a 1.5-min flushing period before and after each measurement.

Chambers were deployed in a 10 × 10 m grid design, with each chamber approximately 5 m from other chambers. Extended 15 cm soil collars were utilized to maintain measurement collection and ensure chambers were not inundated during irrigation or high rainfall events. Chambers were randomly assigned to either plant rows (n = 5) or inter-plant areas of bare soil (n = 4). Chambers remained in their original positions throughout the field campaign, except for short periods (<3 days) during field management activities (e.g., harvest, winter grazing). Foliage near chambers were minimally trimmed as needed between harvests if it inhibited chamber closure.

To determine chamber volume, chamber collar heights were measured approximately weekly and interpolated between measurements to account for changes in chamber height over time. Chamber volumes were also used to calculate the minimum detectable flux of 0.002 nmol N2O m−2 s−1, 0.06 nmol CO2 m−2 s−1, and 0.002 nmol CH4 m−2 s−1 77. The minimum detectable fluxes reported here are conservative estimates, as the actual chamber volume was always smaller than the maximum theoretical volume used to calculate these values.

Flux calculations and analyses were first performed using Eosense eosAnalyze-AC v. 3.7.7 software, then data quality assessment and control were subsequently performed in R (RStudio, v.1.1.4633)78. Fluxes were removed from the final dataset if they were associated with erroneous spectrometer cavity temperature or pressure readings or if any gas concentrations were negative, corresponding to instrument malfunction. Fluxes were also removed if the chamber deployment period was less than 9 min or greater than 11 min, indicative of chamber malfunction. Calculated linear and exponential fluxes were compared using estimate uncertainty to estimate ratios, and in cases where both the linear and exponential models produced high uncertainty, the individual flux was eliminated from the dataset. Data filtering removed 2.1% of flux measurement periods, generating a final dataset of 108,638, 103,013, and 102,997 simultaneous flux measurements of CO2, N2O, and CH4, respectively. Following data filtering, all statistical analyses were performed using JMP Pro 15 (SAS Institute Inc., Cary, NC). Differences in site year, hourly, and seasonal mean flux values were analyzed with one-way ANOVAs followed by post-hoc Tukey tests. Values reported in the text are means ± standard errors unless otherwise noted.

To quantify site-level CO2 uptake49 and calculate site-level global warming potential (GWP) we utilized annual net ecosystem exchange (NEE) estimates from a nearby (<1 km) Ameriflux tower72 in alfalfa grown with identical management practices and soil type. Here we used the eddy covariance technique79 to capture continuous, long-term exchange of CO2, CH4, H2O, and energy fluxes between the landscape and the atmosphere, along with measurements of environmental drivers80. Fluxes were measured at a frequency of 20 Hz using open-path infrared gas analyzers (LI-7500 for CO2 and H2O, LI-7700 for CH4, LiCOR Inc., Lincoln, NE, USA) that were calibrated at least every 6 months. Sonic anemometers measured sonic temperature and three-dimensional wind speed at 20 Hz (WindMaster Pro 1590, Gill Instruments Ltd, Lymington, Hampshire, England). To convert N2O and CH4 flux measurements to CO2e, we used the IPCC AR5 100-year GWP values of 28 CO2e for CH4 and 298 CO2e for N2O81.

Quantifying hot moments of greenhouse gas emissions

This large, continuous dataset allowed us to quantify N2O hot moments and their impact on total N2O emissions. Following data filtering, the quantity and magnitude of hot moment measurements and their impact on annual flux estimates were determined. We defined hot moments as flux measurements with values greater than four standard deviations from the mean12, as statistically 99.9% of the population should fall within four standard deviations of the mean. Yearly mean flux values were then calculated for only hot moment fluxes, the entire flux dataset, and the flux dataset with hot moment observations removed to determine the impact of outlier fluxes on annual greenhouse gas emissions. Given our large and continuous dataset, we could also compare mean fluxes with and without high flux events12,82 to better quantify the importance of hot moments.

Weekly soil measurements

Weekly soil samples (0–15 cm depth, n = 10 week−1) were randomly collected with a 6 cm diameter soil auger within 30 m of the chamber array from April 2018 to May 2019. Soil samples were analyzed for gravimetric soil moisture, soil pH, and 2 M potassium chloride (KCl) extractable nitrate (NO3) plus nitrite (NO2) and ammonium (NH4+). For KCl extracts, we utilized a 5:1 ratio of 2 M KCl volume to oven dry equivalent (ODE) soil that were shaken for 1 h and subsequently filtered with Whatman Grade 1 filter paper83. The KCl extracts were then analyzed colorimetrically for NH4+ and NO3- using an AQ300 analyzer (Seal Instruments, Mequon, WI). Soil moisture was determined gravimetrically by drying 10 g of field-fresh soil to a constant weight at 105 °C. Soil pH was measured in a slurry of 10 g of field-fresh soil in 10 mL of distilled deionized water84.

Soil sensor measurements

Two sets of soil sensors were installed from September 2018-February 2021 at depths of 10 cm, 30 cm, and 50 cm. This included SO-110 oxygen (O2) and soil temperature sensors (Apogee Instruments, Logan, UT) and CS616 moisture sensors (Campbell Scientific, Logan, UT) connected to a CR1000 datalogger (Campbell Scientific, Logan, UT) storing data at 15 min intervals. Sensors remained installed throughout the year. Erroneous data corresponding to sensor malfunction were removed from the dataset, which included 1.7% of soil moisture measurements and 3.4% of soil O2 measurements. In total, there were 73 of 839 days missing during the soil sensor measurement period.

Weekly soil depth gas samples

Two replicate soil gas samples were taken for CO2, CH4, and N2O at 10 cm, 30 cm, and 50 cm depths weekly from September 2018 to December 2019. Instrument grade stainless steel 1/8” tubing (Restek, Bellefonte, PA) was installed in parallel to the soil sensors above, with approximately 15 cm of tubing installed with multiple sampling holes parallel to the soil surface. Sampling septa (Restek, Bellefonte, PA) were installed in 1/8” Swagelok union (Swagelok, Solon, OH) permanently connected to the stainless-steel tubing. Septa were changed monthly. Gas samples were collected weekly with 30 ml BD syringes after first clearing the tubing dead volume. Short periods of soil inundation following extensive rainfall (March-April 2019) made it impossible to collect gas samples from some depths. Samples were stored in over-pressurized 20 ml glass vials with thick septa (Geomicrobial Technologies, Oechelata, OK) until manual sample injection analysis on a Shimadzu GC-34 (Shimadzu Corp., Tokyo, Japan). Generalized pairwise regression analyses were used to explore the relationships between measured soil atmosphere CO2, CH4, and N2O concentrations and surface soil CO2, CH4, and N2O fluxes.

Wavelet coherence analysis

Wavelet coherence analysis was used to identify interactions between soil greenhouse gas fluxes, NIRv, and the soil variables (O2, moisture, and temperature at 10, 30, and 50 cm) measured12,85,86. Wavelet coherence is a tool for comparing time series and is used to determine significance, causality and scale-emergent interactions between variables16,80,87. Wavelet coherence measures the cross-correlation between time series and allowed us to explore relationships between greenhouse gas fluxes and potential controls of NIRv, O2, moisture, and temperature at daily, monthly, and annual timescales. Wavelet coherence is derived from two time series as a function of decomposed frequency (Wave.xy) and the wavelet power spectrum (Power.x, Power.y) of each individual time series:

$${{{{{\rm{Coherence}}}}}}=\frac{{\left|{{{{{\rm{Wave}}}}}}.{xy}\right|}^{2}}{{{{{{\rm{Power}}}}}}.{x\,\cdot \,}{{{{{\rm{Power}}}}}}.y}$$
(1)

This approach allows for continuous wavelet-based analysis of univariate and bivariate time series, facilitating comparisons of time series data across scales, leads, and lags86,88. Missing data were replaced with zeroes to compute an unbiased estimator of the wavelet variance for time series with missing observations86,89. Statistical significance (p-value) was computed using 1000 Monte Carlo simulations. All wavelet decomposition and coherence calculations were conducted using the WaveletComp 1.1 R package88.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.