Devices for measuring the direction of a magnetic field relative to astronomical or survey coordinates.