Correction to: Communications Earth & Environment https://doi.org/10.1038/s43247-025-02464-1, published online 16 June 2025

In the version of the article initially published, Figs. 5 and 6 were switched and have now been corrected in the HTML and PDF versions of the article.