In order to use the soil as a thermal store you will need to know the thermal diffusivity (Dt)and heat capacity of the soil. Dt will change with water content and has a maximum below saturation and is low in dry and saturated soils. The heat capacity is at a maximum at saturation and decreases as the soil dries due to water having a high heat capacity. Depending on what the amount of heat is you need to dissipate you can calculate the surface area of the soil heat exchanger that you need. There are many models both analytical and numerical to do this. You should consider what the final temperatures are going to be at steady state.
One problem could be since the climate is hot the soil may be dry and hence the Dt may be low which will result in a very large area required to provide the necessary cooling. You should also consider if there are alternatives as the cost benefit may not be sufficient to consider this option.