Skip to content

ovinueza/Python_APIs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WeatherPi

Background

Whether financial, political, or social -- data's true power lies in its ability to answer questions definitively. This project uses Python requests, APIs, and JSON traversals to answer a fundamental question: "What's the weather like as we approach the equator?"

Now, we know what you may be thinking: "Duh. It gets hotter..."

But, if pressed, how would you prove it?

Task

This is a 2 part project

In the first part (this repository) I analyze the data performing API calls and retrieve weather information on over 500 random cities.

After retrieving the data I made scatter plots to show the effect that latitude has in relationship to temperature, humidity, cloudiness and windspeed.

The second part for this project involves adding the reslting graphs into a simple Web Dashboard and can be found here

Findings

Based on the analyzed data there is no relationship between latitude and cloudiness.

Most of the cities located along the equator have high humidity during the summer.

Cities that have similar latitudes may differ greatly in their levels of humidity, based on how close they are to the ocean and other large bodies of water.

Based on data collected in mid July, cities along the equator and 20 degrees latitude have high temperatures, but cities in between the 18 to 42 degree latitudes have the highest temperatures. This may be due to the summer season and geographical location.

There is not a strong relationship between windspeed and latitude, with most cities having windspeed below 10 mph. The few cities with windspeeds above 20 mph may be in geographical areas where those speeds are common or are experiencing significant weather events.

Summary

Cities between the equator and 20 degrees latitude have high temperatures, but the highest temperatures for this time of year are in between the 18 and 42 degree latitudes, this may because of summer season and geographical location.

Is interesting to note that most cities during this time of year have high humidity and there is not a single city in the equator with low humidity.

There is not a strong relationship between windspeed and latitude, with most cities having windspeed below 10 mph. The few cities with windspeeds above 20 mph may be in geographical areas where those speeds are common.

About

An analysis of weather patterns in over 500 countries, using python-api and matplotlib

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published