download.neracoos.buoy: Download NERACOOS buoy CTD data

View source: R/neracoos.R

download.neracoos.buoyR Documentation

Download NERACOOS buoy CTD data

Description

Download hourly buoy CTD data hosted by Northeastern Regional Association of Coastal Ocean Observing Systems (NERACOOS) from the ERDDAP server.

Usage

download.neracoos.buoy(buoyName, startDate, endDate, destdir = ".")

Arguments

buoyName

A character string identifying the name of the buoy. As of now 20210104 a good definition of all the buoy data currently available has not been identified. Although, the old method of downloading the data has a list of buoy names with a more descriptive name, http://www.neracoos.org/datatools/historical/graphing_download.

startDate

A character string in the format yyyy-mm-dd identifying the start of the desired timeseries beginning at 00:00UTC

endDate

A character string in the format yyyy-mm-dd identifying the end of the desired timeseries ending at 23:59UTC

destdir

Optional string indicating the directory in which to store downloaded files. If not supplied, "." is used, i.e. the data file is stored in the present working directory. Also, the directory will be created if not already done so.

Details

This function downloads data from the NERACOOS ERDDAP. It has been specifically written to download CTD data from their buoy sites. Data chosen to download includes all variables, including QC flags. The file is downloaded as a netcdf file and is output with the following naming convention, buoyName_sbe37_all_startDate_endDate.nc , which uses the supplied parameters.

Author(s)

Chantelle Layton


clayton33/csasMarPhys documentation built on June 8, 2025, 3:10 a.m.