- Change packaging to
pyproject.toml
- Improve code checks
- Switch from
defusedxml
tolxml
- Update Github actions
- Fix historical range query
- Add timestamps to daily forecasts
- Fix memory leak and improve performance of
ec_radar
- BREAKING CHANGE: Remove yesterday's data (high temp, low temp, and precipitation) from weather. Environment Canada removed these values from the source data.
- Make calls to
PIL
asynchronous
- Fix imports
- Call
imageio
in executor - Remove test for weather with no conditions
- Dependency updates
- Support weather stations without current conditions
- Fix sunrise and sunset conditions
- Switch radar URL to HTTPS
- Update dependencies
- Handle non-numeric hourly wind speed
- Set
imageio
dependency >= 2.28.0
- Add wind speed and direction to hourly forecasts
- Handle missing AQHI forecasts
- Fixes for dependency changes
- Fix radar GIF for latest
Pillow
- Fix handling unexpected strings
- Generalize handling unexpected strings
- Handle wind speed of "calm" km/h
- Pin
numpy
version - Update XML encoding
- Handle forecast temperatures of 0º
- Raise error on old weather data
- Change radar frame interval
- Add sunrise and sunset to weather
- Ignore bad hydrometric site data
- Add support for hourly historical data
- Add
pandas
dependency
- Add yesterday's low and high temperature
- Use
defusedxml
for XML parsing
- Refresh radar legend on layer change
- Automatically update radar layer
- Handle missing AQHI observations
- Add logging
- Add Mapbox as fallback map source
- Work around GeoGratis map service outage
- Add user agent
- Add caching of web requests to radar
- Make radar
precip_type
stable
- Exclude
tests
from build
- Change update in radar to save image
- Always get site data for weather so that lat/lon/station can be fully validated
- Change hydrometric URL for retrieving data
- Change weather data API back to "slow" servers -- fast servers not reliable
- Add attribution infomation available to radar and AQHI API
- Add French label in radar for snow/rain
- Add attribution infomation available to weather API
- Add normal_high and normal_low sensor values
- Save region and timestamp in AQHI for API users to retrieve
- Add error checking on bad XML when fetching weather
- Fix init issue on AQHI
- Add radar
update
for HA (alias ofget_loop()
)
- Improve auto snow/rain checking on radar
- Make
precip_type
a property of radar objects
- Bug fix radar
voluptuous
- Check AQHI zone
- Allow
precip_type
ofNone
meaningauto
for radar image
- Add
voluptuous
checking on all__init__
parameters - Add
raise_for_status=True
onaiohttp.ClientSession()
- Switch to "high speed" server for retrieving weather data
- Add ability to retrieve historical data
- Make radar timestamp and legend optional
- Add type info for weather XML data and use typing when creating return value
- Switch from unparsed datetime to
datetime
object in output
- Make radar GIF frames per second configurable
- Make radar opacity configurable
- Remove ability to specify station for radar (only lat/lon supported)
- Switch to ECWeather class from ECData
- Split off AQHI retrieval into separate class
- Switch to asyncio from blocking IO
- Add tests