Example scripts demonstrating how to use pyVPRM, covering everything from generating model inputs to full flux partitioning.
First, install pyVPRM itself (see the pyVPRM README for details), then clone this repository:
git clone https://github.com/tglauch/pyVPRM_examples.git| Folder | Description |
|---|---|
vprm_predictions |
Run VPRM predictions of GPP, respiration, and NEE |
wrf_preprocessor |
Generate VPRM input files for use with WRF or ICON |
pyVPRNN_partitioning |
Partition observed NEE into GPP and respiration using the process-informed neural network approach (pyVPRNN) |
Each folder has its own README with setup instructions and requirements specific to that example — start there once you've picked the one relevant to your use case.
- Main package: pyVPRM
- Method paper: Glauch et al. (2025), Geoscientific Model Development
Questions? Open an issue, or reach out to theo.glauch@dlr.de.
This repository bundles some example data files to make the examples runnable more easily. As a result, cloning the full repository — including its git history — downloads >100 megabytes.