def depth2intensity(depth, interval=300):
    """
    Function for convertion rainfall depth (in mm) to
    rainfall intensity (mm/h)

    Args:
        depth: float
        float or array of float
        rainfall depth (mm)

        interval : number
        time interval (in sec) which is correspondend to depth values

    Returns:
        intensity: float
        float or array of float
        rainfall intensity (mm/h)
    """
    return depth * 3600 / interval