At first view, you may use pipe shield insulation. A simple metal sheet at some distance from pipe.
For the other situation with rain, maybe delta bowing to be of some help.
However rain is not falling always perfectly vertical.
Regards,
_________________________
Dan