Class WeatherInfo
java.lang.Object
org.episteme.natural.earth.atmosphere.WeatherInfo
Weather information with type-safe Quantity measurements.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns "feels like" temperature as Quantity in Kelvin.doubleCalculates heat index (feels-like in high humidity).doubleReturns pressure as type-safe Quantity in Pascal.doubleReturns temperature as type-safe Quantity in Kelvin.doubleReturns temperature in Celsius (raw value).Returns wind speed as type-safe Quantity in m/s.doubleReturns wind speed in km/h.toString()
-
Method Details
-
getLocation
-
getDescription
-
getHumidityPercent
public double getHumidityPercent() -
getCloudPercent
public double getCloudPercent() -
getSolarIrradianceWm2
public double getSolarIrradianceWm2() -
getTimestamp
-
getTemperature
Returns temperature as type-safe Quantity in Kelvin. -
getTemperatureCelsius
public double getTemperatureCelsius()Returns temperature in Celsius (raw value). -
getFeelsLike
Returns "feels like" temperature as Quantity in Kelvin. -
getPressure
-
getWindSpeed
-
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
-