Environment Canada CSV template

34 views
Skip to first unread message

Chris Alemany

unread,
Jan 2, 2023, 6:39:46 PM1/2/23
to weewx...@googlegroups.com
Hi all,

Over time I’ve gathered the various csv records for the stations in my immediate area going back to 1894. In the process of doing that I’ve often wished weewx output its records in the same format so I could fly it all into the same gigantic spreadsheet.

I’ve made it so with the attached template.

I’ve added it to my alltimeseasons skin file with the following code. It goes into an ECCC directory. I’ve tried to adhere to the ECCC naming convention and data conventions as closely as possible including converting the wind direction to 10s of degrees (worst convention ever).

Perhaps this will be of interest/use to fellow Canadians out there.

[[SummaryByYear]]
# Reports that summarize "by year"


[[[ECCC_daily]]]
encoding = utf-8
template = ECCC/en_climate_daily_weewx_%Y.csv.tmpl
HTML_ROOT = /var/www/html/weewx/


en_climate_daily_weewx_%Y.csv.tmpl
Reply all
Reply to author
Forward
0 new messages