ch_read_AHCCD_daily {CSHShydRology} | R Documentation |
Reads AHCCD daily file
Description
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)
Arguments
daily_file |
Required. Name of the file to be read. |
Value
If successful, returns the values in a data frame, consisting of the date, the value and the data code.
Author(s)
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.
See Also
Examples
## Not run:
# Don't run this example as it requires a file, and use of the dummy
# file will cause an error message
stoon_daily_tmax <- ch_read_AHCCD_daily("dx40657120.txt")
## End(Not run)
[Package CSHShydRology version 1.4.2 Index]