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)
Metadata
Release files for can-weather-data 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| can_weather_data-0.2.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| can_weather_data-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.9 kB
Release files / can_weather_data-0.2.tar.gz
| Download URL | can_weather_data-0.2.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1988fceb94dc19e8b88a46cec9037cf924f0502b2dac366741c4814ca32acfb2
|
|
BLAKE2b-256 checksum How to use checksums |
a243b34bbe4f72118b2ef8ebae458284cc5cbcb39e3951593ff6cdc135769abe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.5
|
Release files / can_weather_data-0.2-py3-none-any.whl
| Download URL | can_weather_data-0.2-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
912951ad84d77c24dd7f3ef0a44ca64b8ad1a6104805f87033f2609f08381815
|
|
BLAKE2b-256 checksum How to use checksums |
9cb1d2eb2a6155c4519c593c1e27a1813a46ba7d04fffcc3f00fdfc223bb47c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.5
|