subdaily2daily function

Sub-daily -> Daily