Which would influence a magnetic compass?