| lakefetch_options | R Documentation |
Get or set options that control the behavior of lakefetch functions.
lakefetch_options(...)
... |
Named arguments to set options. If empty, returns all current options. |
Available options:
GPS accuracy buffer in meters (default: 10)
Direction resolution in degrees (default: 5)
Maximum fetch distance in meters (default: 50000)
Shore detection validation buffer (default: 10)
Default wind speed in m/s (default: 10)
Default water depth in meters (default: 10)
Buffer for matching sites to lakes (default: 100)
Effective fetch calculation method: "top3" (mean of 3 highest directional fetches, default), "max" (maximum directional fetch), or "cosine" (SPM/CERC cosine-weighted average across 9 radials at 6-degree intervals; see Shore Protection Manual, 1984)
Fetch threshold below which sites are classified as "Sheltered" (default: 2500 m). This is a practical default; no universal standard exists in the literature. Adjust based on your study system.
Fetch threshold above which sites are classified as "Exposed" (default: 5000 m). Sites between thresholds are "Moderate". See Mason et al. (2018) for Great Lakes exposure mapping methodology.
Proportion of lake maximum fetch below which sites are classified as "Sheltered" in the relative exposure system (default: 0.25). Sites are classified relative to the lake's longest internal chord (maximum possible fetch).
Proportion of lake maximum fetch above which sites are classified as "Exposed" in the relative exposure system (default: 0.50). Sites between thresholds are "Moderate".
Use parallel processing for multi-lake (default: TRUE)
Use NHD integration if available (default: TRUE)
If no arguments, returns a list of all current options. If arguments provided, sets those options and returns invisible NULL.
Shore Protection Manual (1984). U.S. Army Corps of Engineers, Coastal Engineering Research Center. 4th Edition.
Mason, L. A., Riseng, C. M., Laber, A. L., & Rutherford, E. S. (2018). Effective fetch and relative exposure index maps for the Laurentian Great Lakes. Scientific Data, 5, 180295.
# Get all options
lakefetch_options()
# Get specific option
lakefetch_options()$buffer_distance_m
# Set options
lakefetch_options(buffer_distance_m = 20, angle_resolution_deg = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.