Groundwater depths that are too deep or shallow can negatively affect soil water. When the groundwater depth is relatively low, groundwater affects the water content variations in the aeration zone of soil profiles through capillary forces and plays an important role in the migration and transport of substances and energy in shallow soil layers.