WAM2layers
WAM2layers is an atmospheric moisture tracking model. It can be used to determine where precipitation originally evaporated (backward tracking), or where evaporated moisture eventually ends up (forward tracking).
Reference paper: Atmospheric moisture tracking with WAM2layers v3
The animation above illustrates the concept of backward tracking: you first see the water content and fluxes in the tracking domain move forward in time (left panel). Midway through, the animation reverses and the moisture from the "tagging region" is tracked backward in time (right panel).
How does it work
The simplest experiment with WAM2layers could look like this
pip install wam2layers[viz]
wam2layers download example-input-eiffel
cd example-input-eiffel
wam2layers preprocess era5 config-eiffel.yaml
wam2layers track config-eiffel.yaml
wam2layers visualize output config-eiffel.yaml
See the documentation for a more detailed description. We also have a video walkthrough!
Finding help
graph TD
A[Question or idea?] --> B[Check existing resources:<br><a href='https://wam2layers.readthedocs.io'>Documentation</a>, <a href='https://github.com/WAM2layers/WAM2layers/discussions'>Discussion forum</a>, <a href='https://github.com/WAM2layers/WAM2layers/issues'>Open issues</a>]
B --> |Still unresolved?| C[<a href="https://github.com/WAM2layers/WAM2layers/discussions/new">Start a new discussion</a><br>Briefly introduce yourself and your use case and provide relevant context, e.g. config files]
C --> |Work needed?| D[Discussion is converted to issue]
D --> |Want to contribute?| E[See <a href='https://wam2layers.readthedocs.io/en/latest/develop.html'>Developer guide</a>]
D --> F[Wait for others to hopefully work on it]
class A startStep;
classDef startStep fill:#f9f,stroke:#333,stroke-width:4px,font-size:16px;
Other versions
This is the official codebase for the WAM-2layers moisture tracking model as of 18/03/2022, but there are still several other (older) versions around:
- Original Python code for ERA-Interim by Ruud van der Ent
- Adapted version for EC-Earth by Imme Benedict
- Adapted version for MERRA2 by Pat Keys
- Adapted version for ERA5 pressure levels by Mingzhong Xiao
- Adapted version for ERA5 by Theo Carr
Reuse and acknowledgement
This code is currently developed by a core team: Ruud van der Ent (Delft University of Technology) Imme Benedict (Wageningen University) Chris Weijenborg (Wageningen University) Peter Kalverla (Netherlands eScienceCenter) Bart Schilperoort (Netherlands eScience Center)
We are proudly part of open-sustainable-technology.
If you use the code for a publication, please cite it using the DOI of the appropriate release and the following paper : Atmospheric moisture tracking with WAM2layers v3
Metadata
Release files for wam2layers 3.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wam2layers-3.3.1.tar.gz | 65.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wam2layers-3.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 136.4 kB
Release files / wam2layers-3.3.1.tar.gz
| Download URL | wam2layers-3.3.1.tar.gz |
|---|---|
| Size | 65.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3246a53ed89a70172beee3bf5df5bc26190bf6d868644fbabf07b56008d68269
|
|
BLAKE2b-256 checksum How to use checksums |
568d3a05a4ad872ad8aa68d5f6ca88e179df6d4445b80357cfe9ddb0825a81f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 20, 2026.
Transparency logRelease files / wam2layers-3.3.1-py3-none-any.whl
| Download URL | wam2layers-3.3.1-py3-none-any.whl |
|---|---|
| Size | 70.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2eeb8207a333570bfe5d1ac7a5ca65bcbd0fc3c005100addf9a5faa3edea090e
|
|
BLAKE2b-256 checksum How to use checksums |
35351e1dcb2bca76d87d48797bd5a5971926c06fb8a652e69f2f5f5a746550b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 20, 2026.
Transparency log