How did Porterville, where a then raging Tule River cuts through the town, stay dry while so many other San Joaquin Valley communities got flooded out last spring? Planning, coordination and permits. Sounds simple, but it took officials from the city, irrigation district, Tulare County and federal offices years to establish. It paid off as…