Giter VIP home page Giter VIP logo

python-weather-api's Introduction

python-weather-api

Python script to create visualizations of the weather of over 500 cities of varying distances from the equator in Jupyter Notebook using Geoapify API and the geoViews Python library.

Weather-Py

Randomly generated geographic coordinates through Numpy. City information is pulled from the Citypy library. Weather information is pulled from the Open Weather Map API and populated into a dataframe, which is then exported into a .csv (contained in the outputs folder).

Scatter plots were generated in Matplotlib to analyze weather data. These plots include:

  • Latitude vs. temperature
  • Latitude vs. humidity
  • Latitude vs. cloudiness
  • Latitude vs. wind speed

These graphs are exported into the output folder as .png files.

Linear regressions are calculated for each graph in the southern and northern hemisphere and the relationship between the data points is discussed in the notes of Jupyter Notebook file.

Vacation-Py

Data from the previous exercise is imported from the .csv file. The cities are mapped through Hvplot. Personal weather preferences are applied to the data to narrow results. The Geoapify API is used to find the nearest hotel within 10,000 meters of the city coordinates. Results are added to a dataframe and mapped in Hvplot.

python-weather-api's People

Contributors

hfattor avatar

Watchers

 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.