Weather Data From climate.weather.gc.ca
Project description
Canada Weather Data Package
can_weather_data is a Python library that allows you to retrieve weather data from climate.weather.gc.ca. This package provides functions to extract historical weather data for a given location and time period. It uses the env_canada library to access historical weather data from Environment and Climate Change Canada.
Installation
pip install can_weather_data
Usage
from can_weather_data.weatherdata import data_extract
cord_list = ['48.508333', '-68.467667']
# Set the start and end dates for the weather data retrieval.
start_date = datetime.strptime('Jan2015', '%b%Y')
end_date = datetime.strptime('Dec2020', '%b%Y')
data_extract(cord_list, start_date, end_date)
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
can_weather_data-0.2.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for can_weather_data-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 912951ad84d77c24dd7f3ef0a44ca64b8ad1a6104805f87033f2609f08381815 |
|
MD5 | 08674810997e9c37ca9222281d2e5540 |
|
BLAKE2b-256 | 9cb1d2eb2a6155c4519c593c1e27a1813a46ba7d04fffcc3f00fdfc223bb47c2 |