Natural Resources Wales defended issuing a flood warning while water was already a foot-deep in the streets of Pontypridd.