Reuse of treated wastewater for irrigation