Weather Conditions:


@if($conditions == null)

Data Unavailable

@else

Temperature: {{ round(($conditions[0]["temp"] - 32) * (5/9), 1) }} degC

Rain: {{ ($conditions[0]["rain_rate_last"] * 0.2) }}mm/hr ({{ $conditions[0]["rainfall_daily"] }}mm today)

@if ($conditions[0]["wind_speed_last"] != 0)

Wind: {{ round($conditions[0]["wind_speed_last"], 1) }}mph ({{ $conditions[0]["wind_dir_last"] }} deg)

@else

Wind: 0mph

@endif

Humidity: {{ round($conditions[0]["hum"], 1) }}%

Pressure: {{ round($conditions[2]["bar_sea_level"], 1) }} inHg

@endif