Skip to main content

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

This version

0.2

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 details)

Uploaded Source

Built Distribution

can_weather_data-0.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file can_weather_data-0.2.tar.gz.

File metadata

  • Download URL: can_weather_data-0.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for can_weather_data-0.2.tar.gz
Algorithm Hash digest
SHA256 1988fceb94dc19e8b88a46cec9037cf924f0502b2dac366741c4814ca32acfb2
MD5 0ab3b98aef69a48a1e8771a9c41a8fe7
BLAKE2b-256 a243b34bbe4f72118b2ef8ebae458284cc5cbcb39e3951593ff6cdc135769abe

See more details on using hashes here.

File details

Details for the file can_weather_data-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for can_weather_data-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 912951ad84d77c24dd7f3ef0a44ca64b8ad1a6104805f87033f2609f08381815
MD5 08674810997e9c37ca9222281d2e5540
BLAKE2b-256 9cb1d2eb2a6155c4519c593c1e27a1813a46ba7d04fffcc3f00fdfc223bb47c2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page