Modeling and prediction of density changes and winds affecting spacecraft trajectories