{{-- Location Title --}}
Weather Conditions for {{ $info->location->name }}:
{{-- Icon & Current Temp --}}
{{ round($info->weather->info->current_observation->temp_f) }} °F
{{ $info->weather->info->current_observation->weather }} with Winds {{ $info->weather->info->current_observation->wind_string }}
{{-- Hight/Low --}}
High
{{ round($info->heat_index->high->t) }} °F
Low
{{ round($info->weather->info->forecast->simpleforecast->forecastday[0]->low->fahrenheit) }} °F
{{ $info->weather->info->forecast->simpleforecast->forecastday[0]->pop }}% chance of precip.
Sunset {{ date('g:i a', strtotime($info->weather->info->sun_phase->sunset->hour . ':' . $info->weather->info->sun_phase->sunset->minute)) }}
{{-- Humidity --}}
Current Humidity
{{ $info->weather->info->current_observation->relative_humidity }}
High Humidity
{{ $info->heat_index->high->h }}%
UV Index
 }})
{{ $info->weather->info->current_observation->UV }}
Visibility
{{ $info->weather->info->current_observation->visibility_mi }} miles
{{-- Information --}}
Station: {{ $info->weather->info->current_observation->observation_location->full }}
Observation Time: {{ date('g:i a, l, n/j/Y', strtotime($info->weather->info->current_observation->observation_time_rfc822)) }}
Page Loaded: {{ date('g:i a, l, n/j/Y', time()) }}
{{-- Recommendation --}}
{{-- Heat Index (Current & Forecast) --}}
@foreach (array('current' => 'Current', 'high' => 'Forecasted') as $type => $title)
{{ $title }} Conditions: {{ $info->heat_index->{$type}->t }}° F, {{ $info->heat_index->{$type}->h }}% hum. - Heat Index of {{ $info->heat_index->{$type}->i }}
normal
notice
caution
warning
danger
Heat Index
{{ $info->heat_index->{$type}->i }}
{{-- Category 1: Normal --}}
@if ($info->heat_index->{$type}->category == 1)
Normal
- Maximum of 5 hours of practice today.
- Provide ample amounts of water.
@endif
{{-- Category 2: Notice --}}
@if ($info->heat_index->{$type}->category == 2)
Notice
- Maximum of 5 hours of practice today.
- Provide ample amounts of water.
- Water should always be available and athletes should be able to take in as much water as they desire.
- Watch/monitor athletes for necessary action.
@endif
{{-- Category 3: Caution --}}
@if ($info->heat_index->{$type}->category == 3)
Caution
- Maximum of 5 hours of practice today.
- OSAA Recommendation: Consider postponing practice to later in the day.
- Practice length a maximum of 3 hours.
- Mandatory 3 hour recovery period between practices.
- Contact sports and activities with additional equipment - Helmets and other possible equipment removed if not involved in contact or necessary for safety.
- Provide ample amounts of water.
- Water should always be available and athletes should be able to take in as much water as they desire.
- Watch/monitor athletes for necessary action.
@endif
{{-- Category 4: Warning --}}
@if ($info->heat_index->{$type}->category == 4)
Warning
- Maximum of 5 hours of practice today.
- OSAA Recommendation: Postpone practice to later in the day.
- Practice length a maximum of 3 hours.
- Mandatory 3 hour recovery period between practices.
- Alter uniform by removing items if possible - Allow for changes to dry t-shirts and shorts.
- Contact sports and activities with additional equipment - Helmets and other possible equipment removed if not involved in contact or necessary for safety.
- Reduce time of planned outside activity as well as indoor activity if air conditioning is unavailable.
- Provide ample amounts of water.
- Water should always be available and athletes should be able to take in as much water as they desire.
- Watch/monitor athletes for necessary action.
@endif
{{-- Category 5: Danger --}}
@if ($info->heat_index->{$type}->category == 5)
Danger
- OSAA Recommendation: Stop all outside activity in practice and/or play, and stop all inside activity if air conditioning is unavailable.
@endif
@endforeach