📊 Historical Weather Analysis

Detailed weather patterns and agricultural insights for your farm

Quick periods: Last 7 Days Last 30 Days Last 3 Months Last Year
@if(!empty($stats))
Temperature
{{ round($stats['temperature']['avg'] ?? 0) }}°F
Range: {{ round($stats['temperature']['min'] ?? 0) }}° - {{ round($stats['temperature']['max'] ?? 0) }}°
Soil avg: {{ round($stats['temperature']['avg_soil'] ?? 0) }}°F
Precipitation
{{ round($stats['precipitation']['total_inches'] ?? 0, 1) }}"
{{ $stats['precipitation']['rain_days'] ?? 0 }} rain days
Max daily: {{ round($stats['precipitation']['max_daily'] ?? 0, 1) }} inch
Wind
{{ round($stats['wind']['avg_speed'] ?? 0) }} mph
Max: {{ round($stats['wind']['max_speed'] ?? 0) }} mph
Peak gust: {{ round($stats['wind']['max_gust'] ?? 0) }} mph
Growing Conditions
{{ round($stats['growing_conditions']['total_gdd'] ?? 0) }}
Growing Degree Days
{{ $stats['growing_conditions']['frost_days'] ?? 0 }} frost days
@if(isset($stats['humidity']))
Humidity
{{ round($stats['humidity']['avg'] ?? 0) }}%
Range: {{ round($stats['humidity']['min'] ?? 0) }}% - {{ round($stats['humidity']['max'] ?? 0) }}%
@endif @if(isset($stats['soil_moisture']))
Soil Moisture
{{ round(($stats['soil_moisture']['avg_root_zone'] ?? 0) * 100, 1) }}%
Root zone average
Surface: {{ round(($stats['soil_moisture']['avg_surface'] ?? 0) * 100, 1) }}%
@endif
@if($dailyData && $dailyData->count() > 0)

📈 Daily Temperature & Precipitation Trends

{{ $dailyData->count() }} days of data available

🌡️ Temperature Trends

🌧️ Precipitation

📊 Combined Temperature & Precipitation

Daily Averages (Last 10 Days)

@foreach($dailyData->reverse()->take(10) as $day) @endforeach
Date Avg Temp (°F) Min/Max (°F) Precipitation Humidity GDD
{{ date('M j', strtotime($day->date)) }} {{ round($day->avg_temp ?? 0) }}° {{ round($day->min_temp ?? 0) }}° / {{ round($day->max_temp ?? 0) }}° {{ round($day->total_precipitation ?? 0, 1) }} inch {{ round($day->avg_humidity ?? 0) }}% {{ round($day->total_gdd ?? 0, 1) }}
@endif @else

📊 No Historical Data Available

No weather data found for the selected period.

Visit the Weather Admin page to collect current data or backfill historical records.

@endif @if($extremeEvents && $extremeEvents->count() > 0)

⚠️ Extreme Weather Events

Significant weather events during the selected period:

@foreach($extremeEvents->take(10) as $event)
{{ $event->recorded_at->format('M j, Y g:i A') }}
@if($event->temperature_2m_f <= 32) ❄️ Frost: {{ round($event->temperature_2m_f) }}°F @elseif($event->temperature_2m_f >= 95) 🌡️ Extreme Heat: {{ round($event->temperature_2m_f) }}°F @elseif($event->wind_gusts_10m_mph >= 40) 💨 High Winds: {{ round($event->wind_gusts_10m_mph) }} mph gusts @elseif($event->rain_inches >= 1) 🌧️ Heavy Rain: {{ round($event->rain_inches, 1) }} inch @endif
RH: {{ round($event->relative_humidity_2m ?? 0) }}%
Wind: {{ round($event->wind_speed_10m_mph ?? 0) }} mph
@endforeach @if($extremeEvents->count() > 10)
Showing 10 of {{ $extremeEvents->count() }} extreme events
@endif
@endif
🏠 Home 📊 Operations ← Weather Dashboard 🌱 Soil Analysis 🌿 Growing Conditions ⚙️ Data Management
@if($dailyData && $dailyData->count() > 0) @endif