Learn R Programming

xtractomatic (version 3.4.2)

getErddapURL: Download Data using an ERDDAP URL

Description

Download Data using an ERDDAP URL

Usage

getErddapURL(myURL, destfile, verbose = FALSE)

Arguments

myURL

A character string containing the full ERDDAP URL

destfile

A character string with the name of the file to store the returned data, a netcdf file

Value

downloadReturn returns 0 is successful, -1 otherwise