A package to access meteorological data from Environment Canada
Project description
Environment Canada (env_canada)
This package provides access meteorological data published by Environment Canada.
Weather
ECData
provides current conditions and forecast. It automatically determines which weather station to use based on latitude/longitude provided. It is also possible to specify a specific station code of the form AB/s0000123
based on those listed in this CSV file. For example:
from env_canada import ECData
ec_en = ECData(coordinates=(lat, long))
ec_fr = ECData(station_id='ON/s0000430', language='french')
# current conditions
ec_en.conditions
# daily forecasts
ec_en.daily_forecasts
# hourly forecasts
ec_en.hourly_forecasts
# alerts
ec_en.alerts
# AQHI air quality
ec_en.aqhi
# Update
ec_en.update()
Radar
ECRadar
provides Environment Canada meteorological radar imagery.
from env_canada import ECRadar
radar_coords = ECRadar(coordinates=(lat, lon))
# Conditions Available
radar_coords.get_loop()
radar_station.get_latest_frame()
License
The code is available under terms of MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file env_canada-0.2.6.tar.gz
.
File metadata
- Download URL: env_canada-0.2.6.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b84c5a7984db6317e2cb6a267dcd062ed11f59ffb4d2da2a3849d038ef2670f |
|
MD5 | 1fd60d4c68f9cf80b19459fe102a44b3 |
|
BLAKE2b-256 | f7adbd711e379fd01bde40f6c988369fcf5ed14efd7fa672b524e5ab09f03513 |
File details
Details for the file env_canada-0.2.6-py3-none-any.whl
.
File metadata
- Download URL: env_canada-0.2.6-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee33f18f8274c4f18002508bab0937af37924733f6533752a0a33773fb3e3d7d |
|
MD5 | 07aa18ddb4d766181bca453e0137fcdb |
|
BLAKE2b-256 | 6796490391a772e1bc280833fcc00bd71c2dff7c0984e9fd3cca4e1460382d17 |