ionosphere-free function