Joint bias correction of temperature and precipitation in climate model simulations