Cooling an outdoor electronics enclosure
I would try 3 solutions, possibly 4: 1) Implement a rigid sun shade as described by user113791.2) Add pvc pipe to intake vent so it is pulling in the coolest air possible, at ground level or below, or from the garage which usually has cool air at ground level.3) Add extra insulated fan protected from rain that blows air onto the enclosure as broadly as possible to cool off the metal enclosure.4) Add an internal fan to blow air on just the crucial components-those that are damaged by extensive heat. These 4 steps combined are low cost and should push the temperature down by a useful amount. Refrigeration would cost so much you might as well move the enclosure indoors. NOTES:A) If temperature drops below freezing or dew points become high then condensation of moisture on crucial parts is possible. As long as power is ON and some internal fans run, self-heating should keep moisture from forming internally.B) Under freezing conditions the external fans should be cut off. You can do this with an insulated switch or install thermal cut-offs that open at 45deg F or below. You do not want the fans to be blowing snow around or have power when they freeze and cannot rotate.C) Make sure the intake vent cannot pull in rain, heavy moisture or snow. This would corrode exposed contacts and circuit boards over time.