get.hycom downloads HYbrid Coordinate Ocean Model (HYCOM) data for
given temporal and spatial constraints of your data.
get.hycom(limits, time, vars = c("water_temp"), include_latlon = TRUE,
filename = "", download.file = TRUE, dir = getwd(), depLevels = NULL)A list of length 4; minlon, maxlon, minlat, maxlat. Longitude values are -180,180
A vector of length 2 with the minimum and maximum times in form
as.Date(date).
A list of variables to download. This can contain 'water_temp', 'water_u', 'water_v', 'salinity' or 'surf_el' but is not checked for errors.
Should the array of latitude and longitude values be included?
An optional filename. If provided, then the data is downloaded to that file. Otherwise the data is not downloaded and the url is returned.
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.
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.
is an integer describing which depth levels to download from Hycom (e.g. 1=surface). Default is NULL and all levels are downloaded.
The url used to extract the requested data from the NetCDF subset service.
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.