An evaluation of soil water status for irrigation and drainage control