Published 2024 | Version v2
Workflow Open

What can we learn from 100,000 freshwater forecasts? A synthesis from the NEON Ecological Forecasting Challenge: scripts

Description

This archive includes code to recreate the figures in the paper entitled:
 "What can we learn from 100,000 freshwater forecasts? A synthesis from the NEON Ecological Forecasting Challenge". The scripts should be run as follows:

  1. install_packages.R - script that includes the required packages and installation instructions
  2. manuscript_plots.Rmd - code to generate the plots in the main manuscript
  3. supplementary_plots.Rmd - code to generate the plots in the supplementary information
  4. R folder contains helper functions and scripts

Running this code

To reproduce the figures from the manuscript you can access and run the code yourself by downloading the scripts.zip folder above. 

-   Unzip this to a location on your PC and open the manuscript_plots.Rmd and then the supplementary_plots.Rmd file in RStudio.
-     You can either run each chunk seperately or knit the whole document.
-    The first section of the manuscript_plots.Rmd will download and extract the archived scores and targets from the Zenodo data publication (Olsson et al., 2024). 
-    Both scripts will save plots to a new Plots directory.

Note: If you do not have the required packages run the install_packages.R script first.

------------------------------------------------------------------------
Olsson, F., Carey, C. C., Carl, B., Gregory, H., Ladwig, R., Lapeyrolerie, M., Lewis, A. S. L., Lofton, M., Montetealegre-Mora, F., Rabaey, J. S., Robbins, C. J., Yang, X., & Thomas, R. Q. (2024). 
What can we learn from 100,000 freshwater forecasts? A synthesis from the NEON Ecological Forecasting Challenge: scores and targets [Data set]. Zenodo. https://doi.org/10.5281/zenodo.11087208

Files

scripts.zip

Files (11.8 kB)

Name Size Download all
md5:dfab6be0323d77dd3e68ee13625847e1
11.8 kB Preview Download

Additional details

Related works

Requires
Dataset: 10.5281/zenodo.11087208 (DOI)

Funding

U.S. National Science Foundation
NEON RCN: The Ecological Forecasting Initiative RCN: Using NEON-enabled near-term forecasting to synthesize our understanding of predictability across ecological systems and scales 1926388
U.S. National Science Foundation
Collaborative Research: CIBR: Cyberinfrastructure Enabling End-to-End Workflows for Aquatic Ecosystem Forecasting 1933016