• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

csianglim/weather-gc-ca-python: Jupyter notebooks for scraping Environment Canad ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

csianglim/weather-gc-ca-python

开源软件地址:

https://github.com/csianglim/weather-gc-ca-python

开源编程语言:

Jupyter Notebook 100.0%

开源软件介绍:

weather-gc-ca-python Binder

Jupyter notebooks for scraping Environment Canada weather data


This repo demonstrates how to download Environment Canada's weather data using Python with popular data analysis libraries like pandas and Beautiful Soup. Read the accompanying blog post here on the UBC Envision website for more details.

Summary

  1. Download CSV weather data from this link: http://climate.weather.gc.ca/climate_data/bulk_data_e.html?format=csv&stationID=51442&Year=2020&Month=01&timeframe=1

  2. Replace stationID, Year and Month with the dataset that you'd like to download.

  3. StationIDs can be found here: http://climate.weather.gc.ca/historical_data/search_historic_data_e.html

  4. This notebook shows you how to download multiple CSV files across different cities by scraping data using BeautifulSoup.

  • Scripts are working as of March 2020

Launch

Binder

To run this notebook interactively on the cloud, click the Launch Binder button or use the Syzygy platform.

Feel free to use, copy, paste, modify or distribute this notebook however you wish.

These examples are provided as-is with no guarantee that they will work in the future if Environment Canada modifies their API.

Similar projects:

  • data-gc-ca-api, but it's about 2 years old, not sure if it's still working.

Contents

Data Source




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap