def detect_flood(domain, algorithm):
    try:
        approach = _ALGORITHMS[algorithm]
    except:
        return None
    return (approach[0], approach[1](domain, compute_modis_indices(domain)))
Run flood detection with a named algorithm in a given domain.
dataset/ETHPy150Open nasa/CrisisMappingToolkit/cmt/modis/flood_algorithms.py/detect_flood