Articles | Volume 18, issue 14
https://doi.org/10.5194/gmd-18-4335-2025
https://doi.org/10.5194/gmd-18-4335-2025
Model description paper
 | 
18 Jul 2025
Model description paper |  | 18 Jul 2025

Atmospheric moisture tracking with WAM2layers v3

Peter Kalverla, Imme Benedict, Chris Weijenborg, and Ruud J. van der Ent
Abstract

This paper documents the atmospheric-moisture-tracking model WAM2layers v3 (Water Accounting Model – 2 layers, version 3). WAM2layers may be used to gain an understanding of atmospheric dynamics and to study rainfall patterns and extremes by mapping their sources or sinks, often in the context of climate and land-use changes. To this end, WAM2layers solves a prognostic equation for tagged moisture in gridded atmospheric datasets such as reanalysis data or climate model output. WAM2layers can be used in forward mode, to determine where evaporated water eventually precipitates, or in backward mode, to determine where precipitation originally evaporated.

WAM2layers v3 represents a complete rewrite of the WAM2layers model originally introduced in 2010 and subsequently used in more than 60 academic studies. This latest version incorporates performance optimizations to cope with the increased resolution of input data and introduces various best practices aimed at improved user-friendliness and software sustainability. As an increasing number of researchers are using the code, this paper is intended as an updated description and reference in the academic literature. After describing the history, model formulation, and numerical implementation, we present and evaluate two example cases to illustrate the use and skill of WAM2layers v3. We then discuss best practices, some important assumptions, and directions for future development.

Share
1 Introduction

This paper documents version 3 of the Water Accounting Model – 2layers (hereafter WAM2layers v3). WAM2layers is a moisture-tracking model that can be used to study the transport of water in the atmosphere, from source (surface evaporation) to sink (precipitation) or vice versa. Since the previous version (see Van der Ent et al.2014, their Appendix B), the model has seen some substantial upgrades, and this paper is intended as an updated reference for those who have used, are using, or are considering using WAM2layers in their research. Before we delve into details, we briefly consider the scientific and historical context.

Moisture tracking in general has been applied in different fields (e.g. Gimeno et al.2020), and research objectives have ranged from obtaining a better process understanding of specific events (e.g. Dirmeyer and Brubaker1999) and different modes of climate variability (e.g. Miralles et al.2016) to general aspects of the global hydrological cycle (e.g. Theeuwen et al.2023). Moreover, moisture-tracking results have often been used in the context of studying the role of vegetation, potential effects of land-use changes, and possible management options (e.g. Te Wierik et al.2021).

Various types of moisture-tracking models exist. A potential classification system was given in Dominguez et al. (2020, their Fig. 1), who distinguished between analytical, offline numerical, and online numerical methods. Alternatively, numerical models can be distinguished based on the way they formulate the transport problem (Eulerian vs. Lagrangian), such as done in the review paper by Gimeno et al. (2020). Other differences may arise due to the description of the land surface interaction, numerous assumptions and simplifications, and implementation details. The effect of the differences in modelling approach and the simplifications and assumptions has received some attention in literature (e.g.  Cloux et al.2021; Crespo-Otero et al.2024; Goessling and Reick2013; Li et al.2024; Van der Ent et al.2013), and a larger intercomparison study is underway (Benedict et al.2024).

WAM2layers is an offline, Eulerian atmospheric-moisture-tracking model. A conceptual illustration of WAM2layers is provided in Fig. 1, which highlights the domain configuration and the transport between the grid cells and exchange with the surface. The model set-up (including simplifications), assumptions, and limitations, are described in detail in Sects. 2–4 and 6.

https://gmd.copernicus.org/articles/18/4335/2025/gmd-18-4335-2025-f01

Figure 1(a) Example tracking domain (green outline) and tagging region (red outline and shading) for WAM2layers overlaid on a global input grid. (b) Conceptual illustration of the inner structure of WAM2layers. Green arrows indicate horizontal transport, the red arrow indicates the vertical flux, the blue arrow indicates precipitation, and the purple arrow indicates evaporation. Horizontal transport in the upper layer (not drawn) is similar to that in the lower layer. The yellow square represents the surface.

WAM2layers was originally developed as the single-layer Water Accounting Model (WAM v1; Van der Ent et al.2010), driven by ERA-Interim data. The two-layer version was introduced because Van der Ent et al. (2013), who compared the capabilities of WAM to an online tracking method in a regional climate model, found that the one-layer version resulted in large errors for cases with strong directional wind shear. After further adjustments for use with global climate and reanalysis data, the version described in Van der Ent et al. (2014, their Appendix B) is referred to as WAM2layers v1. Originally written in MATLAB, the first published work with a full rewrite into Python was by Van der Ent and Tuinenburg (2017) (WAM2layers v2). Hence, the update to the model described here is considered to be WAM2layers v3. This major rewrite was aimed at improving the code efficiency in order to keep up with the increased resolution of weather and climate model output. As of v3, we started using semantic versioning (https://semver.org/, last access: 14 July 2025), which means each software release gets a three-number identifier using the following format: major.minor.patch. Within a major version, we strive to maintain backward compatibility, minimizing disruptions to existing workflows with WAM2layers as new features and fixes are introduced. This paper pertains to major version v3, including all of its minor and patch releases. Each release gets its own DOI to enable the referencing of specific versions of the code. Additionally, a concept DOI is available for generic references to the software regardless of a specific version (Van der Ent et al.2024a).

Since its introduction, WAM2layers has been used by many researchers and applied to different topics (Table 1). Figure 2 shows a breakdown of use cases by time and data source. The use of WAM2layers has increased over time, and the model has predominantly been used with reanalysis data, although it has sometimes also been employed with climate model output. Studies that have used the output data from WAM2layers for further analysis (Al Hasan et al.2021; Berger et al.2014, 2018; Cui et al.2022; Link et al.2021; Van der Ent and Savenije2011; Weng et al.2019) are not included in this overview (Table 1, Fig. 2).

Bedoya‐Soto and Poveda (2024); Enciso et al. (2022); Keys et al. (2014, 2024); Posada‐Marín et al. (2023); Shi et al. (2022); Van der Ent et al. (2010); Zemp et al. (2014); Zhang et al. (2020)Carr and Ummenhofer (2024); Chen et al. (2023); Cluett et al. (2021); Guo et al. (2019); Li et al. (2021, 2022); Link et al. (2020); Lobos-Roco et al. (2022); Mu et al. (2023); Van der Ent and Savenije (2013); Van der Ent and Tuinenburg (2017); Xia et al. (2022); Xiao and Cui (2021); Zhang (2020b); Zhao et al. (2016)Keys et al. (2017); Keys and Wang-Erlandsson (2018); Keys et al. (2018); Posada-Marín et al. (2024)Ampuero et al. (2020); Duerinck et al. (2016); Keys et al. (2016, 2022); Van der Ent et al. (2012, 2014)De Hertog et al. (2024); Keys et al. (2012); Li et al. (2017); Wang-Erlandsson et al. (2018); Zemp et al. (2017)Bosmans et al. (2020)Franco-Díaz et al. (2024); Guo et al. (2020)Benedict et al. (2020); Findell et al. (2019); Liu et al. (2022, 2024); Yuan et al. (2023a); Zhang et al. (2019, 2023a, b)Benedict et al. (2021); Mu et al. (2021); Pranindita et al. (2022); Zhang (2020a); Zhou and Shi (2024)Liu et al. (2021); Yuan et al. (2023b); Zhang et al. (2023b, 2024)Li et al. (2024); Van der Ent et al. (2013)

Table 1Topics for which WAM2layers has been used and associated references to work on these topics.

Download Print Version | Download XLSX

https://gmd.copernicus.org/articles/18/4335/2025/gmd-18-4335-2025-f02

Figure 2Peer-reviewed scientific papers running WAM2layers (or its predecessor WAM) as of 30 September 2024. The data source only refers to the atmospheric wind and humidity fields, as some studies used evaporation or precipitation from other data sources. The “Climate Model” category groups different models. The underlying data are provided in the Supplement.

Download

Evidently, WAM2layers has developed into a mature piece of research software with a considerable user base. We envision that this reference paper will (1) help to run it consciously with appropriate model settings to interpret existing results and (2) serve as a sound basis for future model improvements and sensitivity studies to understand the effects of certain modelling decisions in detail. The governing equations are derived in Sect. 2. Section 3 describes the preprocessing procedure, i.e. how to prepare data from various sources for a tracking experiment. Section 4 describes the actual tracking procedure. In Sect. 5, we briefly discuss two reference cases. Section 6 is dedicated to the best practices that have been incorporated in WAM2layers. Strengths, weaknesses, and opportunities for future development are discussed in Sect. 7.

2 Governing equations

Here, we describe the budget equations for total and tagged moisture as they are implemented in WAM2layers v3. To facilitate comparison with other (moisture-tracking or tracer) models, we present a generic description that extends to more than two layers. The two-layer concept will emerge more clearly in Sects. 3 and 4, where we describe in detail how the input data are collapsed from an arbitrary number of model or pressure levels onto a two-layer grid, and how the equations are implemented numerically.

2.1 Total moisture budget

As the name “Water Accounting Model” implies, WAM2layers is primarily concerned with bookkeeping the amount of water that is exchanged between grid cells. The total water vapour S per unit area 𝒜 contained in a 3D grid cell of volume 𝒱=𝒜Δz is calculated as follows:

(1) S = 1 A V q ρ d V = q ρ Δ z = q Δ p g ,

where q is the specific humidity, ρ is the density of the air, g is the gravitational constant, and p is pressure. The change from height to pressure coordinates is accomplished through substitution of hydrostatic balance, which conveniently eliminates the density. Changes in grid cell area with height are neglected. Notice that WAM2layers uses specific humidity as a proxy for specific water content. As discussed in Sect. 3, it is possible to account for other phases of water to some extent by using the total column water, if this variable is available in the input data.

The area-averaged moisture content is convenient to work with, as the corresponding unit of kilograms per square metre (kg m−2) is commonly used and allows for straightforward interpretation of the values of the moisture fields. Older versions of WAM2layers have worked with (SA)ρlw instead, where ρlw represents the density of liquid water, thereby effectively working in units of cubic metres (m3). While the moisture balance is not affected, the input and output of WAM2layers are different between v3 and older versions.

As the total moisture is a conserved quantity, the change in (area-averaged) moisture S in a grid cell is equal to the fluxes through the boundary of the grid cell plus the sources and sinks:

(2) Δ t S Δ t + 1 A Δ x F x + Δ y F y + Δ p F p = E - P ,

where the terms on the left-hand side represent the change in moisture in a grid cell and the horizontal (green arrows in Fig. 1b) and vertical (red arrow) fluxes, respectively. The terms on the right-hand side represent the rates of removal by precipitation (P, blue arrow) and addition through evaporation (E, purple arrow), both per unit area. Considering advection as the main mode of transport, the horizontal fluxes between grid cells are given by the following:

(3) F x = u q Δ y Δ p g , F y = v q Δ x Δ p g ,

where u and v are the zonal and meridional wind components, respectively. For our two-layer model, the vertical fluxes Fp at the top and bottom boundaries vanish, leaving only one vertical transport term at the interface between the two layers. As the vertical flux is positive downwards, this term acts as a sink for the top layer and as a source for the bottom layer. Importantly, this vertical transport term is ill-defined. Advection is typically not the main process for vertical transport. Unresolved processes, such as convection and transport associated with precipitation, can also lead to a strong vertical redistribution of water. Another complicating factor is that the vertical extent of the grid cells may vary in time and space. Therefore, in solving for Eq. (2), all terms are estimated from the input data (see Sect. 3), except for the vertical transport, which is calculated as a closure term (see Sect. 4).

2.2 Tagged moisture budget

The core of WAM2layers consists of tracking a certain proportion of the total moisture, which we refer to as “tagged” moisture. We define the tagged moisture contained in a grid cell as follows:

(4) S * = c S ,

where c represents the tagged moisture concentration. Seeking a budget equation for S*, we recast Eq. (2) in terms of tagged moisture:

(5) Δ t S * Δ t + 1 A Δ x F x * + Δ y F y * + Δ p F p * = E * - P *

such that tagged moisture transport is described by the same fluxes as the total moisture (illustrated in Fig. 1b), except that tagged moisture represents only a portion of the total.

As opposed to Eq. (2), which is complete in terms of the input data, Eq. (5) is incomplete and must be modelled. Thus, our quest is to express the unknown fluxes of tagged moisture, denoted by asterisks, as a function of the known terms of the total moisture budget. For the sources and sinks we write the following:

(6)E*=δeE,(7)P*=δpP.

Here, δe and δp control where water is added or removed from the system. This is controlled by the tagging region, marked by the red outline and fill in Fig. 1a. In the case of forward tracking, δe is 1 inside the tagging (source) region and 0 elsewhere, and δp=c; i.e. precipitation is removed proportionally to the total moisture in the upper and lower layer. For backward tracking, it is the exact opposite: δp is 1 inside the tagging (sink) region and 0 elsewhere, and δe=c; i.e. evaporation is removed proportionally from the lower layer. For the fluxes, WAM2layers uses the following:

(8) F x * = c F x , F y * = c F y , F p * = c F p + κ Δ p c Δ p ;

that is, tagged moisture transport is proportional to the transport of total moisture in the horizontal direction. In the vertical, an additional dispersion term is added, as Van der Ent et al. (2014) noticed that there was insufficient vertical mixing of tagged moisture without it. Setting κ=kvf|Fp|Δp ensures that the dispersion rate is proportional to vertical advection rate Fp and the grid size. A similar form may be found in Cushman-Roisin and Beckers (2011, p. 138), who reason that κ is characterized by the largest unresolved eddies. Here, kvf is a tunable parameter to control the dispersion rate. Van der Ent et al. (2014) suggested that a value of 3 gives realistic results, but this could be case-dependent.

2.3 Some notes on the formulation of WAM2layers

Although originally conceived as a simple bookkeeping exercise, the accounting method in WAM2layers has a formal basis in the finite-volume approach. In the absence of sources and sinks, conservation of moisture reads as follows:

(9) ( ρ q ) t + f ( ρ q ) = 0 ,

where f(x) represents a generic flux function (for advection only, f(x)=ux). Integrating all terms over a fixed control volume and applying Gauss' theorem to the divergence term yields an equivalent expression, stating that the rate of change in moisture in a grid cell is equivalent to the flux across its enclosing surface. Upon discretization, substitution of hydrostatic balance, and division by the grid cell area, we retrieve Eq. (2). Applying this procedure to grid cells with a variable vertical extent rather than a fixed control volume yields an additional term by virtue of the Leibniz rule. This term is effectively “absorbed” by our loose definition of the vertical flux.

On a Cartesian grid with 𝒜=ΔxΔy, the horizontal transport in Eq. (2) can be written as ∇⋅F using the following expression:

(10) F = ( F x , F y ) = u q Δ p g , v q Δ p g .

This testifies to the equivalence of the continuous and integrated budget equations. However, as WAM2layers operates on a spherical latitude–longitude grid, we must stick with Eq. (2) to ensure that meridional transport is dependent on latitude.

To facilitate numerical stability analysis and comparison to other moisture-tracking methods and, more broadly, to tracer models in general, it is convenient to define an “integrated moisture velocity” u^=(u^,v^,ω^) such that

(11) F x = u ^ S , F y = v ^ S , F p = ω ^ S .

With this, conservation of total moisture, tagged moisture, and tagged moisture concentration can all be expressed in the same form:

(12)St+(u^S)=0,(13)S*t+(u^S*)=0,(14)ct+(u^c)=0.

In relation to existing literature, we point out that Trenberth and Guillemot (1995), Dominguez et al. (2006), and Burde and Zangvil (2001) take a slightly different approach to calculate integrated vapour transport. They take the vertical integral of each term in Eq. (9) in isobaric coordinates and apply the Leibniz rule to each of the terms, upon which the vertical flux disappears from the budget equation. In their case, as they consider the budget equation vertically integrated over the full atmosphere, this makes perfect sense. In our case, as mentioned before, we need to retain a vertical transport term between the two layers of our model, due to unresolved and non-isobaric processes, and variability in the grid cells' vertical extent. Note that the aforementioned studies used the symbol w (sometimes referred to as “precipitable water”) for what we refer to as the total moisture S.

2.4 Summary

Recapitulating, the heart of WAM2layers consists of Eqs. (2) and (5) for total moisture S and tagged moisture S*, respectively. These governing equations naturally lead to a two-step process for using WAM2layers. First, the input data are collapsed onto a two-layer grid, and the terms in Eq. (2) are reconstructed from the available input data. This is what we refer to as the preprocessing step. Subsequently, Eq. (5) is integrated numerically, which we call the tracking step. In the next sections, we will discuss each of these steps in detail.

3 Preprocessing

The first step in any WAM2layers experiment is to collapse the input data onto a two-layer grid and to reconstruct the corresponding terms in Eq. (2) for each new grid cell, except for the vertical flux, which will be calculated as a closure term later on. This procedure is dataset-dependent; therefore, it is isolated from the rest of the code in a dedicated preprocessing module. This makes it possible to support multiple input datasets with minimal code duplication.

In developing WAM2layers v3, we have primarily focused on working with ERA5 reanalysis data (Hersbach et al.2020). The comprehensiveness of this dataset enables scrutiny in the treatment of vertical levels, which also facilitates the presentation in this paper. We aim for a complete description such that a similar procedure can easily be derived for other data sources.

3.1 Data retrieval: required variables

ERA5 data can be downloaded at model levels or pressure levels. In either case, the forthcoming steps require the horizontal wind components (u and v) and specific humidity (q) as input at all or a subset of the available levels. Furthermore, precipitation (P), evaporation (E), and surface pressure (ps) are required at the surface, and we also include total column water (Stc_ERA5). This last variable is not strictly required to run WAM2layers, but it enables us to estimate and mitigate (to some extent) the errors introduced by the omission of liquid and ice water. Working with pressure-level data additionally requires the surface values of wind and humidity, i.e. the 10 m wind components u10 and v10 and 2 m dew point temperature Td,2. While ERA5 data are available globally, WAM2layers can be configured to use only a subset of the data. This can be useful to speed up data downloads and simulations or to reduce disc space requirements. The domain at which WAM2layers operates is referred to as the “tracking domain” (Fig. 1a), and it can be provided as a bounding box or as a 2D raster to allow for arbitrary regions.

3.2 States and fluxes

We start by describing the ideal case in which the 3D fields of u, v, and q are available on all model levels. WAM2layers aggregates the input data onto a two-layer grid by partitioning the input grid into an upper (k=0) and lower (k=1) part and then taking the sum over each layer.

Summation of Eq. (1) over each partition k gives the total water in each grid cell in WAM2layers:

(15) S k = 1 g i k q i Δ p i .

Here, the subscript i refers to indices in the ERA5 level definition, which can be found in the documentation of the underlying Integrated Forecasting System (IFS) (ECMWF2016). Horizontal advection terms are calculated according to Eq. (3) and then aggregated in a similar fashion:

(16) F x , k = 1 g i k u i q i Δ p i , F y , k = 1 g i k v i q i Δ p i .

Following Van der Ent et al. (2013, 2014), we set the boundary to be at the interface between IFS levels 111 and 112 by default. This corresponds to around 812 hPa, for a standard atmospheric pressure of 1013.25 hPa. This boundary in WAM2layers is usually just above the atmospheric boundary layer with, on average, slightly more moisture below the boundary than above the boundary. Note that the boundary can be at a much lower pressure over mountainous terrain.

The vertical pressure difference over each input grid cell can be calculated as follows:

(17)Δpi=pi+1/2-pi-1/2,(18)pi+1/2=Ai+1/2+ps,i+1/2B,

where A and B are hybrid model level coefficients describing the vertical discretization of the model levels in IFS (ECMWF2016).

Accounting for liquid and solid water

Equation (15) represents the total mass of water vapour in each grid cell. By contrasting the calculated column water vapour with the total column water from ERA5 (ST_ERA5), we can apply an adjustment to account for other phases of water:

(19) S k = S k S T _ ERA 5 k S k .

This adds missing cloud and rain/snow water to all levels proportionally to the vertical distribution of water vapour. For the two example cases, this correction is typically within 1 % when averaged over the grid, although it may be more than 10 % for specific individual grid cells and time steps. WAM2layers provides information about this in the on-screen logging and associated log file. Note that this step is only possible when the total column water is available from the input data source, which is not always the case.

3.3 Sources and sinks

In the formulation of WAM2layers's equations, we adopted the common convention in hydrology of having only positive values for both precipitation and evaporation. Precipitation represents all water transfer from the atmosphere to the surface, including condensation.

In ERA5, vertical fluxes are defined positive downwards. The evaporation variable can be either positive (condensation) or negative (evaporation). Therefore, during the preprocessing step for ERA5, the sign of evaporation is flipped and any remaining negative values are reassigned to the precipitation variable instead.

In a forward-tracking experiment, a proportion of the total surface evaporation is tagged (δe). Similarly, for a backward-tracking experiment, we tag a proportion of the precipitation (δp). The tagging region is illustrated in Fig. 1a. It can be supplied as a bounding box or as a 2D/3D raster. The 3D option, which is still relatively experimental, would allow for a moving tagging region, e.g. for studying storms. In the 2D case, a tagging start date and end date are given in the configuration file.

3.4 Dealing with fewer model levels

ERA5 data are available at all 137 model levels, which is quite unique in terms of resolution (Hersbach et al.2020) but also quite demanding in terms of storage and processing. As we collapse the data onto a two-layer grid anyway, it is not necessary to use all 137 levels. To use WAM2layers with only a subset of these 137 layers, A and B in Eq. (18) are first interpolated to the full levels of the layer subset and then to the interfaces between these full levels. This procedure is illustrated in Fig. 3.

https://gmd.copernicus.org/articles/18/4335/2025/gmd-18-4335-2025-f03

Figure 3Illustration of how WAM2layers treats a subset of layers. Full black lines are full levels, whereas dashed grey lines are half-levels. In panel (b), the top and bottom half-levels are retained, but the remaining half-levels are expired. New half-levels are obtained by interpolating between the selected full levels.

Download

Based on our experience with a few test cases, around 20 layers gives good results, provided that the sampling is dense enough near the surface where most of the moisture is located. However, the number of input levels is configurable, so users of WAM2layers are encouraged to experiment with different subsets as they see fit.

3.5 Working with pressure-level data

Working with (a limited number of) pressure levels instead of model levels is sometimes the only option. This is, for example, the case for datasets from Coupled Model Intercomparison Project (CMIP) archives (Juckes et al.2020, Table 4). ERA5 data are also available on pressure levels, and WAM2layers v3 provides code to work with pressure-level data as well.

From the point of view of achieving accurate moisture tracking, having wind and humidity data near the surface is crucial, but these data could be absent in the case of limited pressure levels. Therefore, in order to work with (ERA5) pressure-level data, we complement the data with additional values from the surface-level data (2 m specific humidity and 10 m wind), as these are generally more representative of the surface conditions than the closest available pressure level. In addition, at the top of the atmosphere, WAM2layers assumes humidity to be zero and wind to be equal to the pressure level with the lowest pressure. This procedure is illustrated in Fig. 4.

https://gmd.copernicus.org/articles/18/4335/2025/gmd-18-4335-2025-f04

Figure 4Pressure-level data preprocessing. Panel (a) presents the original pressure levels. In panel (b), the original levels are extended at the top and surface and the interface is inserted. In panel (c), wind and humidity are interpolated to the midpoints between the pressure coordinate to become the new full levels (full black lines). Pressure is kept at the original levels, which thus become the new half-levels (dashed grey lines).

Download

The surface pressure is used to insert these values in between the right pressure levels. As surface pressure is spatially and temporally dependent (ps=ps(x,y,t)), the same now applies to our vertical coordinate: p=p(x,y,z,t). A further complication is that the pressure levels can intersect the surface, so we mask any data for which the pressure is higher than the surface pressure.

The interface between the two layers in WAM2layers must also follow the terrain. For consistency with the treatment of model-level data, we define the interface according to Eq. (18). By default, we use the A and B values for level IFS 111; however, this is configurable since WAM2layers v3.1, and users of WAM2layers can therefore easily modify it as they see fit.

At this point, the variables of interest, wind speed and humidity, are co-located with the pressure coordinate. To calculate the grid cell moisture content and fluxes, we need to multiply the pressure difference over a volume with representative values for that same volume. Thus, we interpolate wind and humidity to the interfaces between the pressure coordinates. Finally, we can proceed with evaluating Eqs. (15) and (16) as before.

3.6 Preprocessing other datasets

WAM2layers is set up in such a way that it is relatively easy to extend its preprocessing to any dataset. Most of the steps outlined above are implemented as generic routines that can be used for any dataset. To add a dataset, only a data loader script has to be implemented, which loads data into a standard internal format. As of version 3.2, built-in preprocessing is available for ERA5 data (on both model levels and pressure levels) and for CMIP data (on pressure levels). We also support ERA5 pressure-level data from ARCO-ERA5 (Carver and Merose2023). We envision that more datasets will be included in the future, and we foster community contributions such that other researchers can also contribute their own custom preprocessing scripts.

4 Tracking

The preprocessing step is designed in such a way that the intermediate data can be stored efficiently. As part of the tracking routine, the data are first interpolated to a finer time step ( 10 min; see Sect. 4.3), after which we solve for the vertical transport term in Eq. (2). Finally, Eq. (5) is integrated numerically.

4.1 Solving for the vertical flux

In discretizing Eq. (2), we assign the full evaporation source to the lower layer, but we distribute the precipitation sink proportionally over both layers. Additionally, we introduce an error term to account for inaccuracies, numerical errors, and inconsistencies in the input data caused by both the raw (ERA5) data as well as the preprocessing in WAM2layers. This leads to the following, fully discretized system of equations:

(20) S i j k t + 1 - S i j k t Δ t + ( F x , i + 1 2 j k - F x , i - 1 2 j k ) / A j + ( F y , i j + 1 2 k - F y , i j - 1 2 k ) / A j + ( F p , i j k + 1 2 - F p , i j k - 1 2 ) / A j = δ k E i j - S i j k S i j T P i j + ϵ i j k t + 1 .

Here all fluxes are evaluated at t+12; the superscripts are omitted for clarity; SijT represents the calculated column total, whether or not corrected for cloud/rain/snow water as per Eq. (19); and δk is 1 for the lower layer (k=1) and 0 otherwise. Note that, in Eq. (20), the vertical flux is positive downward in accordance with the pressure coordinate. For convenience, we can move all known terms to the left-hand side and all unknowns to the right. Using R to denote the known terms and leaving out the subscripts i,j for clarity, we get

(21) R k = - ( F p , k + 1 2 - F p , k - 1 2 ) / A + ϵ k .

After applying the boundary conditions Fp=0 at the bottom and top, the only remaining net vertical flux in our two-layer model is at the interface Fp=Fp,12, such that

(22) R 0 = - F p , 1 2 A + ϵ 0 , R 1 = + F p , 1 2 A + ϵ 1 .

To solve this system, we introduce another constraint by requiring that the errors are proportionally distributed between the upper and lower layer:

(23) ϵ k ϵ T = S k S T .

Isolating ϵk and recognizing that the total error should be equal to the total residual, we have

(24) ϵ k = ϵ T S k S T = R T S k S T .

Substituting this result in Eq. (22) we finally arrive at

(25) F p , 1 2 A = - R 0 + R T S 0 S T = R 1 - R T S 1 S T .

In the software implementation, as well as in previous publications, this term Fp,12/A is typically simply referred to as “the vertical flux”, Fv.

4.2 Numerical integration

The formulation of WAM2layers naturally lends itself to a finite-volume implementation, where the incoming fluxes in one cell correspond to outgoing fluxes in its neighbours. Concretely, in the case of forward tracking, we have the following for the upper and lower layers, respectively:

(26)Sij0t+1=Sij0t+Δt[-(Fx,i+1/2,j0*-Fx,i-1/2,j0*)/A-(Fy,i,j+1/2,0*-Fy,i,j-1/2,0*)/A-(Fp,ij,1/2*+kvf|Fp,ij,1/2|(cij,1t-cij0t))/A-cij0Sij0SijTPijt+1/2],(27)Sij1t+1=Sij1t+Δt[-(Fx,i+1/2,j1*-Fx,i-1/2,j1*)/A-(Fy,i,j+1/2,1*-Fy,i,j-1/2,1*)/A+(Fp,ij,1/2*+kvf|Fp|(cij,1t-cij0t))/A+δeEijt+1/2-cij1Sij1SijTPijt+1/2].

Note that the only remaining vertical transport term, which is shared by both equations, is directed from the upper to the lower layer. δe is the tagging region (see Sect. 3).

A crucial aspect of any finite-volume scheme is how the fluxes at the interfaces are calculated. WAM2layers employs a simple donor cell scheme (see e.g. Cushman-Roisin and Beckers2011). In this scheme, the flux of tagged moisture F*=cF is constructed by combining F, calculated at the interfaces of the grid cell and at t+1/2, with c at t, taken from the upstream volume. Concretely,

(28) ( c F ) x , i + 1 / 2 j k = F x , i + 1 / 2 j k t + 1 / 2 c i j k t , if  F x , i + 1 / 2 j k t + 1 / 2 > 0 F x , i + 1 / 2 j k t + 1 / 2 c i + 1 j k t , otherwise

and similarly for the other directions.

In case of backward tracking, the equations are similar:

(29)Sij0t-1=Sij0t-Δt[-(Fx,i+1/2,j0*-Fx,i-1/2,j0*)/A-(Fy,i,j+1/2,0*-Fy,i,j-1/2,0*)/A-(Fp,ij,1/2*+kvf|Fp|(cij,1t-cij0t))/A-δpSij0SijTPijt-1/2],(30)Sij1t-1=Sij1t-Δt[-(Fx,i+1/2,j1*-Fx,i-1/2,j1*)/A-(Fy,i,j+1/2,1*-Fy,i,j-1/2,1*)/A+(Fp,ij,1/2*+kvf|Fp|(cij,1t-cij0t))/A+cij1Eijt-1/2-δpSij1SijTPijt-1/2].

Effectively, all fluxes change direction, which means that the condition in Eq. (28) should also be reversed. Also note that the tagged moisture mask is now applied to precipitation instead of evaporation.

4.3 Stability considerations

Here, we briefly consider the time step at which WAM2layers should operate. For an explicit solver, a common criterion is that the Courant number should not exceed unity. In other words, water should not be allowed to move more than one grid cell per time step. To explore this limit, we can use the moisture velocity defined in Eq. (11).

Figure 5 shows the corresponding maximum time step for a typical range of moisture velocity values and the ERA5 grid. It shows that, due to the convergence of the meridians (see Fig. 1a), the maximum time step rapidly decreases towards the poles. For this reason, we strongly advise against using WAM2layers with input data on a latitude–longitude grid that extends beyond  75°N/S. Even for tracking experiments with a tagging region located far away from the poles, it is wise to exclude the poles from the calculation domain to avoid spurious results. For other input datasets, a similar assessment should always be made. In Sect. 7, we discuss this limitation in more detail.

https://gmd.copernicus.org/articles/18/4335/2025/gmd-18-4335-2025-f05

Figure 5Time step for which the Courant number resolves to unity, based on a grid spacing of 0.25°, as in the ERA5 input data, and a typical range of moisture velocities seen in the example cases.

Download

In principle, the time step should be chosen to be sufficiently small so as to satisfy the Courant–Friedrichs–Lewy (CFL) criterion. However, choosing a very small time step increases the computation time and exacerbates numerical diffusion. So there is an incentive to choose a time step that is sufficiently small for, say,  95 % of the time and to accept that there may be some extreme circumstances in which the CFL criterion would be violated. In this case, however, we do need to constrain the fluxes for these extremes. To this end, WAM2layers imposes some limits such that the combined moisture fluxes will at most be able to empty the upper or lower grid cell completely. The first limit is such that the meridional and zonal fluxes combined can at most empty the grid cell but cannot create any numerical water gains. The second limit is such that the gross vertical flux can also at most empty the grid cell. These limits are not entirely strict when both horizontal and vertical fluxes are large, which can theoretically lead to numerical tagged moisture gains. However, this is being monitored in the logging and should warrant a reconsideration of the time step.

At the end of each time step, WAM2layers checks against moisture surplus or deficit in any grid cell. Notably, tagged moisture cannot exceed the total moisture in a grid cell. Should there be any imbalance, WAM2layers attempts to redistribute the moisture between the upper and lower layer. If this is not sufficient, tagged moisture is lost from the system internally. In v3, we have added log messages to monitor the ongoing experiment, and the spatial fields are included in the output for later analysis. This provides confidence as long as everything is okay, and it highlights problems early if they arise. Similarly, WAM2layers logs and report transport over the boundary of the domain, which is naturally expected. However, if a research question requires, for instance, an identification of 80 % of the moisture sources, then the boundary transport and where that boundary transport occurred provide information for rerunning the model with a larger domain.

5 Example use cases

Here, we present two example cases to show some of the possibilities of WAM2layers v3. We selected one forward-tracking and one backward-tracking example with a different event duration. The input data and the configuration for these cases are available via the 4TU.ResearchData repository (Benedict and Weijenborg2024; Gaasbeek and Van der Ent2024), and WAM2layers implements a download utility to automatically retrieve these datasets by their DOI. As such, anyone can easily reproduce these example cases and get started with WAM2layers.

The backward-tracking example case determines the moisture sources of the extreme precipitation event over the Eiffel region in western Europe (Belgium, France, Germany, Luxembourg, and the Netherlands) on 13–14 July 2021. This was a catastrophic event during which extreme precipitation resulted in large floods in the tributaries of the Lower Rhine, such as the Ahr, Erft, and Wupper, and in the tributaries of the Meuse River, such as the Ourthe, Rur, and Geul (Kreienkamp et al.2021; Mohr et al.2023). The moisture sources of this event have been previously quantified using different moisture-tracking models, as shown in Insua-Costa et al. (2022) and Staal and Koren (2023), and now by WAM2layers, as presented in Fig. 6. Results show that the evaporative sources of this heavy-precipitation event were mostly located over Germany and France. Moreover, there is a substantial contribution from the Atlantic Ocean and a small contribution from the Mediterranean Sea. The spatial pattern of the sources corresponds to the sources determined by Insua-Costa et al. (2022) and Staal and Koren (2023). Please note that this configuration only considers a limited domain and time span, as it is intended as a lightweight example case. For a full comparison with previous studies, extra simulations are recommended. In this regard, it is worth noting that an intercomparison study of moisture-tracking methods, including WAM2layers, is currently being conducted (Benedict et al.2024).

https://gmd.copernicus.org/articles/18/4335/2025/gmd-18-4335-2025-f06

Figure 6Outcome of the backward-tracking example case “Eiffel”. The figure shows the accumulated tracked moisture sources of the extreme precipitation event of 13–14 July 2021. Total precipitation over the sink region during the event is displayed in the inset. Backward tracking was performed until 1 July. By then, 42 % of moisture was tracked to its source, 3.4 % of was still in the domain's atmosphere, and 54 % was associated with transport across the boundaries of the domain. Streamlines depict the average vertically integrated moisture flow during 1–14 July.

The forward-tracking example case tracks evaporation in the Lake Volta region (Ghana) forward in time for July 1998 to identify the precipitating sinks (Fig. 7). This case was also used in a comparison of moisture-tracking models (Van der Ent et al.2013), although it is not exactly the same. Input data for the previous study were from the regional climate model MM5 (Knoche and Kunstmann2013), the domain was smaller, and the evaporation was tagged during August as well. Nonetheless, we can observe similar moisture sink patterns. These patterns are caused by the southwesterly winds transporting moisture in the lower levels, until the African easterly Jet picks up the tagged moisture and transports it back in a westerly direction towards the Atlantic. Note that the average vertically integrated moisture fluxes alone, as shown by the streamlines in Fig. 7, cannot capture the complicated moisture transport in this system with strong wind shear and, as such, highlight the importance of having two layers in WAM2layers.

https://gmd.copernicus.org/articles/18/4335/2025/gmd-18-4335-2025-f07

Figure 7Outcome of the forward-tracking example case “Volta”. The figure shows the tracked moisture sinks of the evaporation from the Lake Volta region during July 1998, although the tracking continued until the end of August 1998. The inset shows the time-averaged evaporation in the source region. A total of 86 % of the total tagged evaporated moisture was attributed to surface precipitation, and 14 % of the tagged moisture was transported across the boundaries of the domain. Of the tagged evaporation, 7.8 % precipitated within the source region. Streamlines depict the average vertically integrated moisture flow during July and August.

6 Best practices in research software development

During the development of WAM2layers v3, we have put a lot of emphasis on the incorporation of research software engineering best practices aimed at making WAM2layers more user-friendly, ensuring that it is easier to maintain, and enabling a more open and transparent scientific process (Barker et al.2022; Martinez-Ortiz et al.2023).

One of the key innovations is that WAM2layers has been turned into an installable command-line program. Users no longer need to edit the source code in order to be able to configure their model. Instead, they simply edit a configuration file. This file contains all settings of the model, including the direction of tracking (forward or backward), the internal time step of the model, the interval on which the output data are provided, and the dates for which the tracking should be performed. This makes it easier to share and reproduce experiments. To further enhance reproducibility, WAM2layers creates a dedicated output folder for each experiment, which includes a copy of the configuration file and a log file. Each release of WAM2layers has a corresponding DOI, so users can always refer to the exact version of WAM2layers used for their experiments – here version 3.1 (Van der Ent et al.2024b).

Importantly, we have added extensive user and developer documentation, which is available at https://wam2layers.readthedocs.io (last access: 14 July 2025). The user documentation includes a quickstart guide, which lets the user run both example cases described in Sect. 5 in a matter of minutes. To this end, we have made WAM2layers available as a Python package on PyPI, such that it can be installed with a single command. Additionally, we have made sample data available at the 4TU.ResearchData repository (Benedict and Weijenborg2024; Gaasbeek and Van der Ent2024) and added functionality to automatically download these datasets. This could easily be extended to include more reference cases, so we encourage users of WAM2layers to make their cases available in a similar manner. To wrap up the quickstart, WAM2layers includes a quick-analysis module to quickly inspect the input or output of an experiment, but we recommend that users employ more elaborate case-specific code to produce publication-quality figures.

Apart from technical contributions, we have invested in building a welcoming community on GitHub (https://github.com/WAM2layers/WAM2layers/, last access: 14 July 2025). All development happens openly, and we encourage users to engage and contribute through opening issues or pull requests or through the discussion forum where they can ask questions, showcase their results, and share codes. The documentation includes community guidelines and instructions for developing the model as well as an explanation of the collaborative development process. With respect to the developer experience, we have formulated guidelines for code formatting and have set up automated tests to ensure the continuity of the model code. It is verified that results for simple test cases do not change upon making changes to the model code, unless this is expected based on the changes. This strategy is known as “regression testing” (e.g.  Pezze2008), and it can provide a lot of confidence for (new) developers.

7 Discussion

Since its inception, the Water Accounting Model (Van der Ent et al.2010) has evolved from a loose collection of scripts to calculate moisture recycling characteristics into a widely used atmospheric-moisture-tracking software with a broad range of applications (Fig. 2). This paper documents WAM2layers v3 (Van der Ent et al.2024a), which forms a solid basis for future experiments and further development. Here, we discuss some key strengths as well as aspects where we think the model could still be improved.

7.1 Important simplifications

In WAM2layers, the evolution of (tagged) moisture is completely governed by precipitation, evaporation, and redistribution through advection, vertical mixing, and (artificially) numerical diffusion. Horizontal mixing, microphysics, and other subgrid processes are omitted. These simplifications, partly born of necessity, introduce inaccuracies that users of WAM2layers should beware of. Below, we discuss these simplifications in more detail and how future work may test the importance of these simplifications and potentially improve on them.

Historically, WAM2layers has always operated on the same grid as the input data, i.e. reanalysis and climate model output that is typically retrieved at an equirectangular latitude–longitude grid. As shown in Sect. 4, this limits its applicability over polar areas. While alternatives exist, assumptions about the current grid structure are deeply woven into the implementation; thus, changing this structure is not trivial, especially as we foster continuity of the codebase to keep existing users on board and avoid alienation. Nonetheless, WAM2layers v3 includes substantial efforts to improve the code structure, isolating the solver and related numerical aspects from other parts of the code that deal with things like I/O and orchestration. This enables experimentation with different solvers, which could eventually enable a different core design. For research questions that focus on moisture transport over polar areas (but not globally), a more feasible workaround could be to remap the input data to another equirectangular grid that is optimized for polar areas. This would keep the existing assumptions intact, although it would still require various code changes that are beyond the scope of this paper.

The donor cell scheme employed in WAM2layers (i.e. the “upstream” or “Godunov” scheme) has some favourable properties: it is simple, intuitive, conservative, and numerically stable. Above all, it does not permit overshoot or undershoot, which is a highly suitable property for a moisture-tracking model considering the absolute minimum of 0 (tagged) moisture. On the downside, this scheme is known to be numerically diffusive (Hourdin and Armengaud1999), and this artificial diffusion may even exceed the true physical diffusion, which is undesirable (Cushman-Roisin and Beckers2011). It limits WAM2layers' usability at high latitudes and may lead to an overestimation of far away sources. Ideally, one would want to suppress or eliminate numerical diffusion altogether (or at least be able to quantify it). One option could be to explore the use of alternative solvers, such as flux limiters (Hourdin and Armengaud1999; Cushman-Roisin and Beckers2011) or MPDATA (Smolarkiewicz and Margolin1998). WAM2layers v3 isolates the numerical solver such that is becomes easier to experiment with such alternatives. However, we emphasize that any changes in this regard should be carefully evaluated to ensure that their benefits outweigh the existing advantages.

WAM2layers uses water vapour as a proxy for total water, and it does not represent microphysical processes associated with phase changes or the transport of ice and liquid water. This is a common limitation in offline moisture-tracking models (e.g.  Cheng and Lu2023; Dey and Döös2020; Dirmeyer and Brubaker1999; Holgate et al.2020; Keune et al.2022; Sodemann et al.2008; Tuinenburg and Staal2020). As discussed in Sect. 3, we can sometimes partly correct the states and horizontal fluxes for the presence of ice and liquid water via the application of Eq. (19). However, condensation and re-evaporation may be most relevant in the vicinity of precipitation, in which case they could bring about a strong vertical exchange of (tagged) moisture, e.g. condensating in the upper layer and re-evaporating in the lower layer. This is one of the reasons why it is important to realize that the vertical transport term, which is calculated as a closure term in WAM2layers, effectively acts as a generic redistribution term, incorporating the effects of unresolved processes, such as microphysics and (turbulent) diffusion, and even compensating for discontinuities in the input data or errors in the horizontal fluxes.

Finally, a note on the reduction to two layers. Van der Ent et al. (2013) found that a two-layer model was both necessary and sufficient to represent large-scale atmospheric moisture transport. The two-layer model simplifies the computation of the vertical moisture flux and the partitioning of precipitation between the layers of the model. However, it also leads to a two-step procedure in which all 3D fields first need to be aggregated onto the new grid. Generalizing to N layers (where N corresponds to the number of levels in the input data) could potentially simplify the code. However, it remains to be seen whether this would actually improve the results, as a correct representation of all vertical exchange processes would remain challenging and should be thoroughly tested.

7.2 A note on performance

WAM2layers v3 is written in Python. This programming language is very popular among (atmospheric) scientists, which makes it easy to use. Moreover, Python's simple syntax makes it easy to understand the models internal workings, which we deem key from a transparency point of view. However, Python has somewhat of a poor reputation when it comes to computational performance. Evidently, the use of numerical computing libraries such as NumPy alleviates this to a certain extent (Harris et al.2020; Langtangen and Cai2008). Further performance gains could potentially be achieved by using dedicated libraries for stencil computations or by porting some of the performance-critical code to more performant languages. A potential downside of using experimental third-party libraries or mixing languages is that it puts a bigger constraint on the maintainability of the software. Therefore, treading this path remains a balancing act, and we tend to favour usability and code transparency over performance.

7.3 Future developments

Software development is planned to continue after the WAM2layers release associated with this paper (version 3.1.0 at the time of writing). Future developments notably aim to bring back some old features that have not yet been ported to version 3, such calculations for moisture recycling within a single grid cell for all grid cells of the domain at once (e.g.  Van der Ent and Savenije2011; De Hertog et al.2024), time tracking (e.g.  Van der Ent et al.2014; Van der Ent and Tuinenburg2017), distance tracking (e.g.  Guo et al.2019, 2020), and advanced spline interpolation of the humidity profile in the case of limited vertical information (Benedict et al.2020). We are planning to reincorporate these features in a backwards-compatible manner. Similarly, we would also like to port preprocessing codes for other reanalyses datasets (e.g.  Keys et al.2024; Li et al.2022) as well as climate model output with which WAM2layers has been used in the past (e.g.  Bosmans et al.2020; De Hertog et al.2024; Findell et al.2019; Guo et al.2020) to future model releases.

In developing WAM2layers v3, we have made substantial efforts to generalize the derivation presented here and to isolate the implementation of the numerical scheme in the code. We believe that this work, together with the changes made for WAM2layers v3, forms a good basis for modelling exercises such as implementing alternative solvers or further increasing the performance.

Concurrently to writing this article, we are co-organizing a coordinated moisture-tracking intercomparison study (Benedict et al.2024) to gain an understanding of the uncertainties in different tracking methods. We expect that these community activities will help to (1) shed a better light on the strengths and weaknesses of WAM2layers and other models and (2) gain confidence in moisture tracking results in general.

8 Conclusions

To conclude, this paper fills an important gap in the documentation of a widely used atmospheric-moisture-tracking model. We have provided an updated description of the model that facilitates comparison with other models and literature and have pointed out some important assumptions, which facilitates the interpretation of past and future results obtained with WAM2layers.

This paper and the associated v3 release mark a new milestone in the evolution of WAM2layers. While the core tracking principle and assumptions remain unchanged, the code is now much more efficient and modular, making it ready for future developments. We have pointed out several directions for future work, including a more thorough investigation of the numerical aspects and opportunities for improved model validation in collaboration with the moisture-tracking community.

With the incorporation of various best practices, as outlined in the practical guide to software management plans (Martinez-Ortiz et al.2023), and engagement with the wider community, we have made important steps to carry out FAIR (Barker et al.2022) and open, collaborative research software development, and we are committed to improving this further into the future. We hope that this approach will inspire others to follow suit, as we believe that transparency and collaboration are crucial for the credibility of prosperity of the scientific field.

Code availability

WAM2layers (Van der Ent et al.2024a) is available on PyPI at https://pypi.org/project/wam2layers/ (last access: 14 July 2025). The source code is distributed under a permissive Apache License 2.0 and is available on GitHub at https://github.com/WAM2layers/WAM2layers (last access: 14 July 2025). Documentation is available from https://wam2layers.readthedocs.io/ (last access: 14 July 2025) and includes a description to reproduce the example cases. WAM2layers can be cited via https://doi.org/10.5281/zenodo.7010594 (Van der Ent et al.2024a).

Data availability

The data for the example cases are hosted on the 4TU.ResearchData repository: https://doi.org/10.4121/f9572240-f179-4338-9e1b-82c5598529e2.v1 (Benedict and Weijenborg2024) and https://doi.org/10.4121/bbe10a2a-39dc-4098-a69f-0f677d06ecdd.v2 (Gaasbeek and Van der Ent2024). The data on WAM2layers literature underlying Fig. 2 are provided in the Supplement.

Supplement

The supplement related to this article is available online at https://doi.org/10.5194/gmd-18-4335-2025-supplement.

Author contributions

PK led the development of WAM2layers v3 and the writing of the manuscript. IB, CW, and RvdE provided input and feedback on the code and the manuscript. IB lead the project within which most of the development of WAM2layers v3 was achieved. RvdE developed the original version of WAM2layers and performed the literature analysis of WAM2layers papers.

Competing interests

The contact author has declared that none of the authors has any competing interests.

Disclaimer

Publisher’s note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. While Copernicus Publications makes every effort to include appropriate place names, the final responsibility lies with the authors.

Acknowledgements

We thank Yang Liu, Bart Schilperoort, and Vincent de Feiter for also contributing significantly to the code for WAM2layers v3. Furthermore, we thank all other contributors to WAM2layers and its user community on GitHub.

Financial support

This research has been supported by the Netherlands eScience Center (grant no. 027.021.S07), the Nederlandse Organisatie voor Wetenschappelijk Onderzoek (grant no. OSF23.1.029), and the Technische Universiteit Delft (Mainstreaming Open Science Fund).

Review statement

This paper was edited by Emmanouil Flaounas and reviewed by Chi Zhang and one anonymous referee.

References

Al Hasan, F., Link, A., and Van der Ent, R. J.: The Effect of Water Vapor Originating from Land on the 2018 Drought Development in Europe, Water, 13, 2856, https://doi.org/10.3390/w13202856, 2021. a

Ampuero, A., Stríkis, N. M., Apaéstegui, J., Vuille, M., Novello, V. F., Espinoza, J. C., Cruz, F. W., Vonhof, H., Mayta, V. C., Martins, V. T. S., Cordeiro, R. C., Azevedo, V., and Sifeddine, A.: The Forest Effects on the Isotopic Composition of Rainfall in the Northwestern Amazon Basin, J. Geophys. Res.-Atmos., 125, e2019JD031445, https://doi.org/10.1029/2019JD031445, 2020. a

Barker, M., Chue Hong, N. P., Katz, D. S., Lamprecht, A.-L., Martinez-Ortiz, C., Psomopoulos, F., Harrow, J., Castro, L. J., Gruenpeter, M., Martinez, P. A., and Honeyman, T.: Introducing the FAIR Principles for research software, Scientific Data, 9, 622, https://doi.org/10.1038/s41597-022-01710-x, 2022. a, b

Bedoya‐Soto, J. M. and Poveda, G.: Moisture Recycling in the Colombian Andes, Water Resour. Res., 60, e2022WR033601, https://doi.org/10.1029/2022WR033601, 2024. a

Benedict, I., Van Heerwaarden, C. C., Van Der Ent, R. J., Weerts, A. H., and Hazeleger, W.: Decline in terrestrial moisture sources of the mississippi river basin in a future climate, J. Hydrometeorol., 21, 299–316, https://doi.org/10.1175/JHM-D-19-0094.1, 2020. a, b

Benedict, I., van Heerwaarden, C., van der Linden, E., Weerts, A., and Hazeleger, W.: Anomalous moisture sources of the Rhine basin during the extremely dry summers of 2003 and 2018, Weather and Climate Extremes, 31, 100302, https://doi.org/10.1016/j.wace.2020.100302, 2021. a

Benedict, I., Weijenborg, C., van der Ent, R., Keune, J., Koren, G., and Kalverla, P.: A moisture tracking intercomparison study – Addressing the uncertainty in modelling the origins of precipitation, EMS Annual Meeting 2024, Barcelona, Spain, 1–6 Sep 2024, EMS2024-1040, https://doi.org/10.5194/ems2024-1040, 2024. a, b, c

Benedict, I. B. and Weijenborg, C.: ERA5 data West Europe 2021 July for WAM2layers, 4TU.ResearchData [data set], https://doi.org/10.4121/f9572240-f179-4338-9e1b-82c5598529e2.v1, 2024. a, b, c

Berger, M., Van Der Ent, R., Eisner, S., Bach, V., and Finkbeiner, M.: Water Accounting and Vulnerability Evaluation (WAVE): Considering Atmospheric Evaporation Recycling and the Risk of Freshwater Depletion in Water Footprinting, Environ. Sci. Technol., 48, 4521–4528, https://doi.org/10.1021/es404994t, 2014. a

Berger, M., Eisner, S., Van Der Ent, R., Flörke, M., Link, A., Poligkeit, J., Bach, V., and Finkbeiner, M.: Enhancing the Water Accounting and Vulnerability Evaluation Model: WAVE+, Environ. Sci. Technol., 52, 10757–10766, https://doi.org/10.1021/acs.est.7b05164, 2018. a

Bosmans, J., Van der Ent, R., Haarsma, R., Drijfhout, S., and Hilgen, F.: Precession-and obliquity-induced changes in moisture sources for enhanced precipitation over the Mediterranean Sea, Paleoceanography and Paleoclimatology, 35, e2019PA003655, https://doi.org/10.1029/2019PA003655, 2020. a, b

Burde, G. and Zangvil, A.: The estimation of regional precipitation recycling. Part I: Review of recycling models, J. Climate, 14, 2497–2508, 2001. a

Carr, T. and Ummenhofer, C. C.: Impact of Atmospheric Circulation Variability on U.S. Midwest Moisture Sources, J. Climate, 37, 59–75, https://doi.org/10.1175/JCLI-D-23-0178.1, 2024. a

Carver, R. W, and Merose, A.: ARCO-ERA5: An Analysis-Ready Cloud-Optimized Reanalysis Dataset. 22nd Conf. on AI for Env. Science, Denver, CO, Amer. Meteo. Soc, 4A.1, 8–12 January 2023, https://ams.confex.com/ams/103ANNUAL/meetingapp.cgi/Paper/415842 (last access: 14 July 2025), 2023. a

Chen, J., Li, Y., Xiong, B., Wang, Y., Zhou, S., and Huang, Y.: Comparison of moisture sources of summer precipitation in 1998 and 2020 in the middle and lower reaches of Yangtze River basin, Int. J. Climatol., 43, 3493–3505, https://doi.org/10.1002/joc.8040, 2023. a

Cheng, T. F. and Lu, M.: Global Lagrangian Tracking of Continental Precipitation Recycling, Footprints, and Cascades, J. Climate, 36, 1923–1941, https://doi.org/10.1175/JCLI-D-22-0185.1, 2023. a

Cloux, S., Garaboa-Paz, D., Insua-Costa, D., Miguez-Macho, G., and Pérez-Muñuzuri, V.: Extreme precipitation events in the Mediterranean area: contrasting two different models for moisture source identification, Hydrol. Earth Syst. Sci., 25, 6465–6477, https://doi.org/10.5194/hess-25-6465-2021, 2021. a

Cluett, A. A., Thomas, E. K., Evans, S. M., and Keys, P. W.: Seasonal Variations in Moisture Origin Explain Spatial Contrast in Precipitation Isotope Seasonality on Coastal Western Greenland, J. Geophys. Res.-Atmos., 126, e2020JD033543, https://doi.org/10.1029/2020JD033543, 2021. a

Crespo-Otero, A., Insua-Costa, D., Hernández-García, E., López, C., and Míguez-Macho, G.: Simple physics-based adjustments reconcile the results of Eulerian and Lagrangian techniques for moisture tracking, Earth Syst. Dynam. Discuss. [preprint], https://doi.org/10.5194/esd-2024-18, in review, 2024. a

Cui, J., Lian, X., Huntingford, C., Gimeno, L., Wang, T., Ding, J., He, M., Xu, H., Chen, A., Gentine, P., and Piao, S.: Global water availability boosted by vegetation-driven changes in atmospheric moisture transport, Nat. Geosci., 15, 982–988, https://doi.org/10.1038/s41561-022-01061-7, 2022. a

Cushman-Roisin, B. and Beckers, J.-M.: Introduction to geophysical fluid dynamics: physical and numerical aspects, Academic press, 2 edn., ISBN 978-0-12-088759-0, 2011. a, b, c, d

De Hertog, S. J., Lopez-Fabara, C. E., van der Ent, R., Keune, J., Miralles, D. G., Portmann, R., Schemm, S., Havermann, F., Guo, S., Luo, F., Manola, I., Lejeune, Q., Pongratz, J., Schleussner, C.-F., Seneviratne, S. I., and Thiery, W.: Effects of idealized land cover and land management changes on the atmospheric water cycle, Earth Syst. Dynam., 15, 265–291, https://doi.org/10.5194/esd-15-265-2024, 2024. a, b, c

Dey, D. and Döös, K.: Atmospheric Freshwater Transport From the Atlantic to the Pacific Ocean: A Lagrangian Analysis, Geophys. Res. Lett., 47, e2019GL086176, https://doi.org/10.1029/2019GL086176, 2020. a

Dirmeyer, P. A. and Brubaker, K. L.: Contrasting evaporative moisture sources during the drought of 1988 and the flood of 1993, J. Geophys. Res., 104, 19383–19397, https://doi.org/10.1029/1999JD900222, 1999. a, b

Dominguez, F., Kumar, P., Liang, X.-Z., and Ting, M.: Impact of atmospheric moisture storage on precipitation recycling, J. Climate, 19, 1513–1530, 2006. a

Dominguez, F., Hu, H., and Martinez, J.: Two-layer dynamic recycling model (2L-DRM): learning from moisture tracking models of different complexity, J. Hydrometeorol., 21, 3–16, 2020. a

Duerinck, H., Van der Ent, R., van de Giesen, N., Schoups, G., Babovic, V., and Yeh, P.-F.: Observed soil moisture-precipitation feedback in Illinois: A systematic analysis over different scales, J. Hydrometeorol., 17, 1645–1660, https://doi.org/10.1175/JHM-D-15-0032.1, 2016. a

ECMWF: IFS Documentation CY41R2 – Part III: Dynamics and Numerical Procedures, 31 pp., 3, ECMWF, https://doi.org/10.21957/83wouv80, 2016. a, b

Enciso, A. M., Baquero, O. L., Escobar-Carbonari, D., Tapasco, J., and Cerón, W. L.: Variability of Precipitation Recycling and Moisture Sources over the Colombian Pacific Region: A Precipitationshed Approach, Atmosphere, 13, 1202, https://doi.org/10.3390/atmos13081202, 2022. a

Findell, K. L., Keys, P. W., Van Der Ent, R. J., Lintner, B. R., Berg, A., and Krasting, J. P.: Rising temperatures increase importance of oceanic evaporation as a source for continental precipitation, J. Climate, 32, 7713–7726, https://doi.org/10.1175/JCLI-D-19-0145.1, 2019. a, b

Franco-Díaz, A., Klingaman, N. P., Turner, A. G., Dong, B., and Guo, L.: Effect of global and regional SST biases on the East Asian Summer Monsoon in the MetUM GA7 and GC3 configurations, Clim. Dynam., 62, 1535–1553, https://doi.org/10.1007/s00382-023-06954-w, 2024. a

Gaasbeek, T. and Van der Ent, R. J.: ERA5 data West Africa 1998 July and August for WAM2layers, 4TU.ResearchData [data set], https://doi.org/10.4121/bbe10a2a-39dc-4098-a69f-0f677d06ecdd.v2, 2024. a, b, c

Gimeno, L., Vázquez, M., Eiras-Barca, J., Sorí, R., Stojanovic, M., Algarra, I., Nieto, R., Ramos, A. M., Durán-Quesada, A. M., and Dominguez, F.: Recent progress on the sources of continental precipitation as revealed by moisture transport analysis, Earth-Sci. Rev., 201, 103070, https://doi.org/10.1016/j.earscirev.2019.103070, 2020. a, b

Goessling, H. F. and Reick, C. H.: On the “well-mixed” assumption and numerical 2-D tracing of atmospheric moisture, Atmos. Chem. Phys., 13, 5567–5585, https://doi.org/10.5194/acp-13-5567-2013, 2013. a

Guo, L., Van Der Ent, R., Klingaman, N., Demory, M.-E., Vidale, P., Turner, A., Stephan, C., and Chevuturi, A.: Moisture sources for East Asian precipitation: Mean seasonal cycle and interannual variability, J. Hydrometeorol., 20, 657–672, https://doi.org/10.1175/JHM-D-18-0188.1, 2019. a, b

Guo, L., van der Ent, R. J., Klingaman, N. P., Demory, M.-E., Vidale, P. L., Turner, A. G., Stephan, C. C., and Chevuturi, A.: Effects of horizontal resolution and air–sea coupling on simulated moisture source for East Asian precipitation in MetUM GA6/GC2, Geosci. Model Dev., 13, 6011–6028, https://doi.org/10.5194/gmd-13-6011-2020, 2020. a, b, c

Harris, C. R., Millman, K. J. Van der Walt, S. J., Gommers, R., Virtanen, P., Cournapeau, D., Wieser, E., Taylor, J., Berg, S., Smith, N. J., Kern, R., Picus, M., Hoyer, S., Van Kerkwijk, M. H., Brett, M., Haldane, A., Fernández del Río, J., Wiebe, W., Peterson, P., Gérard-Marchant, P., Sheppard, K., Reddy, T., Weckesser, W., Abbasi, H., Gohlke C., and Oliphant, T. E.: Array programming with NumPy, Nature, 585, 357–362, 2020. a

Hersbach, H., Bell, B., Berrisford, P., Hirahara, S., Horányi, A., Muñoz-Sabater, J., Nicolas, J., Peubey, C., Radu, R., Schepers, D., Simmons, A., Soci, C., Abdalla, S., Abellan, X., Balsamo, G., Bechtold, P., Biavati, G., Bidlot, J., Bonavita, M., De Chiara, G., Dahlgren, P., Dee, D., Diamantakis, M., Dragani, R., Flemming, J., Forbes, R., Fuentes, M., Geer, A., Haimberger, L., Healy, S., Hogan, R. J., Hólm, E., Janisková, M., Keeley, S., Laloyaux, P., Lopez, P., Lupu, C., Radnoti, G., de Rosnay, P., Rozum, I., Vamborg, F., Villaume, S., and Thépaut, J.-N.: The ERA5 global reanalysis, Q. J. Roy. Meteor. Soc., 146, 1999–2049, 2020. a, b

Holgate, C. M., Evans, J. P., van Dijk, A. I. J. M., Pitman, A. J., and Di Virgilio, G.: Australian Precipitation Recycling and Evaporative Source Regions, J. Climate, 33, 8721–8735, https://doi.org/10.1175/JCLI-D-19-0926.1, 2020. a

Hourdin, F. and Armengaud, A.: The use of finite-volume methods for atmospheric advection of trace species. Part I: Test of various formulations in a general circulation model, Mon. Weather Rev., 127, 822–837, 1999. a, b

Insua-Costa, D., Senande-Rivera, M., Llasat, M. C., and Miguez-Macho, G.: The central role of forests in the 2021 European floods, Environ. Res. Lett., 17, 064053, https://doi.org/10.1088/1748-9326/ac6f6b, 2022. a, b

Juckes, M., Taylor, K. E., Durack, P. J., Lawrence, B., Mizielinski, M. S., Pamment, A., Peterschmitt, J.-Y., Rixen, M., and Sénési, S.: The CMIP6 Data Request (DREQ, version 01.00.31), Geosci. Model Dev., 13, 201–224, https://doi.org/10.5194/gmd-13-201-2020, 2020. a

Keune, J., Schumacher, D. L., and Miralles, D. G.: A unified framework to estimate the origins of atmospheric moisture and heat using Lagrangian models, Geosci. Model Dev., 15, 1875–1898, https://doi.org/10.5194/gmd-15-1875-2022, 2022. a

Keys, P. W. and Wang-Erlandsson, L.: On the social dynamics of moisture recycling, Earth Syst. Dynam., 9, 829–847, https://doi.org/10.5194/esd-9-829-2018, 2018. a

Keys, P., Warrier, R., Van Der Ent, R., Galvin, K., and Boone, R.: Analysis of Kenya’s Atmospheric Moisture Sources and Sinks, Earth Interact., 26, 139–150, https://doi.org/10.1175/EI-D-21-0016.1, 2022. a

Keys, P. W., van der Ent, R. J., Gordon, L. J., Hoff, H., Nikoli, R., and Savenije, H. H. G.: Analyzing precipitationsheds to understand the vulnerability of rainfall dependent regions, Biogeosciences, 9, 733–746, https://doi.org/10.5194/bg-9-733-2012, 2012. a

Keys, P. W., Barnes, E. A., van der Ent, R. J., and Gordon, L. J.: Variability of moisture recycling using a precipitationshed framework, Hydrol. Earth Syst. Sci., 18, 3937–3950, https://doi.org/10.5194/hess-18-3937-2014, 2014. a

Keys, P. W., Wang-Erlandsson, L., and Gordon, L. J.: Revealing Invisible Water: Moisture Recycling as an Ecosystem Service, PLOS ONE, 11, e0151993, https://doi.org/10.1371/journal.pone.0151993, 2016. a

Keys, P. W., Wang-Erlandsson, L., Gordon, L. J., Galaz, V., and Ebbesson, J.: Approaching moisture recycling governance, Global Environ. Chang., 45, 15–23, https://doi.org/10.1016/j.gloenvcha.2017.04.007, 2017. a

Keys, P. W., Wang-Erlandsson, L., and Gordon, L. J.: Megacity precipitationsheds reveal tele-connected water security challenges, PLOS ONE, 13, e0194311, https://doi.org/10.1371/journal.pone.0194311, 2018. a

Keys, P. W., Collins, P. M., Chaplin-Kramer, R., and Wang-Erlandsson, L.: Atmospheric water recycling an essential feature of critical natural asset stewardship, Global Sustainability, 7, 1–12, https://doi.org/10.1017/sus.2023.24, 2024. a, b

Knoche, H. R. and Kunstmann, H.: Tracking atmospheric water pathways by direct evaporation tagging: A case study for West Africa, J. Geophys. Res.-Atmos., 118, 12345–12358, https://doi.org/10.1002/2013JD019976, 2013. a

Kreienkamp, F., Philip, S. Y., Tradowsky, J. S., Kew, S. F., Lorenz, P., Arrighi, J., Belleflamme, A., Bettmann, T., Caluwaerts, S., Chan, S. C., and Ciavarella, A.: Rapid attribution of heavy rainfall events leading to the severe flooding in Western Europe during July 2021, World Weather Atribution, 2021. a

Langtangen, H. P. and Cai, X.: On the efficiency of Python for high-performance computing: A case study involving stencil updates for partial differential equations, in: Modeling, Simulation and Optimization of Complex Processes: Proceedings of the Third International Conference on High Performance Scientific Computing, Hanoi, Vietnam, 6–10 March 2006, Springer, 337–357, https://doi.org/10.1007/978-3-540-79409-7_23, 2008. a

Li, J., Liu, D., Wang, T., Li, Y., Wang, S., Yang, Y., Wang, X., Guo, H., Peng, S., Ding, J., Shen, M., and Wang, L.: Grassland restoration reduces water yield in the headstream region of Yangtze River, Sci. Rep., 7, 2162, https://doi.org/10.1038/s41598-017-02413-9, 2017. a

Li, Y., Wang, C., Peng, H., Xiao, S., and Yan, D.: Contribution of moisture sources to precipitation changes in the Three Gorges Reservoir Region, Hydrol. Earth Syst. Sci., 25, 4759–4772, https://doi.org/10.5194/hess-25-4759-2021, 2021. a

Li, Y., Wang, C., Huang, R., Yan, D., Peng, H., and Xiao, S.: Spatial distribution of oceanic moisture contributions to precipitation over the Tibetan Plateau, Hydrol. Earth Syst. Sci., 26, 6413–6426, https://doi.org/10.5194/hess-26-6413-2022, 2022. a, b

Li, Y., Wang, C., Tang, Q., Yao, S., Sun, B., Peng, H., and Xiao, S.: Unraveling the discrepancies between Eulerian and Lagrangian moisture tracking models in monsoon- and westerly-dominated basins of the Tibetan Plateau, Atmos. Chem. Phys., 24, 10741–10758, https://doi.org/10.5194/acp-24-10741-2024, 2024. a, b

Link, A., van der Ent, R., Berger, M., Eisner, S., and Finkbeiner, M.: The fate of land evaporation – a global dataset, Earth Syst. Sci. Data, 12, 1897–1912, https://doi.org/10.5194/essd-12-1897-2020, 2020. a

Link, A., Berger, M., Van Der Ent, R., Eisner, S., and Finkbeiner, M.: Considering the Fate of Evaporated Water Across Basin Boundaries – Implications for Water Footprinting, Environ. Sci. Technol., 55, 10231–10242, https://doi.org/10.1021/acs.est.0c04526, 2021. a

Liu, X., Guo, C., Zhang, J., Liu, Y., Xiao, M., Wu, Y., Li, B., and Zhao, T.: Moisture sources of precipitation over the Pearl River Basin in South China, Int. J. Climatol., 44, 2160–2173, https://doi.org/10.1002/joc.8447, 2024. a

Liu, Y., Zhang, C., Tang, Q., Hosseini-Moghari, S.-M., Haile, G. G., Li, L., Li, W., Yang, K., Van der Ent, R. J., and Chen, D.: Moisture source variations for summer rainfall in different intensity classes over Huaihe River Valley, China, Clim. Dynam., 57, 1121–1133, https://doi.org/10.1007/s00382-021-05762-4, 2021. a

Liu, Y., Garcia, M., Zhang, C., and Tang, Q.: Recent decrease in summer precipitation over the Iberian Peninsula closely links to reduction in local moisture recycling, Hydrol. Earth Syst. Sci., 26, 1925–1936, https://doi.org/10.5194/hess-26-1925-2022, 2022. a

Lobos-Roco, F., Hartogensis, O., Suárez, F., Huerta-Viso, A., Benedict, I., de la Fuente, A., and Vilà-Guerau de Arellano, J.: Multi-scale temporal analysis of evaporation on a saline lake in the Atacama Desert, Hydrol. Earth Syst. Sci., 26, 3709–3729, https://doi.org/10.5194/hess-26-3709-2022, 2022. a

Martinez-Ortiz, C., Martinez Lavanchy, P., Sesink, L., Olivier, B. G., Meakin, J., de Jong, M., and Cruz, M.: Practical guide to Software Management Plans, Zenodo, https://doi.org/10.5281/zenodo.7589725, 2023. a, b

Miralles, D. G., Nieto, R., McDowell, N. G., Dorigo, W. A., Verhoest, N. E., Liu, Y. Y., Teuling, A. J., Dolman, A. J., Good, S. P., and Gimeno, L.: Contribution of water-limited ecoregions to their own supply of rainfall, Environ. Res. Lett., 11, 124007, https://doi.org/10.1088/1748-9326/11/12/124007, 2016. a

Mohr, S., Ehret, U., Kunz, M., Ludwig, P., Caldas-Alvarez, A., Daniell, J. E., Ehmele, F., Feldmann, H., Franca, M. J., Gattke, C., Hundhausen, M., Knippertz, P., Küpfer, K., Mühr, B., Pinto, J. G., Quinting, J., Schäfer, A. M., Scheibel, M., Seidel, F., and Wisotzky, C.: A multi-disciplinary analysis of the exceptional flood event of July 2021 in central Europe – Part 1: Event description and analysis, Nat. Hazards Earth Syst. Sci., 23, 525–551, https://doi.org/10.5194/nhess-23-525-2023, 2023. a

Mu, Y., Biggs, T. W., and De Sales, F.: Forests Mitigate Drought in an Agricultural Region of the Brazilian Amazon: Atmospheric Moisture Tracking to Identify Critical Source Areas, Geophys. Res. Lett., 48, e2020GL091380, https://doi.org/10.1029/2020GL091380, 2021. a

Mu, Y., Biggs, T. W., and Jones, C.: Importance in Shifting Circulation Patterns for Dry Season Moisture Sources in the Brazilian Amazon, Geophys. Res. Lett., 50, e2023GL103167, https://doi.org/10.1029/2023GL103167, 2023. a

Pezze, M.: Software testing and analysis: process, principles, and techniques, John Wiley & Sons, ISBN 978-0-471-45593-6, 2008. a

Posada-Marín, J., Salazar, J., Rulli, M. C., Wang-Erlandsson, L., and Jaramillo, F.: Upwind moisture supply increases risk to water security, Nature Water, 2, 875–888, https://doi.org/10.1038/s44221-024-00291-w, 2024. a

Posada‐Marín, J. A., Arias, P. A., Jaramillo, F., and Salazar, J. F.: Global Impacts of El Niño on Terrestrial Moisture Recycling, Geophys. Res. Lett., 50, e2023GL103147, https://doi.org/10.1029/2023GL103147, 2023. a

Pranindita, A., Wang-Erlandsson, L., Fetzer, I., and Teuling, A.: Moisture recycling and the potential role of forests as moisture source during European heatwaves, Clim. Dynam., 58, 609–624, https://doi.org/10.1007/s00382-021-05921-7, 2022. a

Shi, K., Li, T., Zhao, J., Su, Y., Gao, J., and Li, J.: Atmospheric recycling of agricultural evapotranspiration in the Tarim Basin, Front. Earth Sci., 10, 950299, https://doi.org/10.3389/feart.2022.950299, 2022. a

Smolarkiewicz, P. K. and Margolin, L. G.: MPDATA: A finite-difference solver for geophysical flows, J. Comput. Phys., 140, 459–480, 1998. a

Sodemann, H., Schwierz, C., and Wernli, H.: Interannual variability of Greenland winter precipitation sources: Lagrangian moisture diagnostic and North Atlantic Oscillation influence, J. Geophys. Res.-Atmos., 113, D03107, https://doi.org/10.1029/2007jd008503, 2008. a

Staal, A. and Koren, G.: Comment on “The central role of forests in the 2021 European floods”, Environ. Res. Lett., 18, 048002, https://doi.org/10.1088/1748-9326/acc260, 2023. a, b

Te Wierik, S. A., Cammeraat, E. L. H., Gupta, J., and Artzy‐Randrup, Y. A.: Reviewing the Impact of Land Use and Land‐Use Change on Moisture Recycling and Precipitation Patterns, Water Resour. Res., 57, e2020WR029234, https://doi.org/10.1029/2020WR029234, 2021. a

Theeuwen, J. J. E., Staal, A., Tuinenburg, O. A., Hamelers, B. V. M., and Dekker, S. C.: Local moisture recycling across the globe, Hydrol. Earth Syst. Sci., 27, 1457–1476, https://doi.org/10.5194/hess-27-1457-2023, 2023. a

Trenberth, K. E. and Guillemot, C. J.: Evaluation of the global atmospheric moisture budget as seen from analyses, J. Climate, 8, 2255–2272, 1995. a

Tuinenburg, O. A. and Staal, A.: Tracking the global flows of atmospheric moisture and associated uncertainties, Hydrol. Earth Syst. Sci., 24, 2419–2435, https://doi.org/10.5194/hess-24-2419-2020, 2020. a

van der Ent, R. J. and Savenije, H. H. G.: Length and time scales of atmospheric moisture recycling, Atmos. Chem. Phys., 11, 1853–1863, https://doi.org/10.5194/acp-11-1853-2011, 2011. a, b

Van der Ent, R. J. and Savenije, H. H.: Oceanic sources of continental precipitation and the correlation with sea surface temperature, Water Resour. Res., 49, 3993–4004, https://doi.org/10.1002/wrcr.20296, 2013. a

van der Ent, R. J. and Tuinenburg, O. A.: The residence time of water in the atmosphere revisited, Hydrol. Earth Syst. Sci., 21, 779–790, https://doi.org/10.5194/hess-21-779-2017, 2017. a, b, c

Van der Ent, R. J., Savenije, H. H., Schaefli, B., and Steele-Dunne, S. C.: Origin and fate of atmospheric moisture over continents, Water Resour. Res., 46, W09525, https://doi.org/10.1029/2010WR009127, 2010. a, b, c

Van der Ent, R. J., Coenders-Gerrits, A. M. J., Nikoli, R., and Savenije, H. H.: The importance of proper hydrology in the forest cover-water yield debate: commentary on Ellison et al. (2012), Glob. Change Biol., 18, 806–820, https://doi.org/10.1111/j.1365-2486.2012.02703.x, 2012. a

van der Ent, R. J., Tuinenburg, O. A., Knoche, H.-R., Kunstmann, H., and Savenije, H. H. G.: Should we use a simple or complex model for moisture recycling and atmospheric moisture tracking?, Hydrol. Earth Syst. Sci., 17, 4869–4884, https://doi.org/10.5194/hess-17-4869-2013, 2013. a, b, c, d, e, f

van der Ent, R. J., Wang-Erlandsson, L., Keys, P. W., and Savenije, H. H. G.: Contrasting roles of interception and transpiration in the hydrological cycle – Part 2: Moisture recycling, Earth Syst. Dynam., 5, 471–489, https://doi.org/10.5194/esd-5-471-2014, 2014. a, b, c, d, e, f, g

Van der Ent, R. J., Benedict, I. B., Weijenborg, C., Schilperoort, B., Liu, Y., Barnes, E., Cömert, T., Niek, v. d. K., Guo, L., de Feiter, V., and Kalverla, P.: WAM2layers, Zenodo [code], https://doi.org/10.5281/zenodo.7010594, 2024a. a, b, c, d

Van der Ent, R. J., Benedict, I. B., Weijenborg, C., Schilperoort, B., Liu, Y., Barnes, E., Cömert, T., van de Koppel, N., Guo, L., de Feiter, V., and Kalverla, P.: WAM2layers Version v3.1.0, Zenodo [code], https://doi.org/10.5281/zenodo.12206708, 2024b. a

Wang-Erlandsson, L., Fetzer, I., Keys, P. W., van der Ent, R. J., Savenije, H. H. G., and Gordon, L. J.: Remote land use impacts on river flows through atmospheric teleconnections, Hydrol. Earth Syst. Sci., 22, 4311–4328, https://doi.org/10.5194/hess-22-4311-2018, 2018. a

Weng, W., Costa, L., Lüdeke, M. K., and Zemp, D. C.: Aerial river management by smart cross-border reforestation, Land Use Policy, 84, 105–113, https://doi.org/10.1016/j.landusepol.2019.03.010, 2019. a

Xia, Z., Welker, J. M., and Winnick, M. J.: The Seasonality of Deuterium Excess in Non‐Polar Precipitation, Global Biogeochem. Cy., 36, e2021GB007245, https://doi.org/10.1029/2021GB007245, 2022. a

Xiao, M. and Cui, Y.: Source of Evaporation for the Seasonal Precipitation in the Pearl River Delta, China, Water Resour. Res., 57, e2020WR028564, https://doi.org/10.1029/2020WR028564, 2021. a

Yuan, X., Yang, K., Lu, H., Sun, J., Wang, Y., Liu, Y., and Tang, Q.: Weakened Subtropical Westerlies Reduced Early Spring Precipitation in the Southeast Tibetan Plateau, J. Climate, 36, 4363–4373, https://doi.org/10.1175/JCLI-D-22-0770.1, 2023a. a

Yuan, X., Yang, K., Sun, J., Wang, Y., He, Y.-Y., Zou, M.-J., and Jiang, Y.-Z.: Why was Pakistan extreme precipitation stronger in 2022 than in 2010?, Advances in Climate Change Research, 14, 913–920, https://doi.org/10.1016/j.accre.2023.11.016, 2023b. a

Zemp, D. C., Schleussner, C.-F., Barbosa, H. M. J., van der Ent, R. J., Donges, J. F., Heinke, J., Sampaio, G., and Rammig, A.: On the importance of cascading moisture recycling in South America, Atmos. Chem. Phys., 14, 13337–13359, https://doi.org/10.5194/acp-14-13337-2014, 2014. a

Zemp, D. C., Schleussner, C.-F., Barbosa, H. M. J., Hirota, M., Montade, V., Sampaio, G., Staal, A., Wang-Erlandsson, L., and Rammig, A.: Self-amplified Amazon forest loss due to vegetation-atmosphere feedbacks, Nat. Commun., 8, 14681, https://doi.org/10.1038/ncomms14681, 2017. a

Zhang, C.: Moisture source assessment and the varying characteristics for the Tibetan Plateau precipitation using TRMM, Environ. Res. Lett., 15, 104003, https://doi.org/10.1088/1748-9326/abac78, 2020a. a

Zhang, C.: Moisture sources for precipitation in Southwest China in summer and the changes during the extreme droughts of 2006 and 2011, J. Hydrol., 591, 125333, https://doi.org/10.1016/j.jhydrol.2020.125333, 2020b. a

Zhang, C., Tang, Q., Chen, D., Van der Ent, R. J., Liu, X., Li, W., and Haile, G. G.: Moisture source changes contributed to different precipitation changes over the northern and southern Tibetan Plateau, J. Hydrometeorol., 20, 217–229, https://doi.org/10.1175/JHM-D-18-0094.1, 2019. a

Zhang, C., Chen, D., Tang, Q., and Huang, J.: Fate and Changes in Moisture Evaporated From the Tibetan Plateau (2000–2020), Water Resour. Res., 59, e2022WR034165, https://doi.org/10.1029/2022WR034165, 2023a. a

Zhang, C., Tang, Q., Zhao, Y., Chen, D., Huang, J., Liu, Y., and Zhang, X.: Moisture source differences between the 2020 and 1998 super Meiyu-flood events in the Yangtze River Valley, Weather and Climate Extremes, 43, 100644, https://doi.org/10.1016/j.wace.2024.100644, 2024. a

Zhang, X., Liu, Z., Liu, Y., Jiang, L., Wang, R., Jiang, H., Li, J., Tang, Q., and Yao, Z.: Examining moisture contribution for precipitation in response to climate change and anthropogenic factors in Hengduan Mountain Region, China, J. Hydrol., 620, 129562, https://doi.org/10.1016/j.jhydrol.2023.129562, 2023b. a, b

Zhang, Y., Huang, W., Zhang, M., Tian, Y., Wang, G., and Zhong, D.: Atmospheric Basins: Identification of Quasi-Independent Spatial Patterns in the Global Atmospheric Hydrological Cycle Via a Complex Network Approach, J. Geophys. Res.-Atmos., 125, e2020JD032796, https://doi.org/10.1029/2020JD032796, 2020. a

Zhao, T., Zhao, J., Hu, H., and Ni, G.: Source of atmospheric moisture and precipitation over China’s major river basins, Front. Earth Sci., 10, 159–170, https://doi.org/10.1007/s11707-015-0497-4, 2016. a

Zhou, K. and Shi, X.: Understanding Precipitation Moisture Sources and Their Dominant Factors During Droughts in the Vietnamese Mekong Delta, Water Resour. Res., 60, e2023WR035920, https://doi.org/10.1029/2023WR035920, 2024. a

Download
Short summary
We introduce a new version of WAM2layers (Water Accounting Model – 2 layers), a computer program that tracks how the weather brings water from one place to another. It uses data from weather and climate models, whose resolution is steadily increasing. Processing the latest data had become a challenge, and the updates presented here ensure that WAM2layers runs smoothly again. We also made it easier to use the program and to understand its source code. This makes it more transparent, reliable, and easier to maintain.
Share