This program reads an Adjusted and Homogenized Canadian Climate Data (AHCCD) of daily
precipitation or temperatures. The values are arranged as
month x day, which makes them difficult to read using standard R functions.
Usage
ch_read_AHCCD_daily(daily_file)
Value
If successful, returns the values in a data frame, consisting of the date,
the value and the data code.
Arguments
daily_file
Required. Name of the file to be read.
Author
Kevin Shook
References
Daily AHCCD data are available from http://crd-data-donnees-rdc.ec.gc.ca/CDAS/products/EC_data/AHCCD_daily/.
Any use of the data must cite
Mekis, E and L.A. Vincent, 2011: An overview of the second generation
adjusted daily precipitation dataset for trend analysis in Canada.
Atmosphere-Ocean, 49 (2), 163-177.
if (FALSE) {
# Don't run this example as it requires a file, and use of the dummy# file will cause an error messagestoon_daily_tmax <- ch_read_AHCCD_daily("dx40657120.txt")}