Description Usage Arguments Value
View source: R/cpcYearToNCDF.R
This function builds a NCDF (.nc) file from CPC data for a single year. To do this it downloads raw data from the CPC ftp server, reads it to an array, and writes that array to a NCDF file. It will always build the file for all data for that particular year.
1 2 | cpcYearToNCDF(year, download_folder = getwd(), empty_raw = TRUE,
overwrite = F)
|
year |
the year for which to download. Must be an integer. |
download_folder |
the folder in which to store the .nc file. Defaults to |
empty_raw |
if TRUE, will delete the raw data. Defaults to TRUE |
overwrite |
if TRUE, will proceed even if a '.nc' file for the specified year exists. If FALSE, will not run. |
a data.table with columns date and success
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.