Because temp extremes cause batteries to deteriorate considerably faster, it’s important that you retain your batteries in a accepted place where in fact the temp is relatively secure.
Apart from enclosed above-ground buildings, you can also develop a framework that is partly underground. This way the temperature in the structure shall remain the same whatever the weather is like outside.
In addition, ensure that the demand inverter or controller system has a built-in temperatures reimbursement feature. That is necessary because the charge voltage limit of any battery increases as temperature drops and decreases at temperatures increase.