diff --git a/app/Support/Metar.php b/app/Support/Metar.php index 7f5635a2..25c573cf 100644 --- a/app/Support/Metar.php +++ b/app/Support/Metar.php @@ -1772,7 +1772,7 @@ class Metar implements \ArrayAccess */ private function calculate_wind_chill($temperature_f): void { - if ($temperature_f < 51 && $this->result['wind_speed'] !== 0) { + if ($temperature_f < 51 && $this->result['wind_speed'] && $this->result['wind_speed'] !== 0) { $windspeed = $this->result['wind_speed']->toUnit('mph'); if ($windspeed > 3) { $chill_f = 35.74 + 0.6215 * $temperature_f - 35.75 * ($windspeed ** 0.16);