Skip to content

Releases: ropensci/weathercan

weathercan 0.7.6

20 Oct 20:20
5fbc307

Choose a tag to compare

  • Standardize normals year range and checks
  • Fix bug in stations_search() that precluded doing normals and years searches at the same time
  • Change stations_search() output to include interval, start and end years

weathercan 0.7.5

11 Aug 17:09
410e0de

Choose a tag to compare

  • Fix province names for stations data frame (#175)
  • Don't allow start times earlier than 1840 (earliest date API will return; #174)

weathercan 0.7.4

09 Jul 21:11

Choose a tag to compare

  • Add qual from newly added Flags column to hourly data
  • Remove vcr
  • Fix long Provincial names (#171)

weathercan 0.7.3

05 Feb 18:50
897890b

Choose a tag to compare

weathercan 0.7.2

13 Nov 15:50
fdf512f

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

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

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

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

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

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)