Sydney is expected to get a week of heavy rainfall, while severe weather warnings have been issued for parts of the NSW coast.