Using start date and end date all shock events at Earth are backpropagated to the Sun.
Arround the time all flares (above certain levels) and cmes are assoicated.
The possition of the flare and speed of the CME are used to forward propagate the event to Mars.