get.oi.sst: Download OI Sea Surface Temperature (SST) data

Description Usage Arguments Details Value Author(s) References

View source: R/get.oi.sst.r

Description

get.oi.sst downloads sea surface temperature (SST) data for given temporal and spatial constraints of your data.

Usage

1
2
get.oi.sst(limits, time, filename = "", download.file = TRUE,
  dir = getwd())

Arguments

limits

A list of length 4; minlon, maxlon, minlat, maxlat. Longitude values are -180,180

time

A vector of length 2 with the minimum and maximum times in form as.Date(date).

filename

An optional filename. If provided, then the data is downloaded to that file. Otherwise the data is not downloaded and the url is returned.

download.file

Logical. Should use the default download.file to query the server and download or use the optional curl. Some users may need to use curl in order to get this to work.

dir

is local directory where ncdf files should be downloaded to. default is current working directory. if enter a directory that doesn't exist, it will be created.

Details

The method may return before the download is completed. It will continue to display progress until the download completes. Change the default download.file if the download is failing on your platform.

Value

The url used to extract the requested data from the NetCDF subset service.

Author(s)

Function originally written for R by Ben Jones (WHOI) and modified by Camrin Braun and Ben Galuardi.

References

https://www.ncdc.noaa.gov/oisst


HMMoce documentation built on Nov. 17, 2017, 5:57 a.m.