getSST: GetSST

Description Usage Arguments See Also

View source: R/getERDDAP.R

Description

GetSST Retrieves 2x2 degree aggregated SST data from the ERDDAP SERVER https://github.com/ropensci/rerddap

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
getSST(
  df,
  lat = "LAT",
  lon = "LON",
  hitrans = T,
  meanloc = F,
  grouploc = "Site",
  info = "erdBAsstamday",
  dates = c("2012-07-16", "2013-09-16"),
  buffer = 2
)

Arguments

df

a dataframe containing latitudes ("LAT") and longitude ("LONG") values, either aggregated by site or individual records

lat

the column name with decimal degrees latitude

lon

the column name with decimal degrees longitude

hitrans

logical. If T, negative coordinates will be recentered around Hawaii so the Pacific ocean is whole. Note that this is required for use with many errdap datasets.

meanloc

logical. If T, function will determine mean lat and long for each site (if many records per site).

grouploc

If meanloc is T, provide grouping column (e.g. "site") for mean lat and long.

info

Optionally select another griddap dataset; default is erdBAsstamday

dates

Two dates in YYYY-MM-DD format, between which all SST values will be averaged.

buffer

Number in decimal degrees that will be added to each location when searching for data

See Also

ed_search(query = "OCEANWATCH SST GOES-POES")


mkapur/kaputils documentation built on Nov. 14, 2021, 3:23 a.m.