Functions used to downscale daily weather, including the tuning function to be used with observed weather (DSS_Cal) and down-scaling future weather (DDS_Fut). Within the function the studies where the methodology was derived from is discussed.