def calc_canopy_evaporation(pet, wetFrac):
    ' Calculate the evaporation from canopy interception storage\n\n    Parameters\n    ----------\n    pet : int or float\n        Potential evapotranspiration [mm day^-1]\n    wetFrac : float\n        Wetted fraction of the canopy\n\n    Returns\n    -------\n    canopyEvap: float\n        Evaporation from canopy interception storage [mm day^-1]\n    '
    canopyEvap = (pet * wetFrac)
    return canopyEvap
Calculate the evaporation from canopy interception storage

Parameters
----------
pet : int or float
    Potential evapotranspiration [mm day^-1]
wetFrac : float
    Wetted fraction of the canopy

Returns
-------
canopyEvap: float
    Evaporation from canopy interception storage [mm day^-1]
def calc_canopy_evaporation(pet, wetFrac):
    ' Calculate the evaporation from canopy interception storage\n\n    Parameters\n    ----------\n    pet : int or float\n        Potential evapotranspiration [mm day^-1]\n    wetFrac : float\n        Wetted fraction of the canopy\n\n    Returns\n    -------\n    canopyEvap: float\n        Evaporation from canopy interception storage [mm day^-1]\n    '
    canopyEvap = (pet * wetFrac)
    return canopyEvap