As the global population expands rapidly, there is a surge in global food demand. A 100%-110% increase in global crop demand from 2005 to 2050 has been predicted (Tilman et al., 2011). Using a more recent projection with 2010 as a baseline, the total global food demand is expected to increase by up to 56% in 2050 when considering climate change impacts (van Dijk et al., 2021). This drastic increase has exerted considerable pressures on agroecosystems (Kanianska et al., 2016). While agroecosystems play a critical role in global food supply, they also release greenhouse gases (GHGs) into the atmosphere contributing to climate change (Hartmann et al., 2013). Furthermore, global climate change, involving changes in precipitation and an increased frequency of extreme weather events that are likely to occur during this century (Canadell et al., 2021;Seneviratne et al., 2012), presents a significant challenge to agricultural production.