Matt DuystProjects

University of Minnesota, Griffis lab. 2022, rebuilt 2026.

Forecasting and reconstructing monthly methane flux at Marcell Bog Lake Peatland

Year
2022
Role
Visiting Research Scientist, Dr. Timothy Griffis Lab
Stack
Python, AmeriFlux BASE and FLUXNET data
Links
Repository
Rebuilt
2026

Marcell Bog Lake Peatland is a poor fen in north-central Minnesota. A tower there has measured carbon dioxide since 2007 and methane since 2009, at a site with one of the longest-running peatland monitoring programs. This project asks two questions of it. How far ahead can monthly flux be forecast from the tower's own history and four measured drivers (soil temperature, air temperature, precipitation, and water table)? And can relationships learned on the measured years reach back to 1990, when the drivers begin? The answers come from seasonal decomposition, machine learning forecasts tested against simple benchmarks, and a backcast checked for how far it strays from the data it learned on. What the peatland does each year is predictable; how much it does is not, and the record so far cannot say why.

The site

The tower stands in a poor fen at 47.5051 N, 93.4893 W, with upland forest to the east and southeast. Flux arriving from 30 to 200 degrees is discarded before publication, which removes 40 percent of the record. The site was left out of the FLUXNET-CH4 synthesis, so no community gap-filled product exists for it; this study works from the tower's own published record.

The flux tower and the wind directions it measures
FindingUpland forest to the east and southeast puts 40 percent of the half-hours in a discarded wind sector.MeasureWind direction, half-hourly, 2009 to 2019, with the wetland outline from the National Wetlands Inventory.SourcePeatland-Flux-Forecasting README, figures/site_overview.png, from AmeriFlux US-MBPCreditFigure: M. Duyst

The record

The environmental measurements begin in 1990, nineteen years before either flux record used here does, and that gap is the span the reconstruction covers. Air temperature and precipitation stop at the end of 2019, which ends the months the models could learn from and leaves 60 months of methane the tower recorded but the models cannot use. Forecasts inherit the same limit.

Which months each measurement and each analysis cover
FindingAir temperature and precipitation end in 2019, which leaves 60 months of measured methane that no model can use.MeasureMonths with data in each record, 1990 to 2024, and the span each analysis could use.SourcePeatland-Flux-Forecasting README, figures/covariate_availability.png, from AmeriFlux US-MBPCreditFigure: M. Duyst

The seasonal shape

One average shape for the whole record, the same twelve values repeated every year, accounts for 74 percent of the variation in methane and 71 percent in carbon dioxide. What remains is the size of each season, which varies more than fourfold on methane between its weakest year and its strongest, with no trend. That year-to-year variation is what nothing tested here predicted.

The seasonal cycle in monthly flux
FindingOne repeating seasonal shape explains 74 percent of the variation in methane and 71 percent in carbon dioxide.MeasureMonthly mean flux and its residual, methane and carbon dioxide, 2009 to 2024.SourcePeatland-Flux-Forecasting README, figures/seasonal_cycle.png, from AmeriFlux US-MBPCreditFigure: M. Duyst

Forecasts

Four fitted methods (ordinary least squares, ridge regression, random forest, and gradient boosting), each run with and without lagged drivers, were compared against four benchmarks at horizons from one to twelve months, rebuilt every month as the record grew. The forecasts follow the seasonal cycle closely. What they miss is how large each season will be: in 12 of the 57 evaluated methane months the measured flux fell below every fitted model.

Monthly methane and carbon dioxide forecast error
FindingNo fitted method beats the seasonal average at any horizon on either gas.MeasureScaled forecast error at one to twelve months, four methods against four benchmarks.SourcePeatland-Flux-Forecasting README, figures/forecast_error_by_horizon.png, from AmeriFlux US-MBPCreditFigure: M. Duyst
Observed and predicted monthly flux
FindingIn 12 of the 57 evaluated methane months the measured flux fell below every fitted model.MeasureObserved and predicted monthly flux from rolling-origin forecasts, methane and carbon dioxide.SourcePeatland-Flux-Forecasting README, figures/observed_and_predicted.png, from AmeriFlux US-MBPCreditFigure: M. Duyst
Which measurements the models used
FindingThe models chose temperature most and the water table least, taking what the date already explains.MeasureShare of monthly rebuilds that selected each of six inputs, by horizon.SourcePeatland-Flux-Forecasting README, figures/measurements_used_across_forecast_horizons.png, from AmeriFlux US-MBPCreditFigure: M. Duyst
Prediction error by year
FindingAcross every evaluated year but methane in 2015 the misses are similar in size and vary in direction.MeasureScaled prediction error by evaluated year, methane and carbon dioxide.SourcePeatland-Flux-Forecasting README, figures/prediction_error_by_year.png, from AmeriFlux US-MBPCreditFigure: M. Duyst

The models reached for what the date already predicts and left alone what it does not, choosing temperature most and the water table least on methane. Across every evaluated year but methane in 2015 the misses are similar in size and vary in direction.

The backcast

Relationships fitted on the measured years can be projected into the earlier ones, but the water table term has to be assumed beyond the range the fit covered. The model only ever saw the water table across a 0.33 meter band; projecting back to 1990 asks for 0.29 meters above it. Refitting on progressively drier months shows the coefficient climbing at every step, which means it describes the months it was fitted on rather than the peatland. The three assumptions drawn give annual totals from 8 to 30 grams of carbon per square meter, and almost none of it can be checked, because methane measurement stopped in 1992 and did not resume until 2009.

Monthly water table elevation
FindingProjecting back to 1990 needs water table levels 0.29 m above the 0.33 m band the model was fitted on.MeasureMonthly water table elevation, 1990 to 2019, against the fitted range.SourcePeatland-Flux-Forecasting README, figures/water_table_support.png, from AmeriFlux US-MBPCreditFigure: M. Duyst
The water table coefficient refitted on drier months
FindingThe water table coefficient climbs at each of four steps as the fit is restricted to drier months, but every step's interval overlaps the first.MeasureFitted water table coefficient over four progressively drier subsets, weighted and unweighted.SourcePeatland-Flux-Forecasting README, figures/coefficient_stability.png, from AmeriFlux US-MBPCreditFigure: M. Duyst
Reconstructed methane emission
FindingThree treatments of the water table term give annual totals from 8 to 30 g C per square meter for 1990 to 2008.MeasureReconstructed monthly methane emission, 1990 to 2008, under three assumptions.SourcePeatland-Flux-Forecasting README, figures/reconstruction_series.png, from AmeriFlux US-MBPCreditFigure: M. Duyst

Diagnostic

Of the four checks, two distributions on weighted and unweighted residuals, only Laplace on the unweighted residuals holds. Nothing here changes what the study concludes: its intervals are built from the residuals themselves and assume no distribution at all.

Diagnostic check on model errors
FindingOf four checks, only Laplace on the unweighted residuals holds, and the study's intervals assume no distribution.MeasureModel residuals against Laplace and Gaussian testing bands, weighted and unweighted.SourcePeatland-Flux-Forecasting README, figures/residual_distribution_check.png, from AmeriFlux US-MBPCreditFigure: M. Duyst

Reproduction

The 2022 study built an ensemble of LightGBM, SARIMAX, Prophet, and XGBoost over ordinary least squares; soil temperature was the strongest signal, with a Pearson r of 0.87 with methane flux, and the ordinary least squares regression yielded an R² of 0.78. It was rebuilt from source in 2026 as a monthly study of the full 2009 to 2024 record. The rebuilt finding is narrower and more useful, and it is the one on this page.

Appendix

Code
matt-duyst/Peatland-Flux-Forecasting, with the working notes that record each decision.
Data
The tower's published record at AmeriFlux US-MBP, Marcell Bog Lake Peatland: the BASE product and the FLUXNET 2009 to 2024 release.
Acknowledgments
The Griffis lab at the University of Minnesota, where the 2022 work was done, and the USDA Forest Service, which runs the Marcell Experimental Forest and the tower.
Next projectUrban expansion, paddy rice, and atmospheric methane over the Yangtze River Delta