Description Usage Arguments Details Examples
This function obtains data from the CPC ftp site for any time period from 1979/1/1 to the present day.
1 2 | cpc_get_rawdata(begYr, begMo, begDay, endYr, endMo,
endDay)
|
begYr |
beginning year of the time period of interest, 1979 - 2012 |
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 -2012 |
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 |
It is assumed that the ending year, month and day follow the beginning year, month and day. Although CPC data is revised each day, a buffer of two days is created - i.e., this function will only let you download data till the day before yesterday!
Output is either a ".gz" file (1979 - 2008) or a ".bin" file (2009 - 2013).
1 2 | # CPC data for two days, Jul 11-12 2005
cpc_get_rawdata(2005, 7, 11, 2005, 7, 12)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.