HAZARD LEVEL from wind-chill temperature and wind-speed.

The Human Body Only Cares About Wind Chill.
The custom hazard level relies heavily on wind chill temperatures rather than just the actual air temperature.
Static air temperature only tells you how cold it is for inert objects. For a human being, moving air strips away the microscopic layer of warm air trapped next to our skin. A summit that is 2C on paper will feel like -10C to our body in a 40 mph gale. The wind chill value reflects the speed at which we lose body heat - hypothermia thresholds are tied to wind chill.

Also keep in mind, valley or sea-level wind speeds usually double or triple on a mountain summit. Additionally, geographical features like narrow ridges, saddles (cols), and deep valleys act as natural funnels, accelerating a manageable 25 mph wind into a dangerous 50+ mph gale. So, we use specialist forcasters like MWIS or MetOffice.

Calculating a mountain hazard level. From 1 (Low) to 5 (Extreme) based on:
    - peak wind speed (mph)
    - lowest temperature (C).

# Fail-safe: if data is missing.
If peak_wind is None or min_temp is None:
    the answer is 0 (an error code or level 0)

# LEVEL 5: EXTREME DANGER (Blown over / Instant Frostbite Risk)
if peak_wind >= 55 or min_temp <= -15:
    the answer is 5

# LEVEL 4: ARDUOUS & SEVERE (Strenuous walking / Severe Wind Chill)
if peak_wind >= 40 or min_temp <= -5:
    # if BOTH are borderline, bump it up to a 5
    if peak_wind >= 35 AND min_temp <= -2:
        the answer is 5
    the answer is 4

# LEVEL 3: CHALLENGING / PROGRESS IMPEDED (Buffeting on ridges / Freezing conditions)
if peak_wind >= 25 or min_temp <= 0:
    the answer is 3

# LEVEL 2: MODERATE (Noticeable breeze / Cool air)
if peak_wind >= 15 or min_temp <= 5:
    the answer is 2

# LEVEL 1: LOW RISK (Comfortable walking conditions)
if none of the above:
    the answer is 1

WildChannels