ooi_download_data: Take dodsC OpenDAP URLs, converts to fileServer URLs, and...

Description Usage Arguments Value Examples

View source: R/ooi_download_data.R

Description

Take dodsC OpenDAP URLs, converts to fileServer URLs, and downloads data to a given directory as a NetCDF.

Usage

1
ooi_download_data(remote, directory = getwd())

Arguments

remote

A list of OpenDAP urls where OOI data is located. Must all be from the same instrument type.

directory

Default is to use the current working directory. If a directory is set in an R readable fashion, data will be downloaded to that directory.

Value

A list of full filepath filenames where the data was downloaded. Further utilized by the ooi_get_data() function.

Examples

1
local = ooi_download_data(remote,'C:/Users/Ian/Desktop') #Downloads data to my desktop.

oceanobservatories/ooim2mr documentation built on Oct. 2, 2020, 4:29 p.m.