Optimization of the Hydrologic Response Units (HRU) using gridded meteorological data and spatially varying parameters