Journal article
Cite …

Modelling N 2 O emissions in fertilized grasslands with machine learning: a multi-site LSTM approach

Samin Payrosangari  1, Kathrin Fuchs  1, Benjamin Wolf 1, Ralf Kiese ORCID iD icon 1 and Clemens Scheer ORCID iD icon 1
1 The Institute of Meteorology and Climate Research Atmospheric Environmental Research (IMKIFU), Karlsruhe Institute of Technology (KIT)
DOI: 10.5445/IR/1000199212
Publisher's version published on Nov 17, 2026
CC BY 4.0
Abstract

Accurate quantification of GHG emissions from

agricultural soils based on key environmental and manage-

ment factors, is crucial for developing effective mitigation

strategies. This study applies a machine learning approach

using data from multiple montane grasslands in central Eu-

rope to model the spatial and temporal dynamics of N2O

emissions, using meteorological, soil, and management data.

The primary aim is to advance predictive modelling of N2O

emissions from grassland soils for spatial upscaling and sce-

nario analysis. Specifically, we assess whether a regionally

trained model can accurately estimate N2O emissions from

an independent site excluded from training.

We collected data from five fertilized grasslands across

southern Germany, northern Switzerland and western Aus-

tria (122 soil-site-treatment-year combinations), and trained

a long short-term memory (LSTM) algorithm to model the

influence of drivers within 5 subsequent days on N2O emis-

sions. The dataset includes daily N2O emission measure-

ments along with key emission drivers such as soil moisture

and temperature in 10 cm soil depth, daily precipitation, oc-

currence of fertilization events (zero or one flag), as well as

static soil characteristics such as pH and bulk density.

The trained LSTM model showed varying predictive per-

formance when evaluated on two test datasets, with higher

performance at some site-years and lower at others. One test

set included temporally independent data (hold-out years)

(RMSE = 28 μg N2O-N m−2 h−1), while the other included

cross-site data from a soil type withheld from training

(RMSE = 11 μg N2O-N m−2 h−1). The model captured N2O

dynamics, including the magnitude and timing of emission

peaks driven by slurry application and environmental fac-

tors, though predictive performance varied across individual

site-years. These results demonstrate that LSTM-based mod-

els can predict N2O emissions for most site-years across test

sites with similar environmental and soil characteristics, rep-

resenting an alternative to process-based models for predict-

ing soil N2O emissions.