{{-- 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
Conditions {{ $metar->getCategory() }} @if($metar->getTemperature())   {{$metar->getTemperature()}}°{{strtoupper($unit_temp)}} ,  @endif visibility {{$metar->getVisibility()}}{{$unit_dist}}
Barometer {{ $metar->getPressure('hg') }} Hg / {{ $metar->getPressure('mb') }} MB
Clouds @foreach($metar->getClouds() as $cloud)

{{$cloud['amount']}} @ {{$cloud['base_height']}} {{ $unit_alt }}

@endforeach
Wind {{$wind['speed']}} kts @ {{$wind['direction']}}° @if($wind['gusts']) gusts to {{$wind['gusts']}} @endif
METAR
{{ $metar->getRawMetar() }}
Updated {{$metar->getLastUpdate()}}
@endif