Automated basin delineation from digital elevation data