powered by
Download rainfall data from CPC for the time period of interest
cpc_get_rawdata(begYr, begMo, begDay, endYr, endMo, endDay, usa = FALSE)
beginning year of the time period of interest, 1979/1948 - present
beginning month of the time period of interest, 1 - 12
beginning day of the time period of interest, 1 - 28/29/30/31
ending year of the time period of interest, 1979/1948 - present
ending month of the time period of interest, 1 - 12
ending day of the time period of interest, 1 - 28/29/30/31
logical flag to indicate whether global or usa data is desired
downloads either a ".gz" file (2008 or before) or a ".bin" file (2009 - present)
# 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) # }
Run the code above in your browser using DataLab