Plasma temperatures in the magnetosphere