EUVIMEDEUVIMED entdecken
Open Access · CC BY-NC 4.0

CaMa‐PyTorch (v1.0): A New Catchment‐Based Macro‐Scale Floodplain Model Written in PyTorch

Zenghui Liu, Qiyu Li, Qingliang Li, Zhongwang Wei, Cheng Zhang, Hua Yuan, Yunfeng Lv, Jingquan Ren, Xiaoming Shi, Yongjiu Dai

Earth and Space Science · 2026-11 · 13 (11)

DOI: 10.1029/2026ea005015 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Earth and Space Science, online erschienen am 29.10.2026. Verfasst von Zenghui Liu und 9 weiteren Autor:innen. Die Arbeit nennt 39 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY-NC 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Accurate simulation of river discharge underpins hydrological research, climate‐impact assessment, and flood forecasting. CaMa‐Flood, a widely used global river‐routing model, applies physically based principles to represent water transport through river networks. However, its legacy Fortran implementation restricts compatibility with modern AI frameworks and prevents efficient GPU utilization. Here, we present CaMa‐PyTorch (v1.0), a Python reimplementation of CaMa‐Flood v4.23 within PyTorch. A custom indexing scheme reproduces the flexible array operations of the Fortran model while preserving its river network logic and core algorithms. We evaluated numerical fidelity through modular tests and a continuous simulation over the continental United States at 0.0833° resolution from 2005 through 2010. Daily streamflow observations from the Global Runoff Data Centre (GRDC) provided an external benchmark, and model behavior was assessed using hydrograph comparisons, residual analyses, spatial diagnostics, and standard performance metrics. Across these evaluations, CaMa‐PyTorch closely reproduced the temporal and spatial discharge patterns generated by the Fortran implementation. Its tensor architecture also supports parallel computation and GPU execution. As a proof‐of‐concept for machine learning interoperability, a long short‐term memory (LSTM) network was used to postprocess simulated discharge and improved predictive performance. This experiment demonstrates output level coupling with a PyTorch data‐driven module but does not constitute a fully differentiable modeling system. CaMa‐PyTorch therefore provides a numerically faithful and computationally flexible basis for large scale river modeling and future research on more closely integrated physical and data‐driven approaches.

Zitieren

APA

Liu, Z., Li, Q., Li, Q., Wei, Z., Zhang, C., Yuan, H., Lv, Y., Ren, J., Shi, X., & Dai, Y. (2026). CaMa‐PyTorch (v1.0): A New Catchment‐Based Macro‐Scale Floodplain Model Written in PyTorch. Earth and Space Science, 13(11). https://doi.org/10.1029/2026ea005015

Vancouver

Liu Z, Li Q, Li Q, Wei Z, Zhang C, Yuan H, et al. CaMa‐PyTorch (v1.0): A New Catchment‐Based Macro‐Scale Floodplain Model Written in PyTorch. Earth and Space Science. 2026;13(11). doi:10.1029/2026ea005015

BibTeX
@article{Liu2026,
  author = {Liu, Zenghui and Li, Qiyu and Li, Qingliang and Wei, Zhongwang and Zhang, Cheng and Yuan, Hua and Lv, Yunfeng and Ren, Jingquan and Shi, Xiaoming and Dai, Yongjiu},
  title = {CaMa‐PyTorch (v1.0): A New Catchment‐Based Macro‐Scale Floodplain Model Written in PyTorch},
  journal = {Earth and Space Science},
  year = {2026},
  volume = {13},
  number = {11},
  doi = {10.1029/2026ea005015}
}
Kostenlos starten →