ch_read_AHCCD_daily: Reads AHCCD daily file

View source: R/ch_read_AHCCD_daily.R

ch_read_AHCCD_dailyR 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

ch_read_AHCCD_monthly

Examples


# Not tested automatically as requires a file
stoon_daily_tmax <- ch_read_AHCCD_daily("dx40657120.txt")

CSHS-hydRology/CSHShydRology documentation built on Aug. 18, 2022, 4:44 p.m.