Ray tracing studies for the topside ionosphere