Changelog
Source:NEWS.md
weathercan 0.7.2
- Fix normals to work with new ECCC data format
- Prepare
normals_dl()
and family for new 1991-2020 normals
weathercan 0.7.1
-
stations()
now uses the most recent version of the data even if it hasn’t changed (prevent message regarding age of stations data frame). - Remove startup message about deprecated stations data frame
- Move Mapping Article from docs to website (https://steffilazerte.ca/posts/weathercan-mapping/)
weathercan 0.7.0
- Internal updates to tests (testthat 3rd edition)
- Small changes to messages
- Switch completely to sf (remove sp dependency)
- Remove “Use with tidyverse” vignette - better to go to the source: https://r4ds.hadley.nz/
- Remove “Meteoland” vignette as functions are defunct
weathercan 0.6.3
- Internal re-arranging and clean up
- Stations without lat/lon now have NA timezone
- Fixed vignette images
weathercan 0.6.2
CRAN release: 2021-12-01
- Create cache dir for stations data recursively
- Fix choice of local vs. package version of stations data frame
- Update to readr v2
- Add flexibility for csv/tsv stations files (fixes #126)
- Update stations url
- Make examples and tests robust to internet issues
weathercan 0.6.0
CRAN release: 2021-05-14
Big changes
- Move from data frame
stations
to functionstations()
. Returns same data but is updateable withstations_dl()
and you can check download dates version withstations_meta()
(fixes #10) - Download climate normals from climate.weather.gc.ca (fixes #88)
- More stations available (more than 2x as many!)
- More year ranges available (1981-2010 and 1971-2000; Note that while climate normals from 1961-1990 are available from ECCC, they don’t have climate ids making it tricky to download reliably)
weathercan 0.5.0 (2020-01-14)
CRAN release: 2021-01-15
Small changes
- Internal changes to address change in formatting of historical weather data provided by ECCC (includes new parameters for the amount of precipitation in mm:
precip_amt
,precip_amt_flag
; fixes #107) - Updated stations data frame
Bug fixes
- Updated normals column values (fixes #106)
weathercan 0.4.0 (2020-08-26)
CRAN release: 2020-09-02
Features and potentially breaking changes
- Added caching in memory with memoise (caches for 24hrs, can change this by restarting the R session)
- Caches individual downloaded files, so you may see a speed up even if you change the parameters of the download.
- Some missing values in meta data previously were “” but are now explicitly NAs
weathercan 0.3.1 (2019-09-27)
CRAN release: 2019-09-29
Small changes
- Internal changes to address change in formatting of historical weather data provided by ECCC (fixes #83)
weathercan 0.3.0 (2019-09-25)
CRAN release: 2019-09-25
Big changes
- New function:
normals_dl()
function downloads climate normals. Addresses issue #38. - New argument:
stations_search()
hasnormals_only
to return only stations with climate normals - Deprecated
url
argument in favour ofweathercan.urls.stations
,weathercan.urls.weather
andweathercan.urls.normals
options. - Deprecated
tz_disp
in favour oftime_disp
. Now all timezones are UTC, but the displayed time is either local time or UTC. Whentime_disp
= “none”, the time displayed is local time without daylight savings, similar to how ECCC presents the data. This means that data from different time zones will have similar ecological times (i.e. midnights will be comparable), but the actual times are not UTC. Whentime_disp
= “UTC’, the time displayed is in UTC timezone, meaning that stations from different times zones will have true times (i.e. midnight observation in Toronto will be three hours before midnight observation in Vancouver). Addresses issue #74.
Small changes
- Add parameter in
station_search()
to restrict by start and end dates. Addresses issue #35. - Internal change, switching to .data and “” for all non-standard evaluations as opposed to listing global variables
- Tweaks to keep compatibility wit
tidyr
weathercan 0.2.8 (2018-10-08)
CRAN release: 2018-10-08
weathercan 0.2.7 (2018-06-27)
CRAN release: 2018-07-05
Bug fixes
- Fix bug created when ECCC changed file metadata for dates after April 1st 2018 (only affected downloads which included dates both before AND after April 1st, 2018) - Results in a new column
station_operator
for all data (NA where unavailable for older stations). - Adjust code flexibility to handle future changes
- Add catch to warn user if end dates earlier than start dates
weathercan 0.2.5 (2018-03-02)
weathercan 0.2.4 (2018-02-01)
Now part of ropensci.org!
Changes
-
sp
moved to suggests, users are now prompted to install sp if they want to search stations by coordinates -
weather_dl()
replacesweather()
-
weather_interp()
replacesadd_weather()
-
stations_dl()
replacesstations_all()
-
tz_calc()
replacesget_tz()
- Internal code modifications to match best practices
weathercan 0.2.3 (2017-11-22)
Changes
- Updated
stations
data - Added
flags
andglossary
datasets as well as vignettes -
stations_search()
warns user if name looks like coords -
stations_search()
withcoord
now returns closest 10 stations -
add_weather()
warns user if trying to interpolate weather from >1 station - Updated code to conform with rOpenSci requirements
- Data downloaded from multiple timezones defaults to UTC
Bug fixes
-
weather(format = FALSE)
properly returns data - updated
weather()
to work withlubridate
1.7.1