
lakefetch: Calculate Fetch and Wave Exposure for Lake Sampling Points
Source:R/zzz.R
lakefetch-package.RdThe lakefetch package provides tools for calculating fetch (open water distance) and wave exposure metrics for lake sampling points. It downloads lake boundaries from OpenStreetMap, calculates directional fetch using ray-casting, and optionally integrates with NHD for hydrological context.
Main Functions
fetch_calculateMain entry point for fetch calculation
load_sitesLoad and validate site data
get_lake_boundaryGet lake boundary from OSM or file
add_lake_contextAdd NHD hydrological context
fetch_appLaunch interactive Shiny app
Visualization
plot_fetch_mapMap of sites colored by exposure
plot_fetch_barsBar chart of effective fetch
plot_fetch_roseRose diagram for single site
create_ray_geometriesCreate ray lines for mapping
Configuration
lakefetch_optionsGet/set package options
lakefetch_reset_optionsReset options to defaults
Author
Maintainer: Jeremy Lynch Farrell farrej2@rpi.edu