Defining minimum environmental flows at regional scale: application of mesoscale habitat models and catchments classification