A new technique for observationally derived boundary conditions for space weather