windscape

[R PACKAGE] An R package for modeling wind dispersal landscapes.

windscape app screenshot

Overview

I work a lot with wind data as part of my research exploring how biodiversity is shaped by the effects of global wind patterns on the dispersal of seeds, pollen, and spores between sites. windscape is an R package I developed that provides a set of tools for conducting analyses like these. It includes functions to help you download wind data, model wind connectivity times across a landscape, visualize the results, and test statistical relationships between wind and ecological data.

Key Features

  • Wind data acquisition tools to download hourly wind data from the Climate Forecast System Reanalysis (CFSR)
  • Connectivity modeling using either least-cost path or random walk algorithms to simulate dispersal across landscapes
  • Visualization functions for mapping wind flow patterns and creating connectivity diagrams
  • Statistical testing framework for analyzing relationships between wind connectivity and ecological patterns
  • Flexible simulation parameters to model different dispersal scenarios based on wind speeds, directions, and barriers

The package handles directional wind flow through “directed cyclic” graph structures, making it particularly suitable for modeling asymmetric connectivity patterns that can’t be addressed with traditional circuit theory approaches.

Applications

windscape is designed for researchers studying:

  • Landscape genetics and how gene flow is shaped by wind-mediated dispersal
  • Biogeography of wind-dispersed organisms like plants, fungi, and insects
  • Climate change vulnerability assessment for wind-dispersed species
  • Invasive species spread via airborne pathways
  • Aerobiological processes like pollen transport and disease vectors

This framework has been used in my published research on global wind patterns and their effects on genetic differentiation, gene flow, and climate change vulnerability in trees.

Resources

This R package also underlies the WINDSCAPE web app, a little interactive web tool I built that models and visualizes the wind dispersal landscape, or windscape, for any location on earth. You just click the map to select a site, choose between “inbound” (upwind) or “outbound” (downwind) dispersal, and voila: a global map of relative accessibility by wind.

The package is available on GitHub and can be installed with devtools::install_github("matthewkling/windscape").

windscape web app screenshot