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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file env_canada-0.2.3.tar.gz.
File metadata
- Download URL: env_canada-0.2.3.tar.gz
- Upload date:
- Size: 101.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56221f8733ea9b48999392633768d786c7bd51fc1ca989671d5722b07127578a
|
|
| MD5 |
0b12e945278209a84c4b1850cda6f5de
|
|
| BLAKE2b-256 |
28145de4a5e41eb8e50bcb7a6a7c787d1093595eac92e86abc39edf51a64e76e
|
File details
Details for the file env_canada-0.2.3-py3-none-any.whl.
File metadata
- Download URL: env_canada-0.2.3-py3-none-any.whl
- Upload date:
- Size: 101.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d221c277fb9365424d87ae8fa450f473195988db0e018b02b8cb7e2d735176d3
|
|
| MD5 |
9b5e2096a3166061c45959412ce3049a
|
|
| BLAKE2b-256 |
177fd5ae0c23e33b411a3061ced38efa5e33736dfe4a1d49b5137dea8f76b284
|