A framework to identify critical dynamics of water quality for diagnosing river basin ecosystem resilience and management. (24th February 2023)