Can it just look at the front and back horizon to estimate the local down vector?
But I don't think it's possible to measure a horizon that accurately. There are temperature and pressure dependent atmospheric effects at low angles that effect how light refracts and curves through the atmosphere, and these effects will have to be compensated for to measure the angle accurately. Additionally, there are mountains and valleys to compensate for.