Learn R Programming

raincpc (version 0.2)

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

Description

Download global rainfall data from CPC for the time period of interest

Usage

cpc_get_rawdata(begYr, begMo, begDay, endYr, endMo,
    endDay)

Arguments

begYr
beginning year of the time period of interest, 1979 - 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 - 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

Value

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

Examples

Run this code
# CPC data for two days, Jun 17-18 2014
cpc_get_rawdata(2014, 6, 17, 2014, 6, 18)

Run the code above in your browser using DataLab