def calc_precipitation_excess(throughfall, canopyDrain):
    ' Calculate excess precipitation (the sum of throughfall and canopy drainage)\n\n    Parameters\n    ----------\n    throughfall : int or float\n        Throughfall flux [mm day^-1]\n    canopyDrain : int or float\n        Canopy drainage flux [mm day^-1]\n    Returns\n    -------\n    precipExcess : int or float\n        Excess precipitation [mm day^-1]\n    '
    precipExcess = (throughfall + canopyDrain)
    return precipExcess
Calculate excess precipitation (the sum of throughfall and canopy drainage)

Parameters
----------
throughfall : int or float
    Throughfall flux [mm day^-1]
canopyDrain : int or float
    Canopy drainage flux [mm day^-1]
Returns
-------
precipExcess : int or float
    Excess precipitation [mm day^-1]
def calc_precipitation_excess(throughfall, canopyDrain):
    ' Calculate excess precipitation (the sum of throughfall and canopy drainage)\n\n    Parameters\n    ----------\n    throughfall : int or float\n        Throughfall flux [mm day^-1]\n    canopyDrain : int or float\n        Canopy drainage flux [mm day^-1]\n    Returns\n    -------\n    precipExcess : int or float\n        Excess precipitation [mm day^-1]\n    '
    precipExcess = (throughfall + canopyDrain)
    return precipExcess