download.nefsc.erddap: Download NODC NEFSC data from erddap server

View source: R/nefsc.R

download.nefsc.erddapR Documentation

Download NODC NEFSC data from erddap server

Description

Download data hosted by the National Oceanic and Atmospheric Administration (NOAA) Northeast Fisheries Science Center (NEFSC).

Usage

download.nefsc.erddap(startDate, endDate, destdir = ".")

Arguments

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 hosted by the National Oceanic and Atmospheric Administration (NOAA) Northeast Fisheries Science Center (NEFSC) from the ERDDAP server. Saves a .nc file in supplied destdir.

Value

a character string of the filename.

Author(s)

Chantelle Layton


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