Constructor
new Weather()
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
tempMin |
number | Minimum temperature in °F (accounts for windchill). |
tempMax |
number | Maximum temperature in °F (accounts for windchill). |
windMax |
number | Maximum sustained wind speed in mph. |
windGusts |
number | Maximum wind gust speed in mph. |
rain |
number | Total rainfall in inches. |
snowfall |
number | Total snowfall in inches. |
sky |
string | WMO weather code description of sky conditions. |
dawn |
string | Dawn time in HH:MM format (local time). |
sunrise |
string | Sunrise time in HH:MM format (local time). |
sunset |
string | Sunset time in HH:MM format (local time). |
dusk |
string | Dusk time in HH:MM format (local time). |
moonPhase |
string | Moon phase emoji icon. |
moonText |
string | Moon phase description (e.g. "full moon (bright at night)"). |
moonLight |
string | Moon illumination level description. |
moonRise |
string | Effective moonrise time in HH:MM format, bounded by dusk. |
moonSet |
string | Effective moonset time in HH:MM format, bounded by dawn. |