Forecasting Geomagnetic Conditions in near-Earth space