The beauty of the model is that it works as the rain is falling. "The model can predict within the next hour and change the warning - almost on the fly," said Dr Walker.
The council's environmental science manager, Dr Martin Neale, said the model would predict bacteria levels based on rainfall projections, tidal cycles, water movements in the Waitemata Harbour and the known water quality of contributing catchments.
"This work remains experimental but we have tested the model over the last 12 months by comparing it to Safeswim and other monitoring data.
"The model has performed exceptionally well and we are in the process of securing funding for its continued development and roll-out across the whole of the Waitemata and beyond."
Dr Neale said the advantage of the model was that it would forecast water quality for three days ahead whereas the results from water samples taken for laboratory testing typically described the water quality as it was two days before.