Skip to content

Releases: ropensci/weathercan

weathercan 0.7.3

05 Feb 18:50
897890b
Compare
Choose a tag to compare

weathercan 0.7.2

13 Nov 15:50
fdf512f
Compare
Choose a tag to compare
  • Fix normals to work with new ECCC data format
  • Prepare normals_dl() and family for new 1991-2020 normals

weathercan 0.7.1

20 Sep 22:06
f90bb10
Compare
Choose a tag to compare
  • 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/)

weather can 0.7.0

04 Aug 16:52
3cc5de1
Compare
Choose a tag to compare

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

Bug fixes

  • Fix bug with Interpolate where silently transforms non-matching timezones.
    This can produce incorrect matching when using "local-UTC" timezones
    (as weathercan does as of v0.3.0). Now timezone mismatch results in an error
    so users can decide how it should be handled.

weathercan 0.6.3

16 Jan 15:52
c718c94
Compare
Choose a tag to compare
  • Internal re-arranging and clean up
  • Stations without lat/lon now have NA timezone
  • Fixed vignette images

weathercan 0.6.2

01 Dec 15:36
85cfd7b
Compare
Choose a tag to compare
  • 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.1

07 Jun 15:57
4d5ee35
Compare
Choose a tag to compare

Small changes

  • Save stations() data to local cache

weathercan 0.6.0

(needed to be fixed before could even make release!)

Big changes

  • Move from data frame stations to function stations(). Returns same data
    but is updateable with stations_dl() and you can check download dates
    version with stations_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)

Small changes

  • Remove old deprecated function arguments
  • Better test coverage (#81)
  • Better handling of http errors (#101, #119; Thanks @KevCaz!)

Bug fixes

  • Download stations data frame from ECCC Google drive rather than ECCC FTP site
  • Update dependency versions (#111, #112, #118)

weathercan 0.5.0

15 Jan 15:16
3b97da6
Compare
Choose a tag to compare

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 v0.4.0

02 Sep 14:38
f45ee22
Compare
Choose a tag to compare

Bug fixes

  • Fixed odd bug where some Linux systems failed to download stations data

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

Internal changes

  • Use readr for reading data
  • Use vcr for tests

weathercan v0.3.1

29 Sep 17:42
a024122
Compare
Choose a tag to compare

Small changes

  • Internal changes to address change in formatting of historical weather data provided by ECCC (fixes #83)