Theory and practice of pendulum observations at sea