Giter VIP home page Giter VIP logo

weather-model's Introduction

Weather-Model

Part I - WeatherPy

Summary dashboard: https://zunicd.github.io/Web-Design-Challenge/

Objective

The purpose of this project was to analyze weather patterns with respect to latitude.

To visualize the weather of 500+ randomly chosen cities across the world of varying distance from the equator, first we used a citypy Python library and then the OpenWeatherMap API.

After assembling the dataset, we used Matplotlib to create a series of scatter plots to showcase the relationships between different weather factors (temperature, humidity, cloudiness, wind speed) and latitude.

In addition to that I ran linear regression on each relationship, only this time separating them into Northern Hemisphere (greater than or equal to 0 degrees latitude) and Southern Hemisphere (less than 0 degrees latitude).

Part II - VacationPy

Objective

First, we created a heat map that displays the humidity for every city from the Part I.

Next, we narrowed down our dataframe to ideal weather conditions:

  • A max temperature lower than 80 degrees but higher than 70.

  • Wind speed less than 8 mph.

  • Zero cloudiness.

The resulted list contained 11 cities. Using Google Places API we found the first hotel for each city located within 5000 meters. At the end, we plotted the hotels on top of the humidity heatmap with each pin containing the Hotel Name, City, and Country.

Tools / Techniques Used:

  • Python
  • Pandas
  • Matplotlib
  • Numpy
  • SciPy
  • Jupyter Notebook
  • gmaps
  • citypy
  • OpenWeatherMap API
  • Google Places API

About Data

The dataset output_data/cities.csv was created in the Part I and used as an input in the part II:

  • Number of records: 567
  • Columns:
    • City
    • Cloudiness
    • Country
    • Date
    • Humidity
    • Lat
    • Lng
    • Max Temp
    • Wind Speed

weather-model's People

Contributors

zunicd avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.