# Is time a variable like the others in multivariate statistical downscaling and bias correction?

Yoann Robin, Mathieu Vrac

► To cite this version:

Yoann Robin, Mathieu Vrac. Is time a variable like the others in multivariate statistical downscaling and bias correction?. Earth System Dynamics, 2021, 12 (4), pp.1253 - 1273. 10.5194/esd-12-1253-2021. hal-03464114

HAL Id: hal-03464114

https://hal.science/hal-03464114

Submitted on 3 Dec 2021

HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entific research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d'enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.

<figure><img src="image_1.png" /></figure>

Distributed under a Creative Commons Attribution 4.0 International License
<figure><img src="image_2.png" /></figure>

<figure><img src="image_3.png" /></figure>

# Is time a variable like the others in multivariate statistical downscaling and bias correction?

Yoann Robin¹,★ and Mathieu Vrac²,★

¹Météo-France, 42 avenue Gaspard-Coriolis, 31057, Toulouse, France

²Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL), CEA/CNRS/UVSQ, Université Paris-Saclay, Centre d'Etudes de Saclay, Orme des Merisiers, 91191 Gif-sur-Yvette, France

★These authors contributed equally to this work.

**Correspondence:** Yoann Robin (yoann.robin@meteo.fr) and Mathieu Vrac (mathieu.vrac@lsce.ipsl.fr)

Received: 16 March 2021 – Discussion started: 8 April 2021

Revised: 8 September 2021 – Accepted: 8 October 2021 – Published: 25 November 2021

**Abstract.** Bias correction and statistical downscaling are now regularly applied to climate simulations to make then more usable for impact models and studies. Over the last few years, various methods were developed to account for multivariate – inter-site or inter-variable – properties in addition to more usual univariate ones. Among such methods, temporal properties are either neglected or specifically accounted for, i.e. differently from the other properties. In this study, we propose a new multivariate approach called “time-shifted multivariate bias correction” (TSMBC), which aims to correct the temporal dependency in addition to the other marginal and multivariate aspects. TSMBC relies on considering the initial variables at various times (i.e. lags) as additional variables to be corrected. Hence, temporal dependencies (e.g. auto-correlations) to be corrected are viewed as inter-variable dependencies to be adjusted and an existing multivariate bias correction (MBC) method can then be used to answer this need. This approach is first applied and evaluated on synthetic data from a vector auto-regressive (VAR) process. In a second evaluation, we work in a “perfect model” context where a regional climate model (RCM) plays the role of the (pseudo-)observations, and where its forcing global climate model (GCM) is the model to be downscaled or bias corrected. For both evaluations, the results show a large reduction of the biases in the temporal properties, while inter-variable and spatial dependence structures are still correctly adjusted. However, increasing the number of lags too much does not necessarily improve the temporal properties, and an overly strong increase in the number of dimensions of the dataset to be corrected can even imply some potential instability in the adjusted and/or downscaled results, calling for a reasoned use of this approach for large datasets.

## 1 Introduction

Climate and Earth system models (ESMs) and their simulations are the main physical tools to investigate the potential future evolutions of the climate system (e.g. Flato et al., 2013; Kirtman et al., 2013). They are clearly indispensable for testing how different scenarios of greenhouse gas emission trajectories might induce climate changes and, thus, for trying to anticipate potential impacts of those changes (e.g. IPCC, 2019). Although such elaborate models contain many relevant and complex processes characterizing the climate

properties and their dependencies, the numerical simulations they generate are often tainted with biases and disagreements with respect to observations. Those can stem (i) from the spatial resolution of the simulations (from 200 km × 200 km for global climate models, GCMs, down to a few kilometres for regional climate modes, RCMs), usually too low compared to needs of impact models that may require very local or high-resolution input climate data, e.g. kilometres, hundreds of metres or below, down to the weather stations (e.g. Chen et al., 2011; Maraun and Widmann, 2018), and/or (ii) from inherent biases in the model simulations, due to parameter-
izations, or processes not represented or poorly represented (e.g. McFarlane, 2011). Even with respect to observations or reanalysis data at the models' spatial resolution, the simulations can present biases, i.e. disagreements on some statistical properties (e.g. mean, variability, distribution) that differ from reference data (e.g. Christensen et al., 2008).

Those issues make that impact models (such as for hydrology, energy, environment, etc.) cannot directly employ the climate simulations as input (e.g. Teutschbein and Seibert, 2012; Chen et al., 2013). Indeed, most impact models are calibrated on observational data and the use of biased climate data as input could result in inappropriate or even false impact projections. To overcome those spatial or inherent biases, various statistical post-processing methods have been developed for downscaling and/or bias correction of the climate simulations. The common idea is to statistically transform the numerical simulations – over a historical period – in such a way that some properties become equal or close to those of a chosen reference dataset (e.g. Gudmundsson et al., 2012). The statistical downscaling or correction transformation is then usually supposed valid under other climate conditions and applied to changed (e.g. future) climate. The obtained downscaled/bias corrected climate data can then serve as input into impact models (e.g. Teutschbein and Seibert, 2012; Galmarini et al., 2019; Bartók et al., 2019; Chen et al., 2021, among many others).

Over the last two decades, many such post-processing methods were developed, either in a “perfect prognosis” (PP) context, generally for downscaling (DS), or in a “model output statistics” (MOS) one, generally for bias correction (BC) – see e.g. Vaittinada Ayar et al. (2015) or Maraun and Widmann (2018) for the differences between the two, or Vrac and Vaittinada Ayar (2017) for a combination of PP and MOS. Note that, in practice, BC methods (i.e. MOS) are often used to perform downscaling (see for example Thrasher et al., 2012; Hempel et al., 2013; Frieler et al., 2017). Hence, in the following, we will simply refer to “bias correction” (hereafter BC) even for downscaling purposes. Up to recently, most of the BC methods were designed to work on “univariate” data, representing one climate variable at one given location. In such a univariate context, PP approaches include for example linear regressions (Jeong et al., 2012), non-linear ones such as polynomial regressions and artificial neural networks (Xiaoli et al., 2008), or stochastic weather generators (Wilks, 2012). In a similar univariate context, MOS methods can vary from very simple methods correcting only the mean via anomalies adjustments (e.g. Xu, 1999, with the “anomaly” method), or the variance (e.g. Eden et al., 2012; Schmidli et al., 2006, with the “simple scaling” method) to more complete and widespread methods such as the “quantile-mapping” approach that corrects the whole univariate distribution and therefore all statistical moments (including mean and variance) of the variable of interest. Quantile mapping (e.g. Haddad and Rosenfeld, 1997; Déqué, 2007) is certainly the most used 1D BC method by practitioners

and numerous variants have been developed, e.g. by Vrac et al. (2012) to account for non-stationarity, by Kallache et al. (2011) for modelling of extremes, by Cannon et al. (2015) to ensure preservation of the climate change signal, or by Vrac et al. (2016) specifically for precipitation including occurrences, among many other variants.

However, the univariate correction of simulations (i.e. one variable at a time and one site at a time) may not be enough. Indeed, the use of several 1D corrections separately for different physical variables and/or sites will not correct the dependencies between them (Vrac, 2018). The consequence is that, if the simulations are biased in their spatial and/or inter-variable correlations (or more generally in their dependencies), most of the 1D BC methods will conserve those biases (Vrac, 2018; François et al., 2020). If an impact (e.g. hydrological) model needs realistic dependencies between its input climate variables, the use of univariate BC may not provide corrections realistic enough (e.g. Boé et al., 2007). More generally in climate sciences, the accurate modelling of dependencies is a key aspect for proper assessments and projections of compound events and their associated risks (e.g. Leonard et al., 2014; Zscheischler et al., 2018; Bevacqua et al., 2019). These characteristics strongly motivated the development of BC methods accounting for multivariate links between the variables and/or the sites of interest. As detailed in Vrac (2018) or François et al. (2020), multivariate BC methods can be categorized in three approaches: the “marginal/dependence” correction approach, in which the correction of the marginal distributions and that of the dependence structure are separated (e.g. Bárdossy and Pergram, 2012; Cannon, 2018; Vrac, 2018); the “successive conditional” correction one, in which successive corrections are conditionally applied to the previously corrected variables (e.g. Piani and Haerter, 2012; Dekens et al., 2017); and the “all-in-one” correction approach, in which the univariate marginal properties and their dependence structures are corrected altogether (Robin et al., 2019). Those methodologies have been applied to correct either inter-variable dependence only (i.e. multiple variables but spatial dependence not accounted for), spatial dependence only (one variable at multiple locations) or even both (see François et al., 2020, for a review and comparison of the methods).

One main conclusion provided in the multivariate bias correction (MBC) comparison study by François et al. (2020) is that if inter-site and inter-variable properties can be reasonably adjusted by MBC methods, the temporal properties are usually not taken into account in most MBC procedures. As any MBC will necessarily modify the rank chronology of the simulations to perform the multivariate correction (Vrac, 2018), the result is that temporal properties and dependencies issued from the MBC output are transformed with respect to the raw simulations but are not necessarily closer to those of the reference data, depending on the method itself, its setting and the variables of interest (François et al., 2020). Therefore, accounting for temporal properties (i.e.
auto-correlations or even cross-auto-correlations) when performing MBC is needed to increase the realism of the multivariate corrected time series. This is a major concern for impact studies: for example, hydrological models are very sensitive to the atmospheric forcing used as inputs and particularly, among others, to biases in the chronology of events (e.g. Raimonet et al., 2017; Bhuiyan et al., 2018). Some works tried to correct temporality properties in addition to (spatial or inter-variable) MBC. For example, Johnson and Sharma (2012) used a nesting 1D BC model across various timescales; this was extended to include inter-site structures by Mehrotra and Sharma (2015) and then by Mehrotra and Sharma (2016) to account also for inter-variable dependence. In those studies, time dependence was specifically modelled via (multivariate) auto-regressive models with periodic parameters. Another recent study by Vrac and Thao (2020) proposed an MBC method for both inter-site and inter-variable properties, where the temporal aspects are accounted for through an analogue-based method applied to multivariate sequences of ranks.

All those approaches, although different, share the fact that they try to correct temporal properties by a (parametric or non-parametric) model that is specific to the variable “time”. In other words, they separate time from the other variables (variables at various locations) of interest. However, one can wonder if there is a real need for such a specificity. Indeed, let us take an example in one dimension for the sake of clarity (this can be easily generalized to n dimensions). Say we have a time series of a climate variable X to be corrected (e.g. temperature) at one location, for $t = 1, \dots, N: X_{1:N} = (x_1, \dots, x_N)$. If we apply a 1D BC method to the sample $X_{1:N}$, most of the BC methods will preserve the rank correlation of X (Vrac, 2018). Now, instead of applying a 1D BC, if we duplicate and lag – say of one time step – the time series $X_{1:N}$, we obtain a shifted time series denoted $X_{1:N-1}^S = X_{2:N} = (x_2, \dots, x_N)$. If a multivariate bias correction method is able to correct the dependence between two univariate time series, say X and Y, when applied to the multivariate time series

$$ (X, X^S)_{1:N-1} = \begin{pmatrix} x_1 & x_2 \\ x_2 & x_3 \\ \vdots & \vdots \\ x_{N-1} & x_N \end{pmatrix}, \qquad (1) $$

it should then be able to correct the dependence between the univariate time series X and $X^S$, i.e. it should be able to correct the lag-1 temporal dependence of X. As far as we know, this specific approach of considering time as any other statistical variable in an MBC procedure has never been investigated. This is therefore the goal of the present study. More specifically, the aim is to investigate (i) if this time-shifted multivariate bias correction (TSMBC) approach does correct temporal properties (e.g. auto-correlations), (ii) if and how

it impacts other properties (e.g. inter-site and inter-variable), and (iii) if this TSMBC is able to work for more than lag-1.

To do so, the rest of the paper is organized as follows. Section 2 describes the climate and synthetic data used in this study and provides detailed explanations about the proposed TSMBC approach. Section 3 investigates the method based on artificially simulated multivariate dataset obtained from a vector auto-regressive (VAR) model. Then, TSMBC is applied to correct daily temperature and precipitation simulated from a climate model, and the results are given in Sect. 4. Finally, conclusions are reiterated and perspectives are discussed in Sect. 5.

# 2 Data and methodology

## 2.1 Data: climate simulations and VAR processes

To apply any (M)BC method, it is necessary to dispose of a dataset of reference – i.e. it is supposed to be as close as possible to real observed climate – and a dataset of simulations (e.g. stemming from a GCM) that are biased with respect to the reference dataset.

Here, the climate simulations to be corrected are daily temperature and precipitation times series over the south-east of France, for the time period 1951–2010, extracted at a 1.25° × 2.5° spatial resolution from the IPSL-CM5A-MR global climate model (Marti et al., 2010; Dufresne et al., 2013) developed at Institut Pierre Simon Laplace (IPSL). The simulations are forced by historical conditions up to 2005 and then by RCP8.5 scenario conditions from 2006. The region of interest is presented in Fig. 1 and corresponds to a zone where correlations between precipitation and temperature as well as auto-correlations are difficult to model due to various geographical constraints, such as Mediterranean influences and three mountain ranges (the Pyrenees, the Massif Central, the Alps), which can generate high-precipitation events known as “Cevennol events” (see for example Delrieu et al., 2005).

Regarding the reference dataset, regional climate simulations are used in this study, instead of observational or reanalysis data. Those are EURO-CORDEX daily temperature and precipitation from the KNMI-RACMO22E regional climate model (KNMI, 2017) developed at the Royal Netherlands Meteorological Institute (KNMI) and forced by the larger-scale IPSL simulations. The same time period and region as for the IPSL simulations were extracted but with a 0.11° × 0.11° spatial resolution. Note that the extracted region of interest is small in comparison to the initial EURO-CORDEX domain (Jacob et al., 2014) over which the RCM simulations were performed. This kind of “perfect model experiment”, i.e. considering simulations as “pseudo-observations”, is now a common approach to assess downscaling and bias correction methods (see for example Charles et al., 2004; Vrac et al., 2007; Frost et al., 2011; Bürger et al., 2012; Grouillet et al., 2016).
<figure><img src="image_4.png" /><figcaption>**Figure 1.** Left panel: map of elevation (in m) over France. The region of interest lies in the south-east box. Right panels: mean summer (JJA) temperature (in °C) and precipitation (in mm d⁻¹) for the region of interest (top: IPSL-CM5A-MR; bottom: KNMI-RACMO22E) over 1951–2010.</figcaption></figure>

The GCM data are then interpolated with a nearest-neighbour method to the 0.11° × 0.11° spatial resolution of the RCM to apply the TSMBC approaches. The (GCM and reference) data over the period 1951–1980 will serve to calibrate the proposed TSMBC method, while projections and evaluations will be performed over 1981–2010. Moreover, the calibration and projection steps are realized on a seasonal basis, i.e. for the four seasons separately to account for specific seasonal features of the biases. For sake of clarity, only the summer (JJA) results are shown in the paper, winter (DJF) results being provided in the Supplement.

In addition to the evaluations that will be done based on those climate simulations, a preliminary analysis will first be performed on synthetic data, i.e. data artificially generated from statistical models. Here, a VAR process is employed. A VAR process is a multivariate auto-regressive (AR) process (i.e. allowing multivariate data) modelling the statistical link between the components of a vector (i.e. multivariate data) when they change in time. In the following, a VAR is used to generate multivariate time series ($X_t$)$_{t=1,..., N}$ where each $X_t$ is a vector of dimension $d$ (e.g. $d = 2$ with temperature and precipitation at one location, or with temperature only at two locations), with prescribed auto-correlations up to a certain lag $s$, such that

$$X_n = b + \sum_{l=1}^{s} A_l X_{n-l} + \epsilon, \quad (2)$$

where $s$ is the order of the VAR process for which the auto-correlation is accounted for, $b$ is the $d$-dimensional intercept vector, $A_l$ are matrices of coefficients and $\epsilon$ is a $d$-dimensional noise following a multivariate Gaussian law with 0 mean vector and covariance matrix $\Sigma$. Two VAR processes are generated: one used as the large-scale or biased simulations and the other one used as the reference.

To generate such synthetic data and analyse them in a comprehensive way, the dimension $d$ has been chosen to be equal to 2 and lag $s$ equal to 3. The sampling is performed based on Eq. (2): the first $s$ vectors (i.e. from time 1 to $s$) are initialized and the VAR process allows new values to be generated for the $d$ components of the vector at time $s+1$. Also, in order to be in a realistic case, i.e. close to our climate simulation context, the parameters $b$, ($A_l$)$_{l=1...3}$ and $\Sigma$ have been estimated from a VAR fitted to temperature at two opposite grid points in summer (from the GCM or RCM, for VARs representing biased or reference data respectively) in the region of interest. The parameters obtained for these two VARs are then used to simulate 2500 synthetic data for each of the two VAR processes, approximately corresponding to the number of summer days over the available calibration period. The univariate and bivariate probability density functions of those simulations are plotted in Fig. 2a, in red for VAR data to be corrected and in blue for the reference VAR.

## 2.2 The TSMBC approach: auto-correlations seen as correlations

The main philosophy of the proposed time-shifted multivariate bias correction (TSMBC) approach has been briefly introduced (with lag 1) in Eq. (1) of the introduction sec-
<figure><img src="image_5.png" /><figcaption>Figure 2. (a) Probability densities and covariance matrices of the VAR processes and their corrections. (b) Auto-correlation of the first coordinate. (c) Cross-auto-correlation between the first and the second coordinates. (d) Cross-auto-correlation between the second and the first coordinates. (e) Auto-correlation of the second coordinate.</figcaption></figure>

tion. We now described the approach in a more general way and with more details. Say we dispose of a d-dimensional time series (i.e. matrix) $X_{1:N} = (X^1, X^2, ..., X^d)_{1:N}$, where each $X^i_{1:N}$ is an N-dimensional vector (i.e. time series of length N): $(x^i_1, ..., x^i_N)^T$, where the superscript T on a vector denotes its transpose. The idea proposed and tested in this article consists of applying a multivariate bias correction onto the matrix M(s) constituted by the gathering of the initial $X_{1:N}$ time series and those obtained after shifting it by different lags up to lag s:

$$ M_X(s) = \begin{pmatrix} (X^1, X^2, ..., X^d)_{1:N-s} \\ (X^1, X^2, ..., X^d)_{2:N-s+1}, \dots \\ (X^1, X^2, ..., X^d)_{s+1:N} \end{pmatrix} \quad (3) $$

or equivalently

$$ M_X(s) = \begin{pmatrix} \begin{pmatrix} x_1^1 & x_1^2 & \dots & x_1^d \\ x_2^1 & x_2^2 & \dots & x_2^d \\ \vdots & \vdots & \ddots & \vdots \\ x_{N-s}^1 & x_{N-s}^2 & \dots & x_{N-s}^d \end{pmatrix} \\ \begin{pmatrix} x_2^1 & x_2^2 & \dots & x_2^d \\ x_3^1 & x_3^2 & \dots & x_3^d \\ \vdots & \vdots & \ddots & \vdots \\ x_{N-s+1}^1 & x_{N-s+1}^2 & \dots & x_{N-s+1}^d \end{pmatrix}, \dots, \\ \begin{pmatrix} x_{s+1}^1 & x_{s+1}^2 & \dots & x_{s+1}^d \\ x_{s+2}^1 & x_{s+2}^2 & \dots & x_{s+2}^d \\ \vdots & \vdots & \ddots & \vdots \\ x_N^1 & x_N^2 & \dots & x_N^d \end{pmatrix} \end{pmatrix} \quad (4) $$

which can then be grouped by variable (dimension) and thus reordered as
$$
\mathbf{M}_{\mathbf{X}}(s) = \begin{pmatrix}
\begin{pmatrix}
x_1^1 & x_2^1 & \cdots & x_{s+1}^1 \\
x_1^2 & x_3^1 & \cdots & x_{s+2}^1 \\
\vdots & \vdots & \ddots & \vdots \\
x_{N-s}^1 & x_{N-s+1}^1 & \cdots & x_N^1
\end{pmatrix}, & \\
\begin{pmatrix}
x_1^2 & x_2^2 & \cdots & x_{s+1}^2 \\
x_1^2 & x_3^2 & \cdots & x_{s+2}^2 \\
\vdots & \vdots & \ddots & \vdots \\
x_{N-s}^2 & x_{N-s+1}^2 & \cdots & x_N^2
\end{pmatrix}, \cdots, & \\
\begin{pmatrix}
x_1^d & x_2^d & \cdots & x_{s+1}^d \\
x_1^d & x_3^d & \cdots & x_{s+2}^d \\
\vdots & \vdots & \ddots & \vdots \\
x_{N-s}^d & x_{N-s+1}^d & \cdots & x_N^d
\end{pmatrix} &
\end{pmatrix} \quad (5)
$$

Such a transformation can be made to create $\mathbf{M}_Y(s)$ and $\mathbf{M}_X(s)$, the lagged matrices obtained from the reference dataset and the biased one to be corrected, respectively. An MBC method can thus be applied to correct the multivariate properties of $\mathbf{M}_X(s)$ with respect to $\mathbf{M}_Y(s)$ as reference. The result of the MBC is therefore a matrix $\mathbf{M}_Z(s)$ of the same size as $\mathbf{M}_X(s)$. The question to answer now is, from this resulting MBC matrix, how can a $N \times d$ matrix $\mathbf{Z}$ be extracted or reconstructed that corresponds to proper multivariate (time included) corrected data? There are indeed various possibilities for that, and they may not be equivalent.

In this study, we propose a method based on a reconstruc-
tion *by rows*. For illustration, let us take this example of a
bivariate dataset **X** and its associated matrix **M**<sub>**X**</sub>(1), i.e. in-
cluding a lag-1 shift:

$$
\mathbf{X} = \begin{pmatrix} 1 & 10 \\ 2 & 20 \\ 3 & 30 \\ 4 & 40 \\ 5 & 50 \\ 6 & 60 \end{pmatrix}, \quad \mathbf{M}_{\mathbf{X}}(1) = \begin{pmatrix} \mathbf{1} & \mathbf{10} & \mathbf{2} & \mathbf{20} \\ \mathbf{2} & \mathbf{20} & \mathbf{3} & \mathbf{30} \\ \mathbf{3} & \mathbf{30} & \mathbf{4} & \mathbf{40} \\ \mathbf{4} & \mathbf{40} & \mathbf{5} & \mathbf{50} \\ \mathbf{5} & \mathbf{50} & \mathbf{6} & \mathbf{60} \end{pmatrix}.
$$

In this example, the bold rows of the matrix **M**<sub>X</sub>(1) (its
rows 1, 3 and 5) can be used to reconstruct the original
dataset **X**. More generally, a row *s* of **M**<sub>X</sub>(1) is a vector corre-
sponding to a portion of **X**, which continues at row *s*+2, and
which continues at row 2*s*+3, etc. Concatenating these rows,
we can re-construct the dataset **X**. Applying this method to
the matrix **M**<sub>Z</sub>(*s*), we can reconstruct a corrected dataset **Z**.
Because the same operation can be applied by starting at the
second row (and any row between 1 and *s* + 1), the recon-
struction depends on the choice of the starting row. However,
even if the values are repeated in the lagged matrix, no re-
peated values can appear in the final reconstruction (i.e. mul-
tivariate corrections). It is also worth noting the initial map-
ping (i.e. going from **X** to **M**<sub>X</sub>) is injective, and that, in gen-
eral, an inverse mapping is not. However, with the suggested
reconstruction (i.e. inverse mapping), when a starting row is

chosen, the inverse mapping gives a unique time series and
is thus injective. Moreover, the choice of a starting row *r* > 1
omits the first *r* − 1 values in the final reconstruction. This
leads us to wonder about the influence of the choice of the
starting row. These points will be investigated with the VAR
processes. Our approach is summarized in the Algorithm 1.

Note that a reconstruction “by column” could also be per-
formed: each column of M<sub>X</sub>(1) being a sub-column of X, it
could then be used to reconstruct the original dataset. How-
ever, preliminary analyses showed that this approach does
not allow auto-correlations to be corrected, as the temporal
dependence structure in each row is not corrected and mostly
corresponds to that of the model to be adjusted (not shown).
Hence, only the TSMBC approach “by rows” is investigated
in the following.

Finally, because TSMBC uses an underlying MBC, po-
tentially any MBC method can be used, as MBCn (Can-
non, 2018) or R2D2 (Vrac and Thao, 2020). Here, the MBC
method used is the dynamical optimal transport correction
(dOTC) developed by Robin et al. (2019). While most of the
bias correction methods build a mapping between the biased
and the reference dataset, dOTC infers a probability distribu-
tion P such that P(x, y) is the probability that y is the correc-
tion of x. This probability distribution is inferred – with op-
timal transport methods; see Appendix A and Villani (2008)
and Santambrogio (2015) – between the biased and reference
dataset in calibration period (representing the bias), and be-
tween the biased dataset in calibration and projection periods
(representing the evolution). The “evolution” distribution is
then transferred along the “bias” distribution to construct a
correction in the reference world with an evolution similar to
that of the biased data. Note that this method seeks to pre-
serve the evolution of the model while reducing bias. A brief
reminder about dOTC is given in Appendix A, while all de-
tails can be found in Robin et al. (2019).

3 Results: synthetic VAR data

In this section we test our TSMBC method on synthetic data,
generated from two VAR processes (see Sect. 2.1). A biased
dataset and a reference one – denoted respectively as **X** and **Y**
– are drawn from two VAR processes fitted from two time se-
ries of temperature of the GCM or RCM. TSMBC is applied
to correct **X** with respect to **Y**, i.e. to generate a corrected
dataset **Z**.

Because the reconstruction step preserves the dependence
structure, we propose to test which part of the correction is
due to the underlying method (here dOTC), and which part
is due to the reconstruction. To do so, a second underlying
bias correction method is then used as a benchmark. It cor-
responds to a very naive method: the correction is randomly
drawn from the reference dataset, i.e. for any x ∈ X, the cor-
rection is given by a random value y generated according to
the distribution of Y. In practice, values from Y are resam-
**Algorithm 1** Summary of the TSMBC method “by rows”

**Require:** A $N_X \times d$ biased dataset $X$, where $N_X$ is the number of time steps for $X$, and $d$ the number of variables

**Require:** A $N_Y \times d$ reference dataset $Y$, where $N_Y$ is the number of time steps for $Y$

**Require:** A multivariate bias correction method, dOTC in this paper

**Require:** A lag $s$ and a starting row $r$

Build the $(N_X - s) \times d(s+1)$ matrix $M_X(s)$ from $X$ with Eq. (5)

Build the $(N_Y - s) \times d(s+1)$ matrix $M_Y(s)$ from $Y$ with Eq. (5)

Apply the multivariate bias correction method between $M_X(s)$ and $M_Y(s)$, generating the $(N_X - s) \times d(s+1)$ matrix $M_Z(s)$

Apply the reconstruction with the row method with starting row $r$ to the matrix $M_Z(s)$. This generates the correction $Z$.

**return** The $N_X \times d$ multivariate correction $Z$.

pled. Note that this naive method corresponds to dOTC with a transport plan given by the product probability distribution between the biased and reference datasets; see Appendix A. We denote this multivariate method a “random bias correction” (RBC), and TSMBC is thus available in two versions for this evaluation: TSMBC(dOTC) and TSMBC(RBC). For these two methods, we test in the first part the influence of the choice of the starting row, and in the second part the influence of the choice of the lag.

## 3.1 Influence of the choice of the starting row

We fix the number of lags $s = 10$, and we compute the correction for each of the two methods with a starting row $r \in \{1, 3, 6, 9, 12\}$. Note that, since here $s = 10$, TSMC applied with $r = 12$ will provide the same results as for $r = 1$ but will ignore the first row. The corrections are denoted $Z_r$.

To measure the similarity of the corrections from different starting rows, we compute the matrix of Pearson correlations between the pair $Z_{r_1}/Z_{r_2}$. We also compute the correlations with $X$ and $Y$ to compare the corrections with the biased and reference datasets. The results are presented in Fig. 3a for TSMBC(dOTC) and in Fig. 3b for TSMBC(RBC). Only the first dimension is represented; the second dimension – which gives similar results – and the associated $p$ values are given in Fig. S1 of the Supplement. We can see for TSMBC(dOTC) that all corrections are highly correlated – with values close to 1 – whereas for TSMBC(RBC) no significant correlation appears. This indicates that, whatever the chosen starting row for TSMBC, the results are very close to each other. Note that for TSMBC(dOTC) the corrections stay highly correlated with $X$. This is an effect of the dOTC method, which tries to preserve as much as possible the temporal properties of the model simulations to be corrected (Robin et al., 2019; François et al., 2020). On the other hand, no correlation appears with $Y$. This was expected. Indeed, there is no reason for the bias corrected data to be correlated to the reference. If the BC procedure is efficient, corrected and reference time series can be seen as generated based on the same statisti-

<figure><img src="image_6.png" /><figcaption>**Figure 3.** The first row (a, b) of matrices shows the correlations between corrections of the VAR with different choices of starting row for the reconstruction step. The second row (c, d) shows the correlations between corrections of the VAR with different choice of lag. The starting row for the reconstruction step is the middle value between 0 and lag of corrections. Panels (a, c) show the correction with the method TSMBC with the underlying method dOTC, and (b, d) also show TSMBC, but with the underlying method RBC.</figcaption></figure>

cal distributions and/or properties but independently. Hence, they are not correlated.

From this experiment we can conclude first that the choice of the starting row has only a very marginal influence on the correction. Therefore, from now on, we use the integer part of $r = \frac{s+1}{2}$ as starting row. Second, the TSMBC(RBC) method produces many different corrections, which are ex-
tremely weakly correlated. Even if, by construction, the TSMBC(RBC) is able to provide satisfactory inter-variable dependence structures and correlations, it is not able to provide proper temporal statistics, highlighting the importance of the choice of the underlying bias correction method.

## 3.2 Influence of the choice of the lag

In this section the starting row is fixed at $r = \frac{s+1}{2}$, and we vary the number of lags $s \in \{3, 5, 10, 20, 100\}$. This generates the corrections $Z_s$ for the two methods TSMBC(dOTC) and TSMBC(RBC).

As for the previous sub-section, the correlations between corrections, reference and biased dataset are computed and represented in Fig. 3c and d for the first variable, and the second variable and $p$ values are given in Fig. S2. We can see for TSMBC(dOTC) that all corrections are highly correlated (and correlated with the biased dataset), with correlations decreasing with $s$. This shows that the corrections are similar, even when increasing the lag to a reasonable extent. As for the previous section, the method TSMBC(RBC) provides many different corrections, different from each other and thus difficult to link together.

Furthermore, we have added in Fig. 2a the density of the corrections with TSMBC(dOTC) and with TSMBC(RBC) in green and black respectively. The two methods correctly adjust the density and the dependence structure of the reference dataset. Therefore the differences seen in Fig. 3c,d come only from their capability to adjust the temporal structure.

The (cross-)auto-correlations between the 2 dimensions for various lags are also given in Fig. 2b–e. On each panel, we can see that the results for the lag 0 – which corresponds to classic correlations – are close to the references for all corrections, which is confirmed by the Fig. 2a. For non-zero lags, the (cross-)auto-correlations of corrections with TSMBC(dOTC) are close to the reference one, validating the method. For TSMBC(RBC), the (cross-)auto-correlations become close to the reference if $s$ is large enough. This shows that the ability to correct the (cross-)auto-correlation when $s$ is small comes from dOTC, and not only from the reconstruction part. When $s$ increases, TSMBC(RBC) tends to adjust the temporal properties correctly, but this is due to the reconstruction that replaces the biased dataset with the reference one for large $s$.

Generally, from the synthetic VAR dataset, we can see the ability of the TSMBC approach to correct the (cross-)auto-correlations. The choice of the starting row has little influence on the final corrections, and we fix it now at $\frac{s+1}{2}$. We also highlighted the importance of dOTC as the underlying bias correction method (compared to the naive random approach), as the ability to properly correct the temporal structure does not come only from the reconstruction step of TSMBC.

# 4 Results: DS and BC of temperature and precipitation

We now apply the TSMBC method with the underlying dOTC method to the bias correction and downscaling of the IPSL GCM simulations with respect to the RCM simulations taken as references. Following the strategy proposed by François et al. (2020), four kinds of corrections are applied and analysed:

- Each variable and grid point are corrected independently. This approach will be referred to as “L1V” (local 1 variable). The BC method employed here is dOTC in its univariate version (when $s = 0$).

- The dependence between temperature and precipitation (i.e. inter-variable dependence) is taken into account in the correction, but not the spatial dependence. This approach is denoted “L2V” (local 2 variables) and employs the bivariate version of dOTC (when $s = 0$).

- The spatial dependence is corrected, but not the relations between temperature and precipitation. This approach is denoted “S1V” (spatial 1 variable) and uses dOTC in a 16 (longitude) × 13 (latitude) = 208-dimensional configuration (when $s = 0$).

- All dependencies (i.e. inter-variable and spatial) are corrected. This approach is denoted “S2V” (spatial 2 variables), and dOTC has thus a 2 (variables) × 16 (longitude) × 13 (latitude) = 416-dimensional configuration (when $s = 0$).

Furthermore, for each of these approaches, we apply TSMBC to account for various lags, up to some maximum lags: 0 (i.e. corresponding to dOTC, without any lag), 5 and 10 d lags, denoted dOTC, TSMBC-5 and TSMBC-10, respectively. Hence, we have finally 12 correction approaches, with dimensions varying from 1 (dOTC without any kind of dependence) to $2 \times 16 \times 13 \times (10+1) = 4576$ (MSTBC-10 correcting spatial and inter-variable dependencies and temporal dependence up to a lag of 10 d). A summary of the dimension of each method is given in Table 1.

Recall that only the results for summer are given in the rest of this article (winter results are provided in the Supplement); the calibration period is 1951–1980, and the validation and projection period is 1981–2010.

## 4.1 Bias reduction in marginal properties: mean, standard deviation, auto-correlation

We start by controlling the ability of the different methods to reduce the bias of the first two statistical moments: the mean (noted $\bar{E}$) and the standard deviation (noted $\sigma$). Denoting $Z$ as any correction, and $\kappa$ as the statistics of interest (such as the mean $\bar{E}$, the standard deviation $\sigma$ or the lag-$s$
<table><caption>**Table 1.** Summary of the dimensions of the bias correction for each method used in Sect. 4. For each cell, the first value corresponds to the dependence or not between temperature and precipitation. The second and third are the dimension of the grid of the RCM (16 × 13 grid cells). The last values is the dimension to be corrected until the lag 0 for the first column, the lag 5 for the second column and the lag 10 for the last column.</caption><thead><tr><th></th><th>dOTC</th><th>TSMBC-5</th><th>TSMBC-10</th></tr></thead><tbody><tr><td>L1V</td><td>1 × 1 × 1 × 1 = 1</td><td>1 × 1 × 1 × (5 + 1) = 6</td><td>1 × 1 × 1 × (10 + 1) = 11</td></tr><tr><td>L2V</td><td>2 × 1 × 1 × 1 = 2</td><td>2 × 1 × 1 × (5 + 1) = 12</td><td>2 × 1 × 1 × (10 + 1) = 22</td></tr><tr><td>S1V</td><td>1 × 16 × 13 × 1 = 208</td><td>1 × 16 × 13 × (5 + 1) = 1248</td><td>1 × 16 × 13 × (10 + 1) = 2288</td></tr><tr><td>S2V</td><td>2 × 16 × 13 × 1 = 416</td><td>2 × 16 × 13 × (5 + 1) = 2496</td><td>2 × 16 × 13 × (10 + 1) = 4576</td></tr></tbody></table>

auto-correlation $\rho_s$), we compute the following criterion $BR_\kappa$ to characterize the bias reduction:

$$BR_{\kappa} = 1 - \left| \frac{\kappa(Z) - \kappa(\text{RCM})}{\kappa(\text{GCM}) - \kappa(\text{RCM})} \right| \quad (6)$$

This criterion lives in the interval $[-\infty, 1]$. A value of 1 indicates a perfect correction. Note that if the raw simulations are already close to the reference, the metric will be near zero. If the correction also gives a metric close to zero, then the relative reduction of bias $BR_\kappa$ can have a very strong negative value if $\kappa(Z) > \kappa(\text{GCM})$, even if the absolute difference (i.e. $\kappa(Z) - \kappa(\text{GCM})$) is potentially very small. Boxplots of mean bias reduction ($BR_E$) and standard deviation bias reduction ($BR_\sigma$) criteria from all grid points are presented in Fig. 4 for each variable and correction. For the calibration period (first column) we can see a bias reduction (both in means and standard deviations) between 0.95 and 1 for the temperature, and between 0.8 and 1 for precipitation. The bias reduction slightly decreases when the dimension increases, indicating a “curse of dimensionality” problem. For the projection period, the bias reduction in mean temperature stays reasonable, between 0.7 and 1. However, for the precipitation the results are more contrasting. For 75% of the grid points, the reduction of the mean precipitation bias lies between 0.2 and 0.95 and that of the standard deviation bias between 0.6 and 1. Interestingly, the use of a TSMBC approach relying on dOTC implies bias reductions in means and standard deviations equivalent to those provided by the dOTC method, i.e. without “time-shifted” consideration. In other words, TSMBC does not degrade the basic marginal properties of the corrections from dOTC. Note that the ability of the methods to reduce the biases can be strongly affected by the evolution of the GCM variables between the calibration and validation period. Indeed, this evolution is different from that of the RCM (i.e. here the reference dataset) variables. As dOTC preserves the evolution of the GCM to be corrected, the resulting corrections for the projection period have necessarily properties different from the reference over the same period.

The same boxplots are now represented in Fig. 5 for the lag-2 auto-correlation bias reduction $BR_{\rho_2}$. The couples tas/tas, pr/pr, tas/pr and pr/tas are, respectively, the correlations between temperature and lagged (i.e. past) temperature, precipitation and lagged precipitation, temperature and lagged precipitation, and precipitation and lagged temperature. Over the calibration period, the use of TSMBC clearly improves the (cross-)auto-correlation compared to dOTC. In the projection period, the TSMBC correction is better than the dOTC correction for the pr/pr couple. No clear improvement appears for the couples pr/tas and tas/pr, and for the couple tas/tas a degradation appears when dimension increases, related to the problems already described for the mean and standard deviation.

Figure 6 presents the maps of auto-correlations of precipitation at lag 1 (first two lines) and at lag 4 (last two lines). The calibration period corresponds to the first and third lines, and the projection period to the second and last lines. We focus here only on the L2V approach, but the results are equivalent for the others (not shown, except for temperature with L2V given in Fig. S4). Regarding the calibration period, it is clear that dOTC does not reproduce the RCM auto-correlation maps. In addition, the obtained auto-correlation maps are quite different from those of the GCM, justifying the need for TSMBC. Based on TSMBC-5 and TSMBC-10, the corrections are closer to the reference RCM. Using 10 lags instead of 5 does not show a clear improvement and can sometimes even degrade the corrections. For the projection period, the situation is quite different and requires the comparison of the GCM, RCM and corrections, as well as their evolution between the calibration and projection periods. For the GCM, the lag-1 auto-correlation decreases between the two periods for the northern part but increases in the southern part. As dOTC mostly reproduces the evolution of the model (see Robin et al., 2019), the same feature appears in the corrections over the projection period. When TSMBC-5 or TSMBC-10 use dOTC as the underlying MBC method, the same conclusion holds. This result is also true for the lag 4, with auto-correlations more noisy for TSMBC-5 and TSMBC-10 due to a higher number of dimensions to consider.

Globally, TSMBC is able to reduce biases in means and standard deviations as well as dOTC but clearly improves the corrections of the auto-correlations. We now propose to further study the dependence structure of the corrections brought by TSMBC.
<figure><img src="image_7.png" /><figcaption>**Figure 4.** Boxplots of bias reduction in mean and standard deviation (BR<sub>ME</sub> and BR<sub>σ</sub>) in calibration (first column) and projection (second column) periods for temperature and precipitation in summer. The closer the boxplot is to 1, the closer the results are to the reference and therefore the better they are.</figcaption></figure>

## 4.2 Bias reduction in dependencies: the *W*-cross-auto-correlogram metric

The present sub-section targets the evaluation of the TSMBC corrections in terms of spatial structure of auto-correlations between variables and grid points. This requires a new tool: the *W*-cross-auto-correlogram metric, based on the classic correlogram.

In order to evaluate spatial dependencies present in a univariate sample, correlograms (i.e. correlations expressed as

function of the distance) are classically used (see for example Vrac, 2018; François et al., 2020). To estimate it, the correlation between each pair of locations (or grid cells in the present study) is computed. Then the set of distance-correlation pairs (DCP) is divided into classes (e.g. 0–10, 10–20 km) and the conditional mean correlation is calculated for each class. However, following an equivalent procedure, the calculation of correlation in a univariate context can be replaced by the auto-correlation for any lags, or, in a multivariate setting, by cross-auto-correlations between variables
<figure><img src="image_8.png" /><figcaption>**Figure 5.** Boxplots of bias reduction in lag-2 (cross-)auto-correlations ($BR_{\rho_2}$) in calibration (first column) and projection (second column) periods for temperature and precipitation in summer. The closer the boxplot is to 1, the closer the results are to the reference and therefore the better they are.</figcaption></figure>

(e.g. correlation between temperature at time *t* for one location and precipitation at time *t* + lag for another location). This gives an auto-correlogram or a cross-auto-correlogram, respectively.

Figure 7 presents the scatter plots of the DCP values, where correlations are cross-auto-correlations between temperature and precipitation for all pairs of grid points with lag 1 for the GCM data (Fig. 7a), the RCM (Fig. 7b), the corrections with dOTC (S2V, Fig. 7c) and with TSMBC-5 (S2V, Fig. 7d). In each panel, the black line is the es-

timated mean cross-auto-correlogram. It is clear that the cross-auto-correlograms – as mean conditional correlations given distances – are not quite representative of the DCP scatter-plot structures. Indeed, the DCP structures show large spreads that cannot be visible on simple lines. Moreover, those structures are different from one dataset to another, for example between the GCM data to be corrected and from the reference RCM data, while their associated cross-auto-correlograms (i.e. mean black lines) can appear relatively close to each other. However, the DCP scatter plots of the
<figure><img src="image_9.png" /><figcaption>Figure 6. Map of lag-1 (two first rows) and lag-4 (two last rows) auto-correlations of precipitation in summer. The first and third rows are for the calibration period, the second and fourth rows are for the projection period. The first (and second, third, fourth and last, respectively) column gives the maps of auto-correlations of the RCM to be corrected (the GCM, the correction dOTC, the correction TSMBC-5 and the correction TSMBC-10 with method L2V, respectively). A key point of this figure is to compare the evolution between calibration and projection periods for the RCM, GCM and corrections. The evolution of the TSMBC corrections is similar to the GCM evolution, which is different from the RCM evolution, leading to a failure of the correction in projection period.</figcaption></figure>

dOTC (Fig. 7c) and TSMBC-5 (Fig. 7d) corrections exhibit a large improvement compared to the uncorrected GCM, with TSMBC-5 that seems better than dOTC, with a more realistic spread and shape of the DCP set. To quantify this improvement, for the GCM, the RCM and all the corrections, all DCP sets are first computed for lags between 0 and 9, for auto-correlations (temperature/temperature and precipitation/precipitation) and for cross-auto-correlations (temperature/precipitation and precipitation/temperature). Then, the Wasserstein distance $W$ (see Appendix B) is calculated and used as a metric to measure the difference between the DCP sets from the RCM (i.e. here, the reference) and the DCP sets of the GCM or the corrections. The Wasserstein distance (e.g. Santambrogio, 2015; Robin et al., 2019) is a distance between two multivariate distributions and can therefore be considered as an alternative to the energy distance (Rizzo and Székely, 2016; François et al., 2020). Denoting these DCP sets as $DCP_{RCM}$, $DCP_{GCM}$ and $DCP_{Z}$ respectively, we propose the following indicator, $BR_{W}$, based on the Wasserstein distance, to measure the bias reduction in dependence with respect to the raw GCM:

$$BR_W = 1 - \left| \frac{W(DCP_Z, DCP_{RCM})}{W(DCP_{GCM}, DCP_{RCM})} \right|, \quad (7)$$

where $W(DCP_Z, DCP_{RCM})$ is the Wasserstein distance between the DCP set from the corrections $Z$ and that from the reference RCM data, and $W(DCP_{GCM}, DCP_{RCM})$ is the equivalent between the GCM and RCM DCP sets. A value of $BR_W$ close to 1 indicates that the chosen dependencies (correlation, auto-correlation or cross-auto-correlation) of the correction is close to the dependence structure of the reference RCM. We call the set of this indicator a *W-cross-auto-correlogram*.

As the Wasserstein metric is sensitive to the scale of the multivariate data (here, the DCP sets) it is applied to, two normalizations of the DCP sets are proposed before the com-
<figure><img src="image_10.png" /><figcaption>**Figure 7.** Auto-correlogram (lag 1) between temperatures and precipitation in calibration period in summer for (a) the model, (b) the observations, (c) the S2V dOTC correction and (d) the S2V TSMBC-5 correction.</figcaption></figure>

putation of the BR<sub>W</sub> values. First, we normalize the correlation values of the DCP sets between -1 and 1, independently for each method and lag. This allows us to compare only the pattern of the DPC sets, by removing mean and scale biases. The results are shown in Fig. 8. Alternatively, a second type of normalization is performed, with a normalization common to all methods for a given lag but different for different lags. Hence, this normalization conditional to the lag allows us to compare the different bias correction methods and include both the intensities of the correlations and the DCP patterns while first normalization only accounts for the pattern of the DCP sets. The results are presented in Fig. 9, where only the BR<sub>W</sub> values coming from the same “column” (i.e. lag) can be compared.

Starting with the first normalization (for each method and lag separately), allowing us to compare only the pattern of the DPC sets, in Fig. 8, we can first see that BR<sub>W</sub> matrices for calibration and projection periods are relatively similar, indicating some robustness of the TSMBC method over projections. Generally speaking, for the local configurations (L1V and L2V), TSMBC (5 or 10) is better than dOTC that does not account for temporal properties. This is true for almost all lags > 0 and any BR<sub>W</sub> matrix (tas/tas, tas/pr, pr/tas, pr/pr). However, for the spatial configurations (S1V and S2V), TSMBC does not seem to provide better re-

sults than dOTC, except for the tas/tas matrix where TSMBC strongly improves dOTC. Moreover, although dOTC provides similar results for the L1V and L2V configurations (potentially of poor quality for various lags), the use of S1V and S2V approaches within dOTC – i.e. without specifically accounting for temporal dependence – strongly improves the BR<sub>W</sub> results. This indicates that imposing to account for spatial properties within dOTC can improve the correction of the auto-correlation and cross-auto-correlation patterns. Moreover, regarding the tas/tas and pr/pr BR<sub>W</sub> matrices, the spatial versions (i.e. S1V and S2V) of the method appear largely better than the local (i.e. L1V and L2V) ones, especially for tas/tas for most of the lags. This was somewhat expected since the S1V and S2V configurations also correct spatial dependencies. Regarding the BR<sub>W</sub> matrices for tas/pr and pr/tas, results are better for L2V and S2V configurations than with L1V and S1V ones: accounting for correlations and cross-auto-correlations between temperature and precipitation allows the results to be improved over configurations based on temperature and precipitation considered separately. Furthermore, it is not clear that increasing the number of lags in TSMBC significantly improves the results. Here, TSMBC-10 and TSMBC-5 provide quite similar BR<sub>W</sub> values whatever the couple of variables of interest, with some non-systematic variations along the lags. How-
<figure><img src="image_11.png" /><figcaption>**Figure 8.** Bias reduction of dependence ($BR_{YY}$) values, based on the Wasserstein distances computed on bivariate (correlation, distance) distributions between reference and the different BC datasets or model simulations in summer. The (correlation, distance) 2-D distributions come from the calculated correlograms (see Fig. 7 and text for details). The first line of matrices corresponds to the calibration period, and the second line to the projection period. The BC results and model simulations correspond to rows. The correlations are calculated between tas and tas (first matrix), tas and pr (second matrix), pr and tas (third matrix), and pr and pr (fourth matrix). For each matrix, the columns correspond to different lags and thus correlations indicate auto-correlations. Hence, the two central matrices (tas/pr and pr/tas) contain cross-correlations and cross-auto-correlations. In order to compare the shape of a (correlation, distance) set, a normalization is performed separately for each cell (i.e. each couple's method lag) of each matrix. This normalization allows us to characterize the pattern of the distributions, and to get rid of the marginal properties. Hence, the comparison between different couples' method lag is possible but only to characterize the shape of the (distance, correlation) distributions. The closer the $BR_{YY}$ value is to 1, the closer the results are to the reference and therefore the better they are.</figcaption></figure>

<figure><img src="image_12.png" /><figcaption>**Figure 9.** Same as Fig. 8, but with a normalization by column (i.e. by given lag), before computing the $BR_{YY}$ values. Hence, the $BR_{YY}$ values of a given method for two different lags cannot be compared with this normalization. The closer the $BR_{YY}$ value is to 1, the closer the results are to the reference and therefore the better they are.</figcaption></figure>
ever, globally, the DCP patterns are clearly improved by the TSMBC corrections, as shown by the positive $BR_W$ values in Fig. 8.

Continuing with the $BR_W$ results obtained based on the second type of normalization in Fig. 9, the results are more contrasted, as negative values are now visible. This shows that, although DCP patterns are globally improved by the various configurations of dOTC and TSMBC (as seen previously in Fig. 8), biases are present in the intensities of correlations and, when accounted for, degrade the $BR_W$ values. However, as for the first normalization, the spatial configurations (S1V or S2V) seem to reduce biases more than the local (L1V or L2V) configurations; the L2V and S2V approaches are in general better than the L1V and S1V ones for the cross-correlation matrices (i.e. involving both tas and pr), and the S1V versions appear better than the S2V ones for matrices with single variables (i.e. tas/tas and pr/pr). This latter remark is due to the fact that with the S2V approach, the complexity of the methods is obviously higher than with S1V: this is done at the expense of the quality of each variable separately. Hence, in such a case where only one variable is of interest in a spatial context, the S1V methods have to be favoured. Moreover, generally, the bias reduction in dependence is stronger (i.e. better) for the cross-auto-correlations between precipitation and temperature (matrices pr/tas) and between precipitation and precipitation (matrices pr/pr) than for the other couples of variables (tas/tas and tas/pr). This comes from the fact that the initial biases (i.e. Wasserstein distances) of the raw GCM data for pr/tas and pr/pr are larger than those from tas/tas and tas/pr. This is visible in Fig. S7, showing the values of the Wasserstein distances (based on the second normalization of the DCP sets) used to compute $BR_W$. In addition, some negative $BR_W$ values in Fig. 9 are related to very small differences between Wasserstein distances very close to zero. Indeed, if the model simulations to be corrected have a DCP set already close to the reference, its Wasserstein distance will be near zero. If a corrected dataset also has a distance to the reference close to zero, the resulting ratio can be quite different from 1 (and thus induce a strongly negative $BR_W$ value) while the two W values are only slightly different. For example this is the case for, among others, TSMBC-5 (S1V) at lag 1 for the tas/tas matrix under a projection context in Fig. S7, where the W value is small but slightly higher than that of the raw IPSL simulations, implying a negative (red) $BR_W$ value in Fig. 9. Finally, when comparing TSMBC-5 and TSMBC-10, it appears that, whatever the configuration, increasing the dimension (i.e. 10 lags to be accounted for in the MBC, instead of 5) degrades the gain in correlations. The increase in the complexity (i.e. the number of dimensions) of the method is made at the expense of the quality of the results. This is not visible in Fig. 8, which only accounts for the shape of the DCPs. Thus, it indicates that this degradation is mostly due to biases in the marginals that are not fully removed by TSMBC in a high-dimensional setting. One potential explanation

for this is the well-known problem of the “curse of dimensionality” (e.g. Wilcox, 1961; Finney, 1977): having ~2500 values in 4576 dimensions for TSMBC10/S2V indicates that we may not have enough data to explore such a high-dimensional space and, thus, that the MBC inference and procedure performed by dOTC may not be robust. In addition, an increased number of dimensions could potentially lead to two types of linear dependencies that could interfere with the underlying MBC method being used (dOTC): (i) a linear dependence between two “close” grid points (especially for temperature), although this effect seems limited as dOTC performed correctly at lag 0, and (ii) a linear dependence in the lagged matrix by duplicating and shifting the columns. However, the latter is difficult to distinguish from the curse of dimensionality problem.

## 5 Conclusions and discussion

The goal of bias correction (BC) is to transform biased climate simulations in order to make their statistical properties more similar to those from reference data. Over the last decades, many univariate BC methods were developed and applied, working on one climate variable at a time and one location at a time. Over the last few years, various multivariate bias correction (MBC) methods were also designed to correct not only some marginal properties of the simulations (e.g. means, variances, distributions) but also their dependencies (e.g. correlations), either in a multivariate context, inter-site context or both. Some methods were even specifically developed to adjust the temporal properties (e.g. Mehrotra and Sharma, 2016) of the simulations. However, the latter usually consider time-related properties and temporal (auto- or cross-correlations specifically, i.e. differently from inter-variable or inter-site dependencies. The goal of the present study was then to investigate whether, by considering time just like other variables (i.e. by adding to the multivariate data to be corrected some lagged time series of itself), an MBC method is able to correct both the multivariate (inter-variable and inter-site) properties and the temporal properties. To test this, the dynamical optimal transport correction (dOTC) method has been applied first to a synthetic (i.e. statistically generated) dataset and, second, to a dataset of daily temperature and precipitation over the south of France, simulated from the IPSL global climate model. For evaluation, the reference dataset was extracted from higher-resolution regional climate simulations over the same region. dOTC was then applied to correct the IPSL dataset where various lagged versions of those simulations have been added. This approach – performing an MBC on lagged time series in addition to the initial ones – has been called time-shifted multivariate bias correction (TSMBC). Furthermore, it has been tested based on four configurations: only one variable is corrected at a time, either for a given location (L1V) or for all locations at the same
time (S1V); the two variables are jointly corrected, for a single location (L2V) or for all locations (S2V).

From the synthetic data experiment, a comparison with
a “reasonably naive” multivariate bias correction method,
RBC, based on random sampling, has been proposed. The
results showed the following:

- TSMBC(dOTC) provides a clear improvement com-
pared to TSMBC(RBC).

- The choice of the starting row only has a marginal influence on the corrections. In the case of a starting row $n > 1$ (i.e. with a lag $s > 0$), the reconstruction will omit the first $n-1$ time steps. In order to have as many reconstructed time steps as in the model simulations to be corrected, it is possible to sample from the first $s-1$ row(s) of the fully corrected lagged matrix, allowing first $n-1$ time steps of the reconstruction matrix to be completed. However, as no values are omitted when starting at first row ($r=1$) for the reconstruction, this is a logical and practical choice.

- For a relatively low number $s$ of lags to account for in TSMBC (say $s \le 10$ d), the TSMBC $s$ results are roughly equivalent, whatever $s$ is.

Those first conclusions indicate some robustness of the
proposed TSMBC methodology that, despite some choices
to make by the user (starting row, number of lags to include),
provides stable corrections.

In order to evaluate the results in a fully multivariate
manner (i.e. inter-variable, inter-site and temporal aspects),
a new statistical criterion has been proposed. It is based
on the Wasserstein distance between the set of distance-
correlation pairs (DCP) from references and that of a dataset
(from corrections or simulations). This distance can be com-
puted on lagged data, using multiple variables and at dif-
ferent locations, hence providing assessments of cross-auto-
correlations, generalizing the traditional correlogram tool.

The results obtained by applying TSMBC to climate sim-
ulations provided the following conclusions:

- In terms of means and standard deviations, for both tem-
  temperature and precipitation, the inclusion of lagged data
correction method. Although some evidence of degrada-
tion might appear when the number of lags increases
(e.g. for BR<sub>σ</sub> in temperature), the bias reduction values
with respect to the raw simulations are mostly positive,
indicating an improvement over the raw GCM.

- This is also mostly the case for auto-correlation bias re-
  ductions BR<sub>ρ</sub> but, this time, the increase in the number
  of lags in TSMBC globally improves the results, even
  though TSMBC-10 does not clearly improve TSMBC-
  5.

- Moreover, the main spatio-temporal patterns of the TSMBC results are globally improving those from the raw GCM.

- However, biases in the intensities of the (inter-variable, inter-site or temporal) correlations might remain. This is typically related to very small differences between two Wasserstein distances very close to zero: if the raw simulations already have a DCP set close to the reference, its Wasserstein distance will be near zero. Therefore, the relative reduction of bias BR can be strongly negative, even though the absolute difference is potentially very small.

- Finally, if the TSMBC methodology seems to reasonably adjust temporal (cross-auto-)correlations, while still performing well on multivariate properties, when the number of lags increases (e.g. from 5 to 10 d), the gain in the quality of the corrections is not obvious and the latter can even be degraded. It is thus required to limit the temporal constraints to a few time steps, depending on the variable of interest. This would avoid having to apply the MBC method in an overly high dimensional context and then allow robust results.

Globally, the results of the different tests indicate that the
proposed approach of time-shifted multivariate bias correc-
tion – i.e. including lagged versions of the simulated and ref-
erence datasets in a multivariate correction procedure – can
indeed be relevant to adjust temporal properties, in addition
to more usual marginal and multivariate components.

Despite its promising results, the TSMBC approach can
be further investigated and improved. For example, in the
present study, only the dOTC multivariate method was used
as a correction technique. Other MBC methods exist. Hence,
it would be interesting to test how those alternative MBCs
– such as “R²D²” (Vrac, 2018; Vrac and Thao, 2020),
“MBCn” (Cannon, 2018) or “MRrec” (Bárdossy and Pe-
gram, 2012), among others – would behave in this TSMBC
framework.

Note also that the chosen lag in TSMBC should be adapted
to the type of variable and the area. For example, taking 3 d
($s = 3$) for precipitation in Europe seems reasonable, while
pressure or temperature could require a week ($s \ge 7$). Hence,
a preliminary analysis of the auto-correlation or temporal
properties of the variables to be corrected should be per-
formed to decide about the relevant lag to use.
In addition, when dealing with precipitation, the rainfall occurrence is not treated differently from the non-occurrence (dry days) by the TSMBC approach proposed here (i.e. using dOTC as underlying MBC method). However, the sequences of dry days and wet days can bear a major part of the auto-correlation information. Hence, it could be interesting to account for this specific aspect of precipitation when performing the underlying MBC method.

Moreover, some adjustment methods were designed to account specifically for the correction of temporal properties (e.g. Johnson and Sharma, 2012; Mehrotra and Sharma, 2015, 2016). A comparison of TSMBC to such methods would then be of interest to understand whether specific modelling is needed for adjusting temporal properties or whether considering lagged data into MBCs (i.e. no specific modelling as in TSMBC) provides equivalent results.

Finally, the Wasserstein cross-auto-correlation-based metric introduced in this study could be used more generally to compare various datasets and/or assess their diverse properties with respect to a reference. It can then be useful to make evaluations of climate simulations (adjusted or not) in a more holistic way.

## Appendix A: Optimal transport and the dOTC method

A bias correction method is classically defined as a map $\mathcal{T}$ between the biased dataset, denoted $\mathbf{X}$ with probability distribution $\mathbb{P}_{\mathbf{X}}$ on $\mathbb{R}^d$, and the reference dataset, denoted $\mathbf{Y}$ with probability distribution $\mathbb{P}_{\mathbf{Y}}$ on $\mathbb{R}^d$, such that

$$ \mathcal{T}(\mathbb{P}_{\mathbf{X}}) = \mathbb{P}_{\mathbf{Y}}. $$

Consequently, a biased value $\mathbf{x} \in \mathbf{X}$ is linked to its correction $\mathbf{y} \in \mathbf{Y}$ by the relation $\mathbf{y} = \mathcal{T}(\mathbf{x})$. Robin et al. (2019) have replaced the map $\mathcal{T}$ by a probability distribution $\gamma$ on $\mathbb{R}^d \times \mathbb{R}^d$, such that $\gamma(\mathbf{x}, \mathbf{y})$ is the probability that $\mathbf{y}$ is the correction of $\mathbf{x}$. The case of a map $\mathcal{T}$ corresponds to the probability distribution defined on the couples $(\mathbf{x}, \mathcal{T}(\mathbf{x}))$. The set of probability distribution $\gamma$ (or bias correction methods) is denoted $\Gamma$, and given by

$$ \Gamma = \left\{ \gamma : \mathbb{P}_{\mathbf{X}}(A) = \int_{A \times \mathbb{R}^d} d\gamma, \mathbb{P}_{\mathbf{Y}}(B) = \int_{\mathbb{R}^d \times B} d\gamma \right\}. $$

With this formulation, $\mathbb{P}_{\mathbf{X}}$ and $\mathbb{P}_{\mathbf{Y}}$ are the first and second projection of all $\gamma \in \Gamma$. This set is non-empty, because it contains $\gamma_{\text{RBC}} = \mathbb{P}_{\mathbf{X}} \times \mathbb{P}_{\mathbf{Y}}$. The RBC (random bias correction) procedure for $\gamma_{\text{RBC}}$ consists of drawing randomly according to $\mathbb{P}_{\mathbf{Y}}$ the correction $\mathbf{y}$ of $\mathbf{x}$. The dOTC method uses a specific $\gamma$, which minimizes the energy.

The dOTC method is given by the $\tilde{\gamma} \in \Gamma$ which minimizes the energy needed to transform $\mathbf{X}$ to $\mathbf{Y}$. It is defined by the minimum of the following cost function, coming from optimal transport theory (see for example Villani, 2008; Santambrogio, 2015):

$$ \tilde{\gamma} = \arg \min_{\gamma \in \Gamma} \int_{\mathbb{R}^d \times \mathbb{R}^d} \|\mathbf{x} - \mathbf{y}\|^2 d\gamma(\mathbf{x}, \mathbf{y}). \quad (A1) $$

Here, $\|\mathbf{x} - \mathbf{y}\|^2$ is the energy needed to transform $\mathbf{x}$ to $\mathbf{y}$, weighted by $\gamma(\mathbf{x}, \mathbf{y})$. In the univariate case ($d=1$), $\tilde{\gamma}$ corresponds to the quantile mapping method. To take into account the projection period, where references are not available, the following modification had been proposed by Robin et al. (2019): denoting the biased and reference dataset in the calibration period as $\mathbf{X}^\mathrm{C}$ and $\mathbf{Y}^\mathrm{C}$, and the biased dataset in the projection period as $\mathbf{X}^\mathrm{P}$, two transformations are inferred:

$$ - \tilde{\gamma} : \mathbf{X}^\mathrm{C} \mapsto \mathbf{Y}^\mathrm{C}, \text{ the bias, and} $$

$$ - \tilde{\phi} : \mathbf{X}^\mathrm{C} \mapsto \mathbf{X}^\mathrm{P}, \text{ the evolution of the biased data.} $$

The correction $\mathbf{Z}^\mathrm{P}$ during the projection period by dOTC is formally (see Robin et al., 2019, for details) given by

$$ \mathbf{Z}^\mathrm{P} = (\tilde{\phi} \circ \tilde{\gamma} \circ \tilde{\phi}^{-1})(\mathbf{X}^\mathrm{P}). $$

The “evolution” distribution is transferred along the “bias” distribution to construct a correction in the reference world with an evolution similar to that of the biased data. Note that this method seeks to preserve the evolution of the model while reducing bias. This idea is similar to the CDF-t method (see for example Vrac et al., 2012), which extends the quantile mapping in a non-stationary context.

## Appendix B: Wasserstein metric

From the probability distribution $\tilde{\gamma}$ defined by the Eq. (A1), a metric called the Wasserstein distance can be derived. This metric is defined by

$$ \mathcal{W}(\mathbb{P}_{\mathbf{X}}, \mathbb{P}_{\mathbf{Y}})^2 = \int_{\mathbb{R}^d \times \mathbb{R}^d} \|\mathbf{x} - \mathbf{y}\|^2 d\tilde{\gamma}(\mathbf{x}, \mathbf{y}) = \inf_{\gamma \in \Gamma} \int_{\mathbb{R}^d \times \mathbb{R}^d} \|\mathbf{x} - \mathbf{y}\|^2 d\gamma(\mathbf{x}, \mathbf{y}). \quad (B1) $$

The Wasserstein metric is sensitive to the shape of the distribution and is a measure of how much it costs to transform $\mathbb{P}_{\mathbf{X}}$ to $\mathbb{P}_{\mathbf{Y}}$. Hence, a value of $\mathcal{W}(\mathbb{P}_{\mathbf{X}}, \mathbb{P}_{\mathbf{Y}})$ close to 0 indicates that the two (multivariate) distributions $\mathbb{P}_{\mathbf{X}}$ and $\mathbb{P}_{\mathbf{Y}}$ are similar, while a large value indicates that the distributions are different.

**Code and data availability.** The CMIP5 and CORDEX databases are freely available. Source codes of TSMBC are freely available in the R/Python package SBCK under the GNU-GPL3 license (https://doi.org/10.5281/zenodo.5483134; Robin, 2021).
**Supplement.** The supplement related to this article is available online at: https://doi.org/10.5194/esd-12-1253-2021-supplement.

**Author contributions.** MV and YR had the idea of the method together. They designed the study and the experiments together. YR made the computations and plots. YR and MV jointly analysed the results. MV wrote most of the article with inputs from YR.

**Competing interests.** The authors declare that they have no conflict of interest.

**Disclaimer.** Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

**Acknowledgements.** We acknowledge the World Climate Research Program's Working Group on Coupled Modelling, which is responsible for CMIP, and we thank the climate modelling groups for producing and making available their model output. For CMIP the US Department of Energy's Program for Climate Model Diagnosis and Intercomparison provides coordinating support and led development of software infrastructure in partnership with the Global Organization for Earth System Science Portals.

We acknowledge the World Climate Research Programme's Working Group on Regional Climate and the Working Group on Coupled Modelling, the former coordinating body of CORDEX and responsible panel for CMIP5. We also thank the climate modelling groups for producing and making available their model output. We also acknowledge the Earth System Grid Federation infrastructure, an international effort led by the US Department of Energy's Program for Climate Model Diagnosis and Intercomparison, the European Network for Earth System Modelling, and other partners in the Global Organisation for Earth System Science Portals (GO-ESSP).

**Financial support.** Mathieu Vrac has been supported by the CoCliServ project. Mathieu Vrac and Yoann Robin have been supported by the EUPHEME project. Both CoCliServ and EUPHEME are part of ERA4CS, an ERA-NET initiative by JPI Climate, co-funded by the European Union (grant no. 690462). Mathieu Vrac has also been supported C3S (grant no. 428J). Yoann Robin has also been supported by project C3S 62 (Prototype Extreme Events and Attribution Service, grant no. 2019/S 102-247355).

**Review statement.** This paper was edited by Daniel KirkDavidoff and reviewed by four anonymous referees.

**References**

Bárdossy, A. and Pegram, G.: Multiscale spatial recorrelation of RCM precipitation to produce unbiased climate change scenar-

ios over large areas and small, Water Resour. Res., 48, 9502, https://doi.org/10.1029/2011WR011524, 2012.

Bartók, B., Tobin, I., Vautard, R., Vrac, M., Jin, X., Levavasseur, G., Denvil, S., Dubus, L., Parey, S., Michelangeli, P.-A., Troccoli, A., and Saint-Drenan, Y.-M.: A climate projection dataset tailored for the European energy sector, Clim. Serv., 16, 100138, https://doi.org/10.1016/j.cliser.2019.100138, 2019.

Bevacqua, E., Maraun, D., Vousdoukas, M. I., Voukouvalas, E., Vrac, M., Mentaschi, L., and Widmann, M.: Higher probability of compound flooding from precipitation and storm surge in Europe under anthropogenic climate change, Sci. Adv., 5, eaaw5531, https://doi.org/10.1126/sciadv.aaw5531, 2019.

Bhuiyan, M. A. E., Nikolopoulos, E. I., Anagnostou, E. N., Quintana-Seguí, P., and Barella-Ortiz, A.: A nonparametric statistical technique for combining global precipitation datasets: development and hydrological evaluation over the Iberian Peninsula, Hydrol. Earth Syst. Sci., 22, 1371–1389, https://doi.org/10.5194/hess-22-1371-2018, 2018.

Boé, J., Terray, L., Habets, F., and Martin, E.: Statistical and dynamical downscaling of the Seine basin climate for hydro-meteorological studies, Int. J. Climatol., 27, 1643–1655, https://doi.org/10.1002/joc.1602, 2007.

Bürger, G., Murdock, T. Q., Werner, A. T., Sobie, S. R., and Cannon, A. J.: Downscaling Extremes – An Intercomparison of Multiple Statistical Methods for Present Climate, J. Climate, 25, 4366–4388, https://doi.org/10.1175/JCLI-D-11-00408.1, 2012.

Cannon, A. J.: Multivariate quantile mapping bias correction: an N-dimensional probability density function transform for climate model simulations of multiple variables, Clim. Dynam., 50, 31–49, https://doi.org/10.1007/s00382-017-3580-6, 2018.

Cannon, A. J., Sobie, S. R., and Murdock, T. Q.: Bias Correction of GCM Precipitation by Quantile Mapping: How Well Do Methods Preserve Changes in Quantiles and Extremes?, J. Climate, 28, 6938–6959, https://doi.org/10.1175/JCLI-D-14-00754.1, 2015.

Charles, S. P., Bates, B. C., Smith, I. N., and Hughes, J. P.: Statistical downscaling of daily precipitation from observed and modelled atmospheric fields, Hydrol. Process., 18, 1373–1394, https://doi.org/10.1002/hyp.1418, 2004.

Chen, J., Brissette, F. P., and Leconte, R.: Uncertainty of downscaling method in quantifying the impact of climate change on hydrology, J. Hydrol., 401, 190–202, https://doi.org/10.1016/j.jhydrol.2011.02.020, 2011.

Chen, J., Brissette, F. P., Chaumont, D., and Braun, M.: Finding appropriate bias correction methods in downscaling precipitation for hydrologic impact studies over North America, Water Resour. Res., 49, 4187–4205, https://doi.org/10.1002/wrcr.20331, 2013.

Chen, J., Arsenault, R., Brissette, F. P., and Zhang, S.: Climate Change Impact Studies: Should We Bias Correct Climate Model Outputs or Post-Process Impact Model Outputs?, Water Resour. Res., 57, e2020WR028638, https://doi.org/10.1029/2020WR028638, 2021.

Christensen, J. H., Boberg, F., Christensen, O. B., and LucasPicher, P.: On the need for bias correction of regional climate change projections of temperature and precipitation, Geophys. Res. Lett., 35, L20709, https://doi.org/10.1029/2008GL035694, 2008.

Dekens, L., Parey, S., Grandjacques, M., and Dacunha-Castelle, D.: Multivariate distribution correction of climate model outputs: A generalization of quantile mapping approaches: Multivariate dis-
tribution correction of climate model outputs, Environmetrics, 28, e2454, https://doi.org/10.1002/env.2454, 2017.

Delrieu, G., Nicol, J., Yates, E., Kirstetter, P.-E., Creutin, J.-D., Anquetin, S., Obled, C., Saulnier, G.-M., Ducrocq, V., Gaume, E., Payrastre, O., Andrieu, H., Ayral, P.-A., Bouvier, C., Neppel, L., Livet, M., Lang, M., du Châtelet, J. P., Walpersdorf, A., and Wobrock, W.: The Catastrophic Flash-Flood Event of 8–9 September 2002 in the Gard Region, France: A First Case Study for the Cévennes– Vivarais Mediterranean Hydrometeorological Observatory, J. Hydrometeorol., 6, 34–52, https://doi.org/10.1175/JHM-400.1, 2005.

Déqué, M.: Frequency of precipitation and temperature extremes over France in an anthropogenic scenario: Model results and statistical correction according to observed values, Global Planet. Change, 57, 16–26, https://doi.org/10.1016/j.gloplacha.2006.11.030, 2007.

Dufresne, J.-L., Foujols, M.-A., Denvil, S., Caubel, A., Marti, O., Aumont, O., Balkanski, Y., Bekki, S., Bellenger, H., Benshila, R., Bony, S., Bopp, L., Braconnot, P., Brockmann, P., Cadule, P., Cheruy, F., Codron, F., Cozic, A., Cugnet, D., de Noblet, N., Duvel, J.-P., Ethé, C., Fairhead, L., Fichefet, T., Flavoni, S., Friedlingstein, P., Grandpeix, J.-Y., Guez, L., Guilyardi, E., Hauglustaine, D., Hourdin, F., Idelkadi, A., Ghattas, J., Joussaume, S., Kageyama, M., Krinner, G., Labetoulle, S., Lahellec, A., Lefebvre, M.-P., Lefevre, F., Levy, C., Li, Z. X., Lloyd, J., Lott, F., Madec, G., Mancip, M., Marchand, M., Masson, S., Meurdesoif, Y., Mignot, J., Musat, I., Parouty, S., Polcher, J., Rio, C., Schulz, M., Swingedouw, D., Szopa, S., Talandier, C., Terray, P., Viovy, N., and Vuichard, N.: Climate change projections using the IPSL-CM5 Earth System Model: from CMIP3 to CMIP5, Clim. Dynam., 40, 2123–2165, https://doi.org/10.1007/s00382-012-1636-1, 2013.

Eden, J., Widmann, M., Grawe, D., and Rast, S.: Skill, Correction, and Downscaling of GCM-Simulated Precipitation, J. Climate, 25, 3970–3984, https://doi.org/10.1175/JCLI-D-11-00254.1, 2012.

Finney, D. J.: Dimensions of Statistics, J. Roy. Stat. Soc. Ser. C, 26, 285–289, https://doi.org/10.2307/2346969, 1977.

Flato, G., Marotzke, J., Abiodun, B., Braconnot, P., Chou, S., Collins, W., Cox, P., Driouech, F., Emori, S., Eyring, V., Forest, C., Gleckler, P., Guilyardi, E., Jakob, C., Kattsov, V., Reason, C., and Rummukainen, M.: Evaluation of Climate Models, book section 9, Cambridge University Press, Cambridge, UK and New York, NY, USA, 741–866, https://doi.org/10.1017/CBO9781107415324.020, 2013.

François, B., Vrac, M., Cannon, A., Robin, Y., and Allard, D.: Multivariate bias corrections of climate simulations: Which benefits for which losses?, Earth Syst. Dynam., 11, 537–562, https://doi.org/10.5194/esd-11-537-2020, 2020.

Frieler, K., Lange, S., Piontek, F., Reyer, C. P. O., Schewe, J., Warszawski, L., Zhao, F., Chini, L., Denvil, S., Emanuel, K., Geiger, T., Halladay, K., Hurtt, G., Mengel, M., Murakami, D., Ostberg, S., Popp, A., Riva, R., Stevanovic, M., Suzuki, T., Volkholz, J., Burke, E., Ciais, P., Ebi, K., Eddy, T. D., Elliott, J., Galbraith, E., Gosling, S. N., Hattermann, F., Hickler, T., Hinkel, J., Hof, C., Huber, V., Jägermeyr, J., Krysanova, V., Marcé, R., Müller Schmied, H., Mouratiadou, I., Pierson, D., Tittensor, D. P., Vautard, R., van Vliet, M., Biber, M. F., Betts, R. A., Bodirsky, B. L., Deryng, D., Frolking, S., Jones, C. D., Lotze, H. K., Lotze-

Campen, H., Sahajpal, R., Thonicke, K., Tian, H., and Yamagata, Y.: Assessing the impacts of 1.5 °C global warming – simulation protocol of the Inter-Sectoral Impact Model Intercomparison Project (ISIMIP2b), Geosci. Model Dev., 10, 4321–4345, https://doi.org/10.5194/gmd-10-4321-2017, 2017.

Frost, A. J., Charles, S. P., Timbal, B., Chiew, F. H. S., Mehrotra, R., Nguyen, K. C., Chandler, R. E., McGregor, J. L., Fu, G., Kirono, D. G. C., Fernandez, E., and Kent, D. M.: A comparison of multi-site daily rainfall downscaling techniques under Australian conditions, J. Hydrol., 408, 1–18, https://doi.org/10.1016/j.jhydrol.2011.06.021, 2011.

Galmarini, S., Cannon, A., Ceglar, A., Christensen, O., de Noblet-Ducoudré, N., Dentener, F., Doblas-Reyes, F., Dosio, A., Gutierrez, J., Iturbide, M., Jury, M., Lange, S., Loukos, H., Maioiano, A., Maraun, D., McGinnis, S., Nikulin, G., Riccio, A., Sanchez, E., Solazzo, E., Toreti, A., Vrac, M., and Zampieri, M.: Adjusting climate model bias for agricultural impact assessment: How to cut the mustard, Clim. Serv., 13, 65–69, https://doi.org/10.1016/j.cliser.2019.01.004, 2019.

Grouillet, B., Ruelland, D., Vaittinada Ayar, P., and Vrac, M.: Sensitivity analysis of runoff modeling to statistical downscaling models in the western Mediterranean, Hydrol. Earth Syst. Sci., 20, 1031–1047, https://doi.org/10.5194/hess-20-1031-2016, 2016.

Gudmundsson, L., Bremnes, J. B., Haugen, J. E., and Engen-Skaugen, T.: Technical Note: Downscaling RCM precipitation to the station scale using statistical transformations; a comparison of methods, Hydrol. Earth Syst. Sci., 16, 3383–3390, https://doi.org/10.5194/hess-16-3383-2012, 2012.

Haddad, Z. S. and Rosenfeld, D.: Optimality of empirical Z-R relations, Q. J. Roy. Meteorol. Soc., 123, 1283–1293, https://doi.org/10.1002/qj.49712354107, 1997.

Hempel, S., Frieler, K., Warszawski, L., Schewe, J., and Piontek, F.: A trend-preserving bias correction – the ISI-MIP approach, Earth Syst. Dynam., 4, 219–236, https://doi.org/10.5194/esd-4-219-2013, 2013.

IPCC: Climate Change and Land: an IPCC special report on climate change, desertification, land degradation, sustainable land management, food security, and greenhouse gas fluxes in terrestrial ecosystems, edited by: Shukla, P. R., Skea, J., Calvo Buendia, E., Masson-Delmotte, V., Pörtner, H.-O., Roberts, D. C., Zhai, P., Slade, R., Connors, S., van Diemen, R., Ferrat, M., Haughey, E., Luz, S., Neogi, S., Pathak, M., Petzold, J., Portugal Pereira, J., Vyas, P., Huntley, E., Kissick, K., Belkacemi, M., and Malley, J., in press, 2019.

Jacob, D., Petersen, J., Eggert, B., Alias, A., Christensen, O. B., Bouwer, L. M., Braun, A., Colette, A., Déqué, M., Georgievski, G., Georgopoulou, E., Gobiet, A., Nikulin, G., Haensler, A., Hempelmann, N., Jones, C., Keuler, K., Kovats, S., Kröner, N., Kotlarski, S., Kriegsmann, A., Martin, E., van Meijgaard, E., Moseley, C., Pfeifer, S., Preuschmann, S., Radtke, K., Rechid, D., Rounsevell, M., Samuelsson, P., Somot, S., Soussana, J.-F., Teichmann, C., Valentini, R., Vautard, R., and Weber, B.: EUROCORDEX: New high-resolution climate change projections for European impact research, Reg. Environ. Change, 14, 563–578, https://doi.org/10.1007/s10113-013-0499-2, 2014.

Jeong, D., St-Hilaire, A., Ouarda, T., and Gachon, P.: Multisite statistical downscaling model for daily precipitation combined by multivariate multiple linear regression and
stochastic weather generator, Climatic Change, 114, 567–591,
https://doi.org/10.1007/s10584-012-0451-3, 2012.

Johnson, F. and Sharma, A.: A nesting model for bias correction of variability at multiple time scales in general circulation model precipitation simulations, Water Resour. Res., 48, W01504, https://doi.org/10.1029/2011WR010464, 2012.

Kallache, M., Vrac, M., Naveau, P., and Michelangeli, P.-A.: Non-stationary probabilistic downscaling of extreme precipitation, J. Geophys. Res., 116, D05113, https://doi.org/10.1029/2010JD014892, 2011.

Kirtman, B., Power, S., Adedoyin, J., Boer, G., Bojariu, R., Camil- loni, I., Doblas-Reyes, F., Fiore, A., Kimoto, M., Meehl, G., Prather, M., Sarr, A., Schär, C., Sutton, R., van Oldenborgh, G., Vecchi, G., and Wang, H.: Near-term Climate Change: Pro- jections and Predictability, book section 11, Cambridge Univer- sity Press, Cambridge, UK and New York, NY, USA, 953–1028, https://doi.org/10.1017/CBO9781107415324.023, 2013.

KNMI: Cordex EUR-11 KNMI RACMO22E, available at:
http://cera-www.dkrz.de/WDCC/ui/Compact.jsp?acronym=
CXEU11KNRA (last access: 15 November 2021), 2017.

Leonard, M., Westra, S., Phatak, A., Lambert, M., Hurk, B., Mcinnes, K., Risbey, J., Schuster, S., Jakob, D., and Stafford Smith, M.: A compound event framework for un- derstanding extreme impacts, Wiley Interdisciplin. Rev. Clim. Change, 5, 113–128, 2014.

Maraun, D. and Widmann, M.: Statistical Downscaling and Bias Correction for Climate Research, Cambridge University Press, Cambridge, https://doi.org/10.1017/9781107588783, 2018.

Marti, O., Braconnot, P., Dufresne, J., Bellier, J., R., B., Bony, S., Brockmann, P., Cadule, P., Caubel, A., Codron, F., de No- blet, N., Denvil, S., Fairhead, L., Fichefet, T., Foujols, M., Friedlingstein, P., Goosse, H., Grandpeix, J., Guilyardi, E., Hour- din, F., Idelkadi, A., Kageyama, M., Krinner, G., Lévy, C., Madec, G., Mignot, J., Musat, I., Swingedouw, D., and Talandier, C.: Key features of the IPSL ocean atmosphere model and its sensitivity to atmospheric resolution, Clim. Dynam., 34, 1–26, https://doi.org/10.1007/s00382-009-0640-6, 2010.

McFarlane, N.: Parameterizations: representing key pro-
cesses in climate models without resolving them, Wi-
ley Interdisciplin. Rev. Clim. Change, 2, 482–497,
https://doi.org/10.1002/wcc.122, 2011.

Mehrotra, R. and Sharma, A.: Correcting for system-
atic biases in multiple raw GCM variables across
a range of timescales, J. Hydrol., 520, 214–223,
https://doi.org/10.1016/j.jhydrol.2014.11.037, 2015.

Mehrotra, R. and Sharma, A.: A Multivariate Quantile-Matching Bias Correction Approach with Auto- and Cross-Dependence across Multiple Time Scales: Implications for Downscaling, J. Climate, 29, 3519–3539, https://doi.org/10.1175/JCLI-D-15-0356.1, 2016.

Piani, C. and Haerter, J.: Two dimensional bias correction of tem-
perature and precipitation copulas in climate models, Geophys.
Res. Lett., 39, L20401, https://doi.org/10.1029/2012GL053839,
2012.

Raimonet, M., Oudin, L., Thieu, V., Silvestre, M., Vautard, R., Rabouille, C., and Le Moigne, P.: Evaluation of Gridded Meteorological Datasets for Hydrological Modeling, J. Hydrometeo- rol., 18, 3027–3041, https://doi.org/10.1175/JHM-D-17-0018.1, 2017.

Rizzo, M. L. and Székely, G. J.: Energy distance, Wi-
ley Interdisciplin. Rev. Comput. Stat., 8, 27–38,
https://doi.org/10.1002/wics.1375, 2016.

Robin, Y.: yrobink/SBCK: Version 0.4.0, Zenodo [code], https://doi.org/10.5281/zenodo.5483134, 2021.

Robin, Y., Vrac, M., Naveau, P., and Yiou, P.: Multivariate stochastic bias corrections with optimal transport, Hydrol. Earth Syst. Sci., 23, 773–786, https://doi.org/10.5194/hess-23-773-2019, 2019.

Santambrogio, F.: Optimal Transport for Applied Mathemati-
cians: Calculus of Variations, PDEs, and Modeling, in: Progress
in Nonlinear Differential Equations and Their Applications,
1st Edn, Birkhäuser, Cham, https://doi.org/10.1007/978-3-319-
20828-2, 2015.

Schmidli, J., Frei, C., and Vidale, P.: Downscaling from GCM precipitation: a benchmark for dynamical and statistical downscaling methods, Int. J. Climatol., 26, 679–689, https://doi.org/10.1002/joc.1287, 2006.

Teutschbein, C. and Seibert, J.: Bias correction of regional climate model simulations for hydrological climate-change impact studies: Review and evaluation of different methods, J. Hydrol., 456–457, 12–29, https://doi.org/10.1016/j.jhydrol.2012.05.052, 2012.

Thrasher, B., Maurer, E. P., McKellar, C., and Duffy, P. B.: Technical Note: Bias correcting climate model simulated daily temperature extremes with quantile mapping, Hydrol. Earth Syst. Sci., 16, 3309–3314, https://doi.org/10.5194/hess-16-3309-2012, 2012.

Vaittinada Ayar, P., Vrac, M., Bastin, S., Carreau, J., Déqué, M., and Gallardo, C.: Intercomparison of statistical and dynamical downscaling models under the EURO- and MED-CORDEX initiative framework: Present climate evaluations, Clim. Dynam., 46, 1301–1329, https://doi.org/10.1007/s00382-015-2647-5, 2015.

Villani, C.: Optimal Transport: Old and New, in: Grundlehren
der mathematischen Wissenschaften, 1st Edn., Springer-Verlag,
Berlin, Heidelberg, https://doi.org/10.1007/978-3-540-71050-9,
2008.

Vrac, M.: Multivariate bias adjustment of high-dimensional climate simulations: the Rank Resampling for Distributions and Dependences ($R^2D^2$) bias correction, Hydrol. Earth Syst. Sci., 22, 3175–3196, https://doi.org/10.5194/hess-22-3175-2018, 2018.

Vrac, M. and Thao, S.: $R^2D^2$ v2.0: accounting for temporal dependences in multivariate bias correction via analogue rank resampling, Geosci. Model Dev., 13, 5367–5387, https://doi.org/10.5194/gmd-13-5367-2020, 2020.

Vrac, M. and Vaittinada Ayar, P.: Influence of bias correcting predic-
tors on statistical downscaling models, J. Appl. Meteorol. Clim.,
56, 5–26, https://doi.org/10.1175/JAMC-D-16-0079.1, 2017.

Vrac, M., Stein, M. L., Hayhoe, K., and Liang, X.-Z.: A gen-
eral method for validating statistical downscaling methods un-
der future climate change, Geophys. Res. Lett., 34, L18701,
https://doi.org/10.1029/2007GL030295, 2007.

Vrac, M., Drobinski, P., Merlo, A., Herrmann, M., Lavaysse, C., Li, L., and Somot, S.: Dynamical and statistical downscaling of the French Mediterranean climate: uncertainty assessment, Nat. Hazards Earth Syst. Sci., 12, 2769–2784, https://doi.org/10.5194/nhess-12-2769-2012, 2012.

Vrac, M., Noël, T., and Vautard, R.: Bias correction of precipitation through Singularity Stochastic Removal: Be-
cause occurrences matter, J. Geophys. Res., 121, 5237–5258,
https://doi.org/10.1002/2015JD024511, 2016.

Wilcox, R. H.: Adaptive control processes – A guided tour, by Richard Bellman, Princeton University Press, Princeton, New Jersey, 1961, 255 pp., 6.50, Nav. Res. Logist. Q., 8, 315–316, https://doi.org/10.1002/nav.3800080314, 1961.

Wilks, D. S.: Stochastic weather generators for climate-change downscaling, part II: multivariable and spatially coherent multisite downscaling, Wiley Interdisciplin. Rev. Clim. Change, 3, 267–278, https://doi.org/10.1002/wcc.167, 2012.

Xiaoli, L., Coulibaly, P., and Evora, N.: Comparison of data-driven methods for downscaling ensemble weather forecasts, Hydrol. Earth Syst. Sci., 12, 615–624, https://doi.org/10.5194/hess-12-615-2008, 2008.

Xu, C.-Y.: From GCMs to river flow: a review of downscaling methods and hydrologic modelling approaches, Prog. Phys. Geogr., 23, 229–249, https://doi.org/10.1177/030913339902300204, 1999.

Zscheischler, J., Westra, S., Hurk, B., Seneviratne, S., Ward, P., Pitman, A., AghaKouchak, A., Bresch, D., Leonard, M., Wahl, T., and Zhang, X.: Future climate risk from compound events, Nat. Clim. Change, 8, 469–477, https://doi.org/10.1038/s41558-018-0156-3, 2018.