Behavior of wave packets and pulse compression in the ionosphere