All Projects → Karlheinzniebuhr → the-weather-scraper

Karlheinzniebuhr / the-weather-scraper

Licence: other
A Lightweight Weather Scraper

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to the-weather-scraper

PyWeather
Viewing the weather in a CLI has never been this much fun. (ARCHIVED)
Stars: ✭ 28 (-50%)
Mutual labels:  weather, wunderground
Sol
☀️ Sol° beautifully displays weather information so you can plan your day accordingly. Check the weather in your current location or any city around the world. Implemented in Objective-C.
Stars: ✭ 1,430 (+2453.57%)
Mutual labels:  weather, wunderground
Data-Science-and-Machine-Learning-Resources
List of Data Science and Machine Learning Resource that I frequently use
Stars: ✭ 19 (-66.07%)
Mutual labels:  datasets
linky
Yet Another LInkedIn Scraper...
Stars: ✭ 44 (-21.43%)
Mutual labels:  scraper
pysoundcloud
Scraping the Un–scrapable™
Stars: ✭ 63 (+12.5%)
Mutual labels:  scraper
text-classification-small-datasets
Building a text classifier with extremely small datasets
Stars: ✭ 34 (-39.29%)
Mutual labels:  datasets
riem
✈️ ☀️ R package for accessing ASOS data via the Iowa Environment Mesonet ☁️ ✈️
Stars: ✭ 38 (-32.14%)
Mutual labels:  weather
nmc met io
提供对MICAPS文件, 卫星云图, 天气雷达等数据的读写, 并访问CIMISS和MICAPS CASSANDRA数据库文件等.
Stars: ✭ 77 (+37.5%)
Mutual labels:  weather
Android-Apps-Downloader
📱 A tool to download android apps from Google Play Store and Xiaomi App Store (the famous Chinese Store).
Stars: ✭ 16 (-71.43%)
Mutual labels:  scraper
bing-ip2hosts
bingip2hosts is a Bing.com web scraper that discovers websites by IP address
Stars: ✭ 99 (+76.79%)
Mutual labels:  scraper
spider
Multithreaded Web spider crawler written in Rust.
Stars: ✭ 81 (+44.64%)
Mutual labels:  scraper
kaggle-code
A repository for some of the code I used in kaggle data science & machine learning tasks.
Stars: ✭ 100 (+78.57%)
Mutual labels:  datasets
awesome-sweden-datasets
A curated list of awesome datasets to use when coding for the Swedish market.
Stars: ✭ 17 (-69.64%)
Mutual labels:  datasets
ogcheckr-api
An api to check social media username availability on a variety of services
Stars: ✭ 18 (-67.86%)
Mutual labels:  scraper
fb-page-chat-download
Python script to download messages from a Facebook page to a CSV file
Stars: ✭ 51 (-8.93%)
Mutual labels:  scraper
whatsapp-tracking
Scraping the status of WhatsApp contacts
Stars: ✭ 49 (-12.5%)
Mutual labels:  scraper
metafetch
NodeJS package that fetches a given URL's title, description, images, links etc.
Stars: ✭ 21 (-62.5%)
Mutual labels:  scraper
scoopi-scraper
Scoopi Web Scraper is a heavy duty tool to extract data from HTML pages.
Stars: ✭ 18 (-67.86%)
Mutual labels:  scraper
sp-subway-scraper
🚆This web scraper builds a dataset for São Paulo subway operation status
Stars: ✭ 24 (-57.14%)
Mutual labels:  scraper
panoptic parts
This repository contains code and tools for reading, processing, evaluating on, and visualizing Panoptic Parts datasets. Moreover, it contains code for reproducing our CVPR 2021 paper results.
Stars: ✭ 82 (+46.43%)
Mutual labels:  datasets

The Weather Scraper (🌩🌤🌞🌨)

Need High-resolution Weather Data for Analytics or Machine-learning ? Seek no more.

Overview

The Weather Scraper downloads high-resolution weather data (often 5 min. intervals) from Wunderground's public weather stations around the world for you.

Install dependencies

pip install -r requirements.txt

TLDR

python weather_scraper.py

How to run TWS?

First, find the weather stations you are looking for.
Then you just have to update 2 config files before running TWS.

  1. Go to https://www.wunderground.com/wundermap and zoom in to your location
    🌞 Click on a weather station and then click on the Station ID (the Station Summary page will open)
    🌞 Open and copy all Station ID URLs you need

  2. Set the weather_station urls inside stations.txt
    🌞 one url per line!

  3. Inside config.py
    🌞 Set the date-range you want to download your data from
    🌞 Set the unit system you need (metric / imperial)
    🌞 Set FIND_FIRST_DATE to true if you want the weather scraper to use binary search to search for the first date with data, starting from START_DATE

If you want to download data from 2020/5/1 to 2020/6/1 in metric units your config.py will look like this:

from datetime import date

# Set Date format like: YYYY, MM, DD
START_DATE = date(2020, 5, 1)
END_DATE = date(2020, 6, 1)
# set to "metric" or "imperial"
UNIT_SYSTEM = "metric"

# Automatically find first date where data is logged
FIND_FIRST_DATE = False

Now you are read to run your downloads:

$ python weather_scraper.py

Wait until TWS finishes writing your data to files with this naming pattern station_name.csv!

You resulting CSV file will look something like this (if you give it a nice format)

CSV example

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].