reduce arguments of get_daily_dat