A Practical Guide to Ecosystem Forecasting


Co-director of Virginia Tech Center for Ecosystem Forecasting

Departments of Forest Resources and Environmental Conservation and Biological Sciences

Virginia Tech


June 13, 2024


This book is designed for a graduate class in ecological forecast (Virginia Tech graduate course FREC 5174: Ecological Modeling and Forecasting) and for use as a how-to-guide for ecological forecasting. It leverages work through the NSF-funded Macrosystems EDDIE (DEB-1926050) and Ecological Forecasting Initiative Research Coordination Network (DEB-1926388) projects. It includes training materials developed by the Macrosystems EDDIE forecasting team at Virginia Tech (Cayelan Carey, Mary Lofton, Tadhg Moore, Whitney Woelmer), Freya Olsson (NEON Ecological Forecasting Challenge workshop), Mike Dietze (Terrestrial carbon flux tutorial and modified activities from his Ecological Forecasting; Dietze (2017)), and John Smith (NEON carbon data processing code). The imprint of Carl Boettiger on the materials is throughout the book.

The book uses R code to teach concepts by example (hence the name “A practical guide”). The book includes very few equations because often I find myself wishing I had code to better understand equations in papers. It also uses a “from scratch” approach that provides code with the details of key algorithms (like Markov Chain Monte Carlo Metropolis Hastings and the boot strap particle filter). Future work on this book could add examples of how to implement the analyses using existing R packages (e.g., JAGS and Nimble). In practice, using these packages is better because they can improve efficiency and accuracy of estimates. Finally, there are few places where I make functions that hide the details but these are cases where the algorithms are highly specific to the application (e.g., access weather data from a specific server).

The book is a near-term iterative forecast itself. It automatically rebuilds every day using GitHub actions. Each build accesses 1) the latest NEON data and NOAA weather forecasts, 2) assimilates the data into a process-based ecosystem model, 3) and generates a new forecast of daily net ecosystem exchange (NEE) for one NEON site (OSBS). The forecast is submitted to the NEON Ecological Forecasting Challenge. As a result, the NEON data in Chapter 18 and the forecast in Chapter 21 should be near real-time.

The terms ecosystem forecasting and ecological forecasting will be used interchangeability throughout the book. The use of ecosystem forecasting in the title reflects the focus on ecosystem-scale data in the book and to distinguish from Mike Dietze’s excellent book called Ecological Forecasting Dietze (2017).

The book is a work in progress that involves harmonizing materials developed for many different use-cases (undergraduate courses, tutorials, graduate classes). As a result there are likely to differences among chapters in style and approaches to assignments.

I welcome feedback on the book through GitHub issues and/or Pull Requests.

This online book is licensed under the CC BY-NC-ND 4.0 license