SURF-Torch v1.0: a differentiable PyTorch implementation of the OpenIFS land-surface physics

Land-surface schemes are mature in process content but are written in Fortran, confining parameter and sensitivity studies to ensembles of independent integrations. We present a differentiable PyTorch implementation of the complete OpenIFS land-surface physics that preserves the tiled process ordering of the Fortran reference and keeps every conditional regime switch unsmoothed, so the differentiated operator is the verified one. It matches the reference at every duration tested: a 30-day controlled integration of the 97,709-column ends at surface-temperature and snow-water-equivalent RMSE of 6.90×10−6 K and 1.05×10−6 kg m−2, a one-year autonomous integration holds terminal relative errors below 5.1×10−3 %, and ten successively restarted years (2009–2018) show no error growth; CUDA-graph execution on an NVIDIA A100 sustains a 3.8-fold speed-up over the 32-thread Fortran reference. Against independent Terra MODIS observations, the configuration reproduces nighttime land surface temperature (bias 0.66 K) but carries a −6.4 K daytime cold bias. Decomposing this bias with reverse-mode derivatives verified against finite differences to 4×10−4, we find that eight global parameter scales explain at most 0.5 K of it, that the remainder is a structural 8.1 K peak-to-peak deficit of near-surface diurnal amplitude, and that a two-timescale surface-layer closure designed from this diagnosis and verified in state space removes 67–84 % of the bias (calibration to held-out) in every month of the year and ports back to the Fortran driver without re-tuning. These results show how a differentiable land surface moves evaluation beyond numerical fidelity to observation-constrained process improvement.

Authors

Institutions

Publication Details

Published
2026-12-01
DOI
https://doi.org/10.5194/egusphere-2026-5516
Primary Topic
Meteorological Phenomena and Simulations
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

SURF-Torch v1.0: a differentiable PyTorch implementation of the OpenIFS land-surface physics

Congyuan Li, Wenjing Zhao, Xiaofei Lin, Junqiang Song et al.
Meteorological Phenomena and Simulations
preprint

SURF-Torch v1.0: a differentiable PyTorch implementation of the OpenIFS land-surface physics

Congyuan Li, Wenjing Zhao, Xiaofei Lin, Junqiang Song, Jinhui Yang
preprint en

Abstract

Land-surface schemes are mature in process content but are written in Fortran, confining parameter and sensitivity studies to ensembles of independent integrations. We present a differentiable PyTorch implementation of the complete OpenIFS land-surface physics that preserves the tiled process ordering of the Fortran reference and keeps every conditional regime switch unsmoothed, so the differentiated operator is the verified one. It matches the reference at every duration tested: a 30-day controlled integration of the 97,709-column ends at surface-temperature and snow-water-equivalent RMSE of 6.90×10−6 K and 1.05×10−6 kg m−2, a one-year autonomous integration holds terminal relative errors below 5.1×10−3 %, and ten successively restarted years (2009–2018) show no error growth; CUDA-graph execution on an NVIDIA A100 sustains a 3.8-fold speed-up over the 32-thread Fortran reference. Against independent Terra MODIS observations, the configuration reproduces nighttime land surface temperature (bias 0.66 K) but carries a −6.4 K daytime cold bias. Decomposing this bias with reverse-mode derivatives verified against finite differences to 4×10−4, we find that eight global parameter scales explain at most 0.5 K of it, that the remainder is a structural 8.1 K peak-to-peak deficit of near-surface diurnal amplitude, and that a two-timescale surface-layer closure designed from this diagnosis and verified in state space removes 67–84 % of the bias (calibration to held-out) in every month of the year and ports back to the Fortran driver without re-tuning. These results show how a differentiable land surface moves evaluation beyond numerical fidelity to observation-constrained process improvement.

National University of Defense Technology (CN)
Meteorological Phenomena and Simulations
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon