Use of PT software to study drought recurrence and planting dates in Tanzania.