Correction to: Nature Climate Change https://doi.org/10.1038/s41558-024-01946-y, published online 27 February 2024

In the version of the article initially published, in the last two equations of the “Determining allometric species’ preferences” section in the Methods, “ri” originally appeared as “r,|,i” and has now been amended. In the first equation of the “Dynamic model” section, the penultimate “Bi” originally included a subscript “l”. Additionally, in the Methods, refs. 47–54 appeared as refs. 48–55. These corrections have been made to the HTML and PDF versions of the article.