Abstract: A magnetic observatory device is deployed at a fixed location such as the sea bed to provide data measuring variations in the local earth magnetic field. This data is used to correct information from magnetic direction sensors, for example in a measurement-while-drilling system of a drill string. Also described is a reference apparatus for initial calibration of the device or for marine magnetic mapping purposes.