Class WeatherInfo

java.lang.Object
org.episteme.natural.earth.atmosphere.WeatherInfo

public class WeatherInfo extends Object
Weather information with type-safe Quantity measurements.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Details

    • getLocation

      public String getLocation()
    • getDescription

      public String getDescription()
    • getHumidityPercent

      public double getHumidityPercent()
    • getCloudPercent

      public double getCloudPercent()
    • getSolarIrradianceWm2

      public double getSolarIrradianceWm2()
    • getTimestamp

      public Instant getTimestamp()
    • getTemperature

      public Quantity<Temperature> getTemperature()
      Returns temperature as type-safe Quantity in Kelvin.
    • getTemperatureCelsius

      public double getTemperatureCelsius()
      Returns temperature in Celsius (raw value).
    • getFeelsLike

      public Quantity<Temperature> getFeelsLike()
      Returns "feels like" temperature as Quantity in Kelvin.
    • getPressure

      public Quantity<Pressure> getPressure()
      Returns pressure as type-safe Quantity in Pascal.
    • getWindSpeed

      public Quantity<Velocity> getWindSpeed()
      Returns wind speed as type-safe Quantity in m/s.
    • getWindSpeedKmh

      public double getWindSpeedKmh()
      Returns wind speed in km/h.
    • getHeatIndex

      public double getHeatIndex()
      Calculates heat index (feels-like in high humidity).
      Returns:
      heat index in Celsius
    • toString

      public String toString()
      Overrides:
      toString in class Object