Determining ships position and compass errors by means of celestial bodies.