G1/2" Water Flow Sensor suitablity

Hello,

I was wondering if this sensor can be placed in ocean water or in a ballast tank.