{{-- If you want to edit this, you can reference the CheckWX API docs: https://api.checkwx.com/#metar-decoded --}} @if($config['raw_only'] != true && $metar) @if($metar['visibility']) @endif @if($metar['runways_visual_range']) @endif @if($metar['present_weather_report'] <> 'Dry') @endif @if($metar['clouds'] || $metar['cavok']) @endif @if($metar['recent_weather_report']) @endif @if($metar['runways_report']) @endif @if($metar['remarks']) @endif @endif
@lang('widgets.weather.conditions') {{ $metar['category'] }}
@lang('widgets.weather.wind') @if($metar['wind_speed'] < '1') Calm @else {{ $metar['wind_speed'] }} kts @lang('common.from') {{ $metar['wind_direction_label'] }} ({{ $metar['wind_direction']}}°) @endif @if($metar['wind_gust_speed']) @lang('widgets.weather.guststo') {{ $metar['wind_gust_speed'] }} @endif
Visibility {{ $metar['visibility'][$unit_dist] }} {{$unit_dist}}
Runway Visual Range @foreach($metar['runways_visual_range'] as $rvr) RWY{{ $rvr['runway'] }}; {{ $rvr['report'] }}
@endforeach
Phenomena {{ $metar['present_weather_report'] }}
@lang('widgets.weather.clouds') @if($unit_alt === 'ft') {{ $metar['clouds_report_ft'] }} @else {{ $metar['clouds_report'] }} @endif @if($metar['cavok'] == 1) Ceiling and Visibility OK @endif
@lang('widgets.weather.temp') @if($metar['temperature'][$unit_temp]) {{ $metar['temperature'][$unit_temp] }} @else 0 @endif °{{strtoupper($unit_temp)}} @if($metar['dew_point']), @lang('widgets.weather.dewpoint') @if($metar['dew_point'][$unit_temp]) {{ $metar['dew_point'][$unit_temp] }} @else 0 @endif °{{strtoupper($unit_temp)}} @endif @if($metar['humidity']), @lang('widgets.weather.humidity') {{ $metar['humidity'] }}% @endif
@lang('widgets.weather.barometer') {{ number_format($metar['barometer']['hPa']) }} hPa / {{ number_format($metar['barometer']['inHg'], 2) }} inHg
Recent Phenomena {{ $metar['recent_weather_report'] }}
Runway Condition @foreach($metar['runways_report'] as $runway) RWY{{ $runway['runway'] }}; {{ $runway['report'] }}
@endforeach
@lang('widgets.weather.remarks') {{ $metar['remarks'] }}
@lang('widgets.weather.updated') {{$metar['observed_time']}} ({{$metar['observed_age']}})
@lang('common.metar') @if($metar) {{ $metar['raw'] }} @else @lang('widgets.weather.nometar') @endif
TAF @if($taf) {{ $taf['raw'] }} @else @lang('widgets.weather.nometar') @endif