Skip to content

missingfoot/global-humidity-index

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Global Humidity Index Calculator

A web application that calculates and visualizes the Global Humidity Index (GHI) based on dew point temperatures. The GHI provides an intuitive way to understand humidity comfort levels across different locations.

Features

  • Real-time GHI calculation based on dew point
  • City comparison with side-by-side visualization
  • Color-coded comfort levels
  • Historical data viewing (yesterday's noon data)
  • Interactive charts for temperature, dew point, and humidity comparison
  • Dark/Light theme support

Comfort Levels

The GHI uses the following comfort scale based on dew point temperatures:

  • Below 10°C: Dry (#5ECBFC)
  • 10-15°C: Very comfortable (#62FF3B)
  • 15-18°C: Comfortable (#CBFF73)
  • 20°C: Alright (#FFFF9E)
  • 21-24°C: Uncomfortable (#FFD239)
  • 24-26°C: Very uncomfortable (#FF981E)
  • Over 26°C: Severely uncomfortable (#FF6610)

Setup

  1. Clone the repository:

    git clone https://github.com/missingfoot/global-humidity-index.git
    cd global-humidity-index
  2. Install dependencies:

    pip install -r requirements.txt
  3. Create a .env file in the root directory and add your OpenWeatherMap API key:

    OPENWEATHERMAP_API_KEY=your_api_key_here
    
  4. Run the application:

    python app.py
  5. Open your browser and navigate to http://localhost:5000

Requirements

  • Python 3.7+
  • Flask
  • Requests
  • python-dotenv
  • OpenWeatherMap API key

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages