CCIMXDesktop
 
Loading...
Searching...
No Matches
WeatherData Struct Reference

Represents a snapshot of weather conditions for a specific location and time. More...

#include <WeatherData.h>

Public Attributes

QString city
 The name of the city for which the weather data is provided.
 
QString time
 The local time of the weather observation (e.g., "HH:MM AM/PM" or "YYYY-MM-DD HH:MM").
 
int interval
 The forecast interval in seconds (e.g., 900 for 15 minutes, 3600 for 1 hour).
 
double temperature
 The temperature in Celsius or Fahrenheit (unit implicitly defined by context).
 
double windspeed
 The wind speed (unit implicitly defined by context, e.g., m/s, km/h, mph).
 
int winddirection
 The wind direction in degrees (0-359, where 0 is North, 90 is East, etc.).
 
int isDay
 Indicates if it's currently daytime (1) or nighttime (0).
 
int weatherCode
 A numerical code representing the weather condition (e.g., WMO weather codes).
 
QString weatherDescription
 A textual description of the weather condition (e.g., "Clear sky", "Partly cloudy").
 

Detailed Description

Represents a snapshot of weather conditions for a specific location and time.

This structure holds various meteorological parameters, including temperature, wind details, and a description of the current weather, along with metadata such as city and observation time.


The documentation for this struct was generated from the following file: