CC - Keep in mind that heat rises, so in an enclosure you will want to put your heavy heat producing items in the bottom with a vent, then cross over to the opposite upper side with a vent. You want the hot air to move out above while cooler air is being brought in below.

Also keep in mind that motor overheating is not always caused by excessive ambient and operating temps.

A well overlooked area by the Plug-N-Play population is over amping the motor. Yep, some people do string out a couple hundred feet of the $9.00 Home Depot extension cords and wonder why their motor smoked in short order.

Voltage drop. Pretty much most AC motors are constant HP critters. That means they will try maintain their constant HP output despite what they are being fed. If voltage drops, it want's to eat more amps to maintain HP although speed has been reduced, and now the cooling fan is much less effective, because it has to follow the Affinity Laws. Higher amps are working their way into the winding insulation and causing premature failure of a motor that should last for many, many years.

Don't buy a 100' extension cord and octapus all of your pond's electrical requirements off of that.