cpc_get_rawdata: Download rainfall data from CPC for the time period of...

Description Usage Arguments Value Author(s) Examples

View source: R/cpc_get_rawdata.R

Description

Download rainfall data from CPC for the time period of interest

Usage

1
cpc_get_rawdata(begYr, begMo, begDay, endYr, endMo, endDay, usa = FALSE)

Arguments

begYr

beginning year of the time period of interest, 1979/1948 - present

begMo

beginning month of the time period of interest, 1 - 12

begDay

beginning day of the time period of interest, 1 - 28/29/30/31

endYr

ending year of the time period of interest, 1979/1948 - present

endMo

ending month of the time period of interest, 1 - 12

endDay

ending day of the time period of interest, 1 - 28/29/30/31

usa

logical flag to indicate whether global or usa data is desired

Value

downloads either a ".gz" file (2008 or before) or a ".bin" file (2009 - present)

Author(s)

Gopi Goteti

Examples

1
2
3
4
5
6
7
## Not run: 
# CPC global data for July 3-5 2014
cpc_get_rawdata(2014, 7, 3, 2014, 7, 5)
# CPC USA data for July 3-5 2014
cpc_get_rawdata(2014, 7, 3, 2014, 7, 5, usa = TRUE)

## End(Not run)

Example output

There were 30 warnings (use warnings() to see them)
There were 30 warnings (use warnings() to see them)

raincpc documentation built on Jan. 31, 2020, 9:06 a.m.