This function downloads buoy data from various programs including...
Arguments
- program
argument specifying the desired oceanographic program to download buoy data from. Options include
MEDS
, etc.- ID
For
MEDS
this argument is either a location name or ID number.- destdir
a character value indicating the directory in which to store downloaded files.
- 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 less than
age
days in the past, it will not be downloaded again. Settingage=0
(which is the default) forces a download.- debug
an integer value indicating the level of debugging. If this exceeds 0, then some debugging messages will be printed. This value is passed down to related functions, but with 1 subtracted for each pass.