If the earth was flat as you claim, any ship radar should have unlimited range.
Anyone can go see a radar demonstration. They have different range, according to the ship model and the ship's function. (Civilian/Military)
Air does not influence radio waves in any way, except for slowing them down.