getProfileFromUrl {argoFloats} | R Documentation |
Get Data for an Argo Float Profile
Description
Get Data for an Argo Float Profile
Usage
getProfileFromUrl(
url = NULL,
destdir = argoDefaultDestdir(),
destfile = NULL,
age = argoDefaultProfileAge(),
retries = 3,
quiet = FALSE,
debug = 0
)
Arguments
url |
character value giving the URL for a NetCDF file containing an particular profile of a particular Argo float. |
destdir |
character value indicating the directory in which to store
downloaded files. The default value is to compute this using
|
destfile |
optional character value that specifies the name to be used
for the downloaded file. If this is not specified, then a name is determined
from the value of |
age |
a numerical value indicating a time interval, in days. If the file
to be downloaded from the server already exists locally, and was created
is less than |
retries |
integer telling how many times to retry a download, if the first attempt fails. |
quiet |
logical value; use |
debug |
integer value indicating level of debugging. If this
is less than 1, no debugging is done. Otherwise, some functions
will print debugging information. If a function call fails, the
first step should be to rerun the function with |
Value
A character value naming the local location of the downloaded file,
or NA
if the file could not be downloaded.
Author(s)
Dan Kelley