Skip to content

Created a Python script to visualize the weather of 500+ cities across the world of varying distance from the equator.

Notifications You must be signed in to change notification settings

daluongo/API-WeatherPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Python API - What's the Weather Like?

WeatherPy

The goal of this project was to create a Python script to visualize the weather of 500+ cities across the world of varying distance from the equator. To accomplish this, I utilized a simple Python library, the OpenWeatherMap API, to create a representative model of weather across world cities.

I built a series of scatter plots to showcase the following relationships:

  • Temperature (F) vs. Latitude
  • Humidity (%) vs. Latitude
  • Cloudiness (%) vs. Latitude
  • Wind Speed (mph) vs. Latitude

Analysis

  • As expected, the weather becomes significantly warmer as one approaches the equator (0 Deg. Latitude). More interestingly, however, is the fact that the southern hemisphere tends to be warmer this time of year than the northern hemisphere. This may be due to the tilt of the earth.
  • There is no strong relationship between latitude and cloudiness, however, it is interesting to see that a strong band of cities sits at 0, 80, and 100% cloudiness.
  • There is no strong relationship between latitude and wind speed, however in northern hemispheres there is a flurry of cities with over 20 mph of wind.

About

Created a Python script to visualize the weather of 500+ cities across the world of varying distance from the equator.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published