observations showed that the variation of the compass needle , or the difference between the direction of the pole and the direction indicated by the compass , had changed by nearly ten degrees since rio .