matchSeascape: Match Seascape Class to Data

View source: R/matchSeascape.R

matchSeascapeR Documentation

Match Seascape Class to Data

Description

Downloads and matches relevant Seascape class data from the ERDDAP (Environmental Research Division's Data Access Program) server at https://cwcgom.aoml.noaa.gov/erddap/index.html. More information on theclasses can be found on the help page for the seascapeR package https://marinebon.github.io/seascapeR/index.html.

Usage

matchSeascape(x, type = c("monthly", "8day"), progress = TRUE)

Arguments

x

a dataframe with columns UTC, Latitude and Longitude to add environmental data to

type

the type of seascape data to download, one of "monthly" or "8day"

progress

logical flag whether or not to show download progress

Details

This function is just a wrapper around matchEnvData pointing to the specific base URL and dataset ID relevant for seascape data

Value

the same dataframe as x, but with new columns seascapeClass and seascapeProb representing the "CLASS" and "P" variables from the dataset

Author(s)

Taiki Sakai taiki.sakai@noaa.gov


PAMscapes documentation built on April 4, 2025, 2:17 a.m.