introduced get_quality_dates_for_subbasin function.