Weather-Forecasting

Python scripts were created to visualize the weather for over 500 cities across the world at varying distances from the equator. To understand weather patterns for forecasting, a series of scatter plots were created. The scatter plots depicted the relationship between Temperature versus Latitude, Humidity versus Latitude, Cloudiness versus Latitiude, and Wind Speed versus Latitude. One of the relationship is shown below:

120945443-9f355f00-c6fe-11eb-82bd-2505acb03425

Linear regressions for each relationship were created separating them in Northern and Southern Hemispheres. More than 500 cities were randomly selected based on there latitude and longitude to perform a weather check on each of the cities usig a series of API calls to confirm the findings of the Python scripts. The analysis used external data for comparison using third party APIs. Data was parsed using an OpenWeatherMap and US Census API Keys to make GET requests for JSON formatted information. Requested JSON information was converted into a PYTHON dictionary for loading into a Pandas Dataframe. A Google Maps and Places API Key was used to obtain information about geographic areas. Special attention was taken to understand rate limits and the importance of creating "test cases" prior to running large scripts. A firm understanding of each API documenation was used in the analysis to run efficient Python scripts.

120945570-28e52c80-c6ff-11eb-93f7-3187a862fa12

The table below shows 20 of the 550 cities randomly selected for a weather check:

120945680-96915880-c6ff-11eb-83aa-41e089c469ab

These relationships were used to select ideal weather conditions for vacation planning.

VACATION PLANNING USING WEATHER FORECASTING

Juptyer-gmaps and Google Places API was used for planning future vacations across the globe.

120946240-6ea2f480-c701-11eb-9aa0-ccc14d5ff90c

GitHub

https://github.com/Geogith/Weather-Forecasting