Use of Shields stress to reconstruct and forecast changes in river metabolism