transform_forecasts function

Transform forecasts and observed values