cpcDownloadOneDay: Download a single CPC data file

Description Usage Arguments Details Value Author(s)

View source: R/cpcDownloadOneDay.R

Description

Download CPC Data for a Single Day

Usage

1
cpcDownloadOneDay(date, download_folder = getwd(), overwrite = FALSE)

Arguments

date

R date object

download_folder

the directory to which you want to download the raw files. Defaults to current directory.

overwrite

if TRUE, will overwrite an existing file in the directory. If FALSE and a file with the same name exists, will download anything, but return successful.

Details

This function returns CPC precipitation data for a single date. Since the server can be a bit touchy, will try up to five times to connect to the server and download the data.

Value

returns TRUE if the data was downloaded successfully and FALSE otherwise

Author(s)

Gopi Goteti

James Doss-Gollin


jdossgollin/cpcRain documentation built on April 3, 2018, 12:28 a.m.