A new method for improving the interferometric resolution by compensating for the atmospherically induced phase shift