Abstract
This study presents the High Order Prediction Environment (HOPE), an automatically differentiable, non-oscillatory finite-volume dynamical core for shallow water equations on the cubed-sphere grid. HOPE integrates five key features: (1) arbitrary high-order accuracy through genuine two-dimensional reconstruction schemes; (2) essential non-oscillation via adaptive polynomial order reduction in discontinuous regions; (3) exact mass conservation inherited from finite-volume discretization; (4) automatically differentiable and (5) GPU-native scalability through PyTorch-based implementation. Another innovation is the development of a two-way coupled ghost cell interpolation method. This approach incorporates information from adjacent panels on both sides of the boundary, thereby overcoming the integration instability inherent in one-sided ghost cell interpolation approaches when using high-order reconstruction. Leveraging the linear operator nature of this interpolation scheme, we optimized its computation: information exchange across the panel boundary is achieved through a single matrix-vector multiplication instead of iterative coupling, without accuracy loss. Numerical experiments demonstrate the capabilities of HOPE: The 11th-order scheme reduces errors to near double-precision round-off levels in steady-state geostrophic flow tests on coarse grids. Maintenance of Rossby-Haurwitz waves over 100 simulation days without crashing. A cylindrical dam-break test case confirms the genuinely two-dimensional WENO scheme exhibits significantly better isotropy compared to dimension-by-dimension approaches. Moreover, normalized conservation errors in total energy, total potential enstrophy, and total zonal angular momentum significantly reduce with increasing order of the reconstruction scheme. Two implementations are developed: a Fortran version for convergence analysis and a PyTorch version leveraging automatic differentiation and GPU acceleration. The PyTorch implementation maps reconstruction and quadrature operation to 2D convolution and Einstein summation respectively, achieving about 2× speedup on single NVIDIA RTX3090 GPU versus Dual Intel E5-2699v4 CPUs execution. This design enables seamless coupling with neural network parameterizations, positioning HOPE as a foundational tool for next-generation differentiable atmosphere models.
Cite
CITATION STYLE
Zhou, L., Xue, W., & Shen, X. (2025). HOPE: An arbitrary-order non-oscillatory finite-volume shallow water dynamical core with automatic differentiation. Geoscientific Model Development, 18(21), 8175–8201. https://doi.org/10.5194/gmd-18-8175-2025
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.