Water control in agriculture