China’s summer this year has seen both extreme heat and devastating floods.