{{-- If you want to edit this, you can reference the CheckWX API docs: https://api.checkwx.com/#metar-decoded --}} @if(!$metar)

METAR/TAF data could not be retrieved

@else @if($metar['clouds']) @endif @if($metar['remarks']) @endif
Conditions {{ $metar['category'] }}   @if($unit_temp === 'c') {{$metar['temperature']}} @else {{$metar['temperature_f']}} @endif °{{strtoupper($unit_temp)}} @if($metar['visibility']) ,  visibility @if($unit_dist === 'km') {{$metar['visibility'] / 1000}} @else {{$metar['visibility_nm']}} @endif @endif {{$unit_dist}} @if($metar['humidity']) ,  {{ $metar['humidity'] }}% humidity @endif
Barometer {{ $metar['barometer'] }} Hg / {{ $metar['barometer_in'] * 1000 }} MB
Clouds @if($unit_alt === 'ft') {{$metar['clouds_report_ft']}} @else {{ $metar['clouds_report'] }} @endif
Wind {{$metar['wind_speed']}} kts from {{$metar['wind_direction_label']}} ({{$metar['wind_direction']}}°) @if($metar['wind_gust_speed']) gusts to {{ $metar['wind_gust_speed'] }} @endif
METAR
{{ $metar['raw'] }}
Remarks {{ $metar['remarks'] }}
Updated {{$metar['observed_time']}} ({{$metar['observed_age']}})
@endif