A procedure for planning irrigation scheme rehabilitation