subdaily2weekly function

Subdaily -> Weekly