Answer:
It's called a "clear view screen" and it's sort of a high-efficiency windshield wiper (it spins at high speed) ensuring a clean view for the captain or pilot regardless of how much spray or ice or rain happens. Ships generally also have regular windscreen wipers on the other windows.