(temp, hum)
return spread * 125.0
Calculate cumulus cloud base in metres, using formula from
    https://en.wikipedia.org/wiki/Cloud_base or
    https://de.wikipedia.org/wiki/Kondensationsniveau#Konvektionskondensationsniveau
Calculate cumulus cloud base in metres, using formula from
    https://en.wikipedia.org/wiki/Cloud_base or
    https://de.wikipedia.org/wiki/Kondensationsniveau#Konvektionskondensationsniveau
Calculate cumulus cloud base in metres using formula from https : // en . wikipedia . org / wiki / Cloud_base or https : // de . wikipedia . org / wiki / Kondensationsniveau#Konvektionskondensationsniveau
def cloud_base(temp, hum):
    """Calculate cumulus cloud base in metres, using formula from
    https://en.wikipedia.org/wiki/Cloud_base or
    https://de.wikipedia.org/wiki/Kondensationsniveau#Konvektionskondensationsniveau
    """
    if temp is None or hum is None:
        return None
    dew_pt = dew_point(temp, hum)
    spread = float(temp) - dew_pt
    return spread * 125.0
def cloud_base ( temp , hum ) : if temp is None or hum is None : return None dew_pt = dew_point ( temp , hum ) spread = float ( temp ) - dew_pt return spread * 125.0