An irrigation-scheduling model for application of saline water to tree plantations