Calculate location according to altitude of stars