wils lonely planet advised the huge tanks or dams were constructed to contain monsoon or summer storm runoff and it was believed the tanks filtered out water to supply the cities needs with enough surplus to supply irrigation crops for food production .