the Creative Commons Attribution 4.0 License.
the Creative Commons Attribution 4.0 License.
EnsAI: an emulator for atmospheric ammonia ensembles
Ensemble-based methods for data assimilation and emissions inversions are a popular way to encode flow-dependency within the model error covariance. While most ensemble methods do not require the use of an adjoint model, the need to repeatedly run a geophysical model to generate the ensemble can be a significant computational burden. In this paper, we introduce EnsAI, a new AI-based ensemble generation system for surface ammonia concentrations. When trained on an ensemble for ammonia generated by the GEM-MACH air quality model, it was shown that the ensembles produced by EnsAI can accurately reproduce the meteorology-dependent features of the original ensemble, while generating the ensemble 3300 times faster than the original GEM-MACH ensemble. While EnsAI requires an upfront cost for generating the ensemble used for training, as well as the training itself, the long term computational savings can greatly exceed these initial computational costs. When used in an emissions inversion system, EnsAI produced similar inversion results to those in which the original GEM-MACH ensemble was used while using significantly less computational resources.
- Article
(12348 KB) - Full-text XML
-
Supplement
(23803 KB) - BibTeX
- EndNote
Ensemble forecasting of atmospheric models has become an invaluable tool in atmospheric modeling over the past few decades. An ensemble of atmospheric states has the ability to represent the uncertainty associated with an atmospheric model and can encode information about both the level of uncertainty of particular state variables as well as the correlation between the uncertainties of different variables. Quantifying the uncertainty of atmospheric forecasts is not only useful when interpreting the results of the forecast, but is also essential for data assimilation and other inversion methods that blend the forecast with observational information.
The goal of an assimilation process is to produce what is known as an analysis, which is a combination of forecast (or background) and observational information in a way that is optimal (or close to optimal) according to some metric. The uncertainties ascribed to both the model and observations help determine this optimal combination. The error covariances associated with the model and observations set both the level of impact that the observations have on the analysis as well as the spread of the observational information via the error correlations. The error correlations not only spread observational information spatially, but can also impose balance between different variables in multivariate applications (Bannister, 2008). Furthermore, as the analysis increment lies in the subspace spanned by the background error covariance matrix, using a background error covariance with sufficient rank is essential.
While having an accurate estimate of a model's error covariance is of high importance in many applications, actually obtaining such an estimate is often difficult. Earlier numerical weather prediction (NWP) assimilation systems often used static forecast error covariances as this was more computationally feasible at the time. But as more computational resources became available, more weather centers were able to incorporate flow-dependent error covariances within their systems. One popular method for doing this was by using four-dimensional variational (4DVar) assimilation (Thepaut and Courtier, 1991; Zupanski, 1993; Rabier et al., 2000). However, 4DVar's need for a model adjoint, which can be taxing to develop and maintain, has increased the popularity of adjoint-free methods, in particular algorithms that use ensembles to encode flow-dependent information. The most common ensemble-based algorithms currently employed at weather centers are the ensemble Kalman filter (EnKF) (Evensen, 1994; Lorenc, 2003; Houtekamer and Zhang, 2016) and ensemble-variational assimilation (EnVar) (Buehner et al., 2010; Desroziers et al., 2014; Fairbairn et al., 2014).
While ensemble-based assimilation methods offer many benefits over other methods, a significant downside of using these methods is the computational cost of creating these ensembles, which often requires running an atmospheric model tens to hundreds of times for each time step. The computational cost often limits the number of ensemble members, which can result in spurious correlations in the covariance.
The assimilation of atmospheric chemical observations has been an important component of air quality modeling (Miyazaki et al., 2012b; Robichaud, 2017; Huijnen et al., 2020; Park et al., 2022; Garrigues et al., 2022), stratospheric ozone and UV forecasting (Lahoz et al., 2007; Inness et al., 2013; Rochon et al., 2019), climate modeling (Peters et al., 2010; Miyazaki et al., 2011; Bruhwiler et al., 2014; Agustí-Panareda et al., 2023), and emissions inversions (Miyazaki et al., 2012b, a; Zhu et al., 2013; Cao et al., 2020). The computational challenges associated with ensemble generation are compounded when applied to atmospheric chemistry models, which typically require more computational resources than NWP models. While many operational NWP ensemble systems are run at weather centers with ensemble sizes on the order of tens to hundreds, the higher computational requirements of running atmospheric chemistry models make running a similarly designed chemical data assimilation system difficult, especially in an operational setting. When chemical ensembles are feasible to run, it typically has a much smaller ensemble size than in NWP systems, often with less than a hundred members (Pendergrass et al., 2023). In contrast to most modern NWP systems, it is not uncommon for chemical data assimilation systems to use static background error covariances. For example, at Environment and Climate Change Canada (ECCC), the two operational systems that produce analyses for chemical fields, the air quality surface analysis (Ménard and Deshaies-Jacques, 2018a, b, c) and the stratospheric ozone forecasting system (Rochon et al., 2019; Buehner et al., 2024), both use static background error covariances. ECCC's air quality forecasting system uses the Global Environmental Multiscale – Modelling Air quality and Chemistry (GEM-MACH) chemical weather model, which takes approximately four to five times more computing time and up to nine times more disk space than the Global Environmental Multiscale (GEM) NWP model that GEM-MACH is built upon, illustrating the challenges with using ensemble methods with atmospheric chemical models.
The recent explosion in machine learning-based weather prediction (MLWP) (Pathak et al., 2022; Bi et al., 2023; Chen et al., 2023b; Lam et al., 2023; Chen et al., 2025) offers the potential of atmospheric forecasting that requires a fraction of the run time as compared to traditional physically-based models. The drastic reduction in computational run time is due to both the artificial intelligence (AI) algorithms used as well as running on specialized hardware such as graphics processing units (GPUs). Soon after the initial release of MLWP models, new MLWP systems were developed to produce ensembles of forecasts (Price et al., 2023; Li et al., 2024a), combine data assimilation methods into MLWP models (Xiao et al., 2023; Li et al., 2024b), and end-to-end forecasting/assimilation systems (Chen et al., 2023a; Vaughan et al., 2024). The ability of these MLWP models to meet or exceed the performance (at least with respect to some metrics) of traditional physically-based models that run on central processing unit (CPU) computing clusters, while requiring far less computation time, is opening up a new frontier in the atmospheric sciences.
Currently, most MLWP systems are primarily trained using the ERA5 data set (Hersbach et al., 2020). For atmospheric chemistry applications, additional data sets are needed to provide information on chemical constituents during the training of the AI model. The closest analogue at present to the ERA5 reanalysis for atmospheric chemistry is the Copernicus Atmosphere Monitoring Service (CAMS) (Inness et al., 2019) reanalysis, which only dates back to 2003. Recently, Bodnar et al. (2025) developed an AI geophysical system that is pretrained on NWP data and fine-tuned for atmospheric chemistry using the CAMS reanalysis as well as the CAMS analysis for more recent years. However, at present, the atmospheric chemistry data that could potentially be used for training is much more limited as compared to NWP, particularly for ensemble information for chemicals in the troposphere important for air quality forecasting.
Sitwell et al. (2022, 2026) detail the development of an ensemble-based ammonia emissions inversion system that was used to update the ammonia emissions provided to the GEM-MACH air quality model. While these studies have shown that this ensemble-based inversion system can significantly improve the parameters used for generating ammonia emissions, comprehensive assessments of the ammonia emissions can only be done occasionally when using the GEM-MACH generated ensemble due to the high computational cost of ensemble generation.
The aim of this work is to develop an AI-based model for efficient ensemble generation of atmospheric ammonia surface concentrations for the purpose of air quality forecasting, which we will refer to as EnsAI. An existing ensemble of atmospheric ammonia concentrations that was used for ammonia emissions inversions will be leveraged for training. For our application, the ensemble of emissions perturbations is computationally inexpensive to create, but translating the ensemble of emissions perturbations into an ensemble of ammonia concentration perturbations using a physically-based atmospheric model is usually very computationally demanding. EnsAI uses a U-Net convolutional neural network to map ammonia emissions perturbations to ammonia surface concentration perturbations, using surface wind and temperature fields as auxiliary inputs to the neural network.
As EnsAI can generate ensembles of concentrations without needing to run computationally expensive physically-based atmospheric models, it can potentially serve as an integral component of an ammonia emissions inversion system that can be run frequently without an excessive computational burden. Although EnsAI has the upfront cost from training (as well as generating the ensemble training data if not already available), these initial costs will be much smaller than the long-term computational savings over the intended use period.
This study develops an AI-based ensemble generation system to be used in an ammonia emissions inversion system. As in Sitwell et al. (2022, 2026), ammonia retrievals from the satellite-borne CrIS instrument are used to refine the ammonia emissions parameters, which are then used in the GEM-MACH air quality model. While the inversion methods are described in full in Sitwell et al. (2022, 2026), we summarize the main features in this section, as well as a few modifications made for this study.
2.1 The GEM-MACH Air Quality Model
GEM-MACH (Moran et al., 2010; Gong et al., 2015; Pavlovic et al., 2016) is a chemical transport model used in ECCC's operational air quality forecasting system that is embedded within ECCC's operational GEM weather forecasting model (Côté et al., 1998a, b; Girard et al., 2014). GEM-MACH is a physically-based model of atmospheric gas-phase, aqueous-phase, and heterogeneous chemistry. Version 3.1.0 of GEM-MACH was used for this study, which has 85 vertical levels that extend from the surface to 0.1 hPa. GEM-MACH can be run with both global and limited area horizontal grids. For this work, a limited area horizontal grid with spacing of 0.09° (∼ 10 km) was used. The meteorology is refreshed at the beginning of each forecast using analyses from ECCC's Global Deterministic Prediction System (Buehner et al., 2015).
This version of GEM-MACH also includes a bidirectional flux model for ammonia (Sitwell et al., 2026). The bidirectional flux model combines monthly-mean ammonia emission potentials with meteorological information to produce hourly meteorologically-dependent ammonia emissions. The emissions for all other species are computed by translating monthly or annual emissions inventories into hourly emissions through the use of sector-dependent time profiles. The unperturbed set of emissions was version 3.1.2 of the operational GEM-MACH emissions data set. The annual mean of this emissions inventory for ammonia is shown in Fig. 1.
Figure 1Annual mean ammonia emissions from the (unperturbed) inventory. Emissions are only displayed within the domain of the EnsAI model. Particular locations examined in this work are also displayed, which are located (in order of descending emissions) in (a) North Carolina, (b) Iowa, (c) Ohio, (d) Pennsylvania, and (e) Georgia.
2.2 CrIS Ammonia Retrievals
The CrIS instrument, which is aboard the Suomi National Polar-orbiting Partnership (SNPP), NOAA-20 and NOAA-21 satellites, is a Fourier transform spectrometer that measures the infrared spectrum in three different spectral bands. The CrIS Fast Physical Retrieval (CFPR) algorithm (Shephard and Cady-Pereira, 2015; Shephard et al., 2020), based on the TES ammonia retrieval algorithm (Shephard et al., 2011), used for the ammonia retrievals makes use of the longwave band between 960 and 967 cm−1. As we will focus on the years 2014 to 2016, we use retrievals from the CrIS instrument aboard the SNPP satellite. The SNPP satellite, which is in a sun-synchronous orbit, has local overpass times at approximately 01:30 and 13:30, though only the day-time retrieval is used in the inversions. CrIS has a resolution at nadir of around 14 km. The retrievals are made on 14 pressure levels, with the averaging kernel typically peaking at or near the surface.
Retrievals are from version 1.6.4 of the CFPR algorithm that includes non-detects when the signal is below the detection limit (White et al., 2023). Only retrievals over land with a signal-to-noise ratio of at least one and have at least 0.1 degrees of freedom are used in the inversions.
The goal of this work is to develop an efficient ensemble generation model that runs on GPUs, which typically have access to less memory than traditional CPU clusters. As such, to reduce memory requirements, only the retrieval at the surface will be used in the inversions, instead of all 14 levels that were used in the inversions in Sitwell et al. (2022, 2026). This should be a reasonable simplification since the retrievals are mainly sensitive to the surface and lower atmospheric levels.
2.3 Inversion Methods
Inversion algorithms are used to create a statistical blend of observational and a priori (background) information by solving an inverse problem, the result of which is known as the analysis. Both the background model state and observations are weighted by their error covariances. The error variances determines the level of impact the observations have on the analysis, while the correlations can (among other things) spread the observational information to other variables in the model state. Most algorithms solve this problem by finding an additive state vector, known as the increment, to add to the a priori state vector.
For our current application, a set of emissions e is used as input into GEM-MACH to generate atmospheric concentrations c, where only c is observed. As mentioned in Sect. 2.1, because we will only be utilizing the lowest level of the model output, c will denote only the surface concentrations. If our model state vector x is represented in block form as
then the background error covariance B can be expressed as
where Bcc and Bee represent the univariate covariances for the surface concentrations and emissions, respectively, while Bec represents their cross-covariance. Although the uncertainties in the atmospheric concentration of ammonia are likely due to a number of different factors including uncertainties in emissions, meteorology, initial conditions, and chemistry, for these inversions only the uncertainty due to the emissions is considered.
Ensemble methods model the background error covariance, in full or in part, by use of an ensemble of model states, where each member of the ensemble has a different perturbed state. An ensemble of N model states can be used to form a background error covariance Bens as
where δxi is the model state perturbation of ensemble member i. Physically-based atmospheric models are usually computationally costly to run, so ensembles typically consist of tens to hundreds of members. These small ensemble sizes produce error covariances with low rank and spurious long-distance correlations. A localization scheme is usually included to mitigate these effects, which we implement through an element-wise multiplication (denoted by ∘) of the ensemble error covariance with a localization matrix ℒ.
A diagrammatic representation of the emissions inversion process is shown in Fig. 2. As individual CrIS ammonia retrievals have relatively large uncertainties (Shephard and Cady-Pereira, 2015), each inversion uses a month of retrievals so that a sufficient amount of observational information is used in each inversion. The hourly fields from an unperturbed GEM-MACH run are used as the a priori (background) model state. The ensemble used in the inversions is comprised of a set of hourly fields produced by perturbed GEM-MACH runs. The emissions inversions use a calendar month's worth of retrievals with the hourly background and ensemble model fields to produce updated emissions model parameters for a particular month. While the product of each inversion is a single field of the emissions parameters for a particular month, the posterior ammonia emissions vary within the inversion time window as the ammonia emissions are dependent on meteorological conditions, most notably the surface temperature. Further details of the inversion algorithm can be found in Appendix A.
Figure 2Diagram of the ammonia emissions inversion process. The hourly background concentrations (cb) and ensemble concentration perturbations (δc) are used with observations (y) within a month to produce monthly increments to the emissions parameters Δe. GEM-MACH's bidirectional flux model (represented by the green arrows in the diagram) combines the monthly emissions parameters with meteorological fields to yield hourly updated emissions (ea).
2.4 GEM-MACH Ensemble Generation
Ensemble generation is often the most computationally demanding part of an ensemble forecasting system. EnsAI was trained on a previously existing ammonia ensemble, which removed the need to generate new training data. This section briefly summarizes the processes that were used to generate this ensemble.
The ensemble generation process consists of two steps: First, for each ensemble member i, a Gaussian random field is drawn that is used to construct the time-mean emissions ei. These emissions are then combined with the unperturbed model input, collectively denoted by θ, which includes the emissions from all chemical species other than ammonia as well as initial conditions for both meteorological and chemical concentration fields. The GEM-MACH model, here represented by the operator ℳGM, is then run to produce the atmospheric concentrations ci for that ensemble member, which is represented symbolically as
The initial step of generating the emissions ensemble is relatively computationally inexpensive. A random field is repeatedly drawn from an isotropic normal distribution and are used to perturb the ammonia emissions. The standard deviations of the emissions perturbation field was set to 50 % of their monthly mean values, with a minimum standard deviation value of 10 mg s−1 km−2 imposed so that all locations have a non-negligible ensemble variance. The horizontal spatial correlations of this distribution were chosen to have a half-width at half-maximum of 40 km. The second step of repeatedly running GEM-MACH with the perturbed emissions fields accounts for most of the computational cost of this inversion method and is the motivation for exploring AI-based ensemble generation methods that can potentially produce an ensemble at much lower computational costs.
As repeatedly running GEM-MACH is very computationally demanding for ensembles of any reasonable size, we wish to find an AI-based model ℳEnsAI that can be used in Eq. (4) in place of ℳGM that emulates the GEM-MACH model but is able to run much faster than GEM-MACH.
In the original ensemble generation procedure described in Sect. 2.4, we note from Eq. (4) that the full GEM-MACH model ℳGM is used to produce the perturbed concentration fields ci, which in our case are the ammonia surface concentrations. A full GEM-MACH emulator would aim to reproduce the full forecasts for multiple chemical species. However, as our goal is only to reproduce ensemble perturbations, ℳEnsAI will only predict the ensemble perturbations of the ammonia surface concentrations δci given the perturbations to the ammonia emissions δei. Since ℳEnsAI only needs to simulate the ensemble perturbations of certain model fields (only surface ammonia in our case), ℳEnsAI can potentially be much simpler than an emulator that aims to reproduce the full GEM-MACH output.
For application to ammonia emissions inversions, the same perturbation to the time-mean ammonia emissions can result in different perturbations to the atmospheric ammonia concentration at different times due to the dependence on the meteorological conditions. The strength of the ammonia emissions are strongly dependent on temperature, while the local spatial distribution of its atmospheric concentration is dependent on advection patterns. This is illustrated in Fig. 3, which displays the ammonia emission and surface concentration perturbations for one particular member of the ensemble. The monthly-mean ammonia emission perturbations for May is shown in the top row, while the bottom row shows the surface concentration perturbations resulting from this emissions perturbation at three different times (all at the same time, 18:00 UTC, but for different days). While all three surface concentration perturbations originate from the same emissions perturbation, the different meteorological conditions at each time have a clear effect on both the magnitude and spatial pattern of surface concentration perturbations.
Figure 3Monthly-mean ammonia emissions perturbations for May (top row) and the resulting ammonia surface concentration perturbations at three different times in May (bottom row) for one member of the GEM-MACH ensemble.
For the ensemble generation described in Eq. (4), the input to GEM-MACH consists of a randomly perturbed ammonia emissions field ei, as well as a large number of unperturbed fields θ. In addition to meteorological fields, GEM-MACH requires hundreds of chemical constituent fields as well as other auxiliary fields such as those describing land-use and soil hydrology. As GEM-MACH is typically run on large CPU clusters that have access to much larger amounts of memory than is currently available to GPUs, EnsAI was designed to use drastically fewer unperturbed input fields.
As ammonia emissions have a strong temperature dependence and the local spatial patterns of ammonia concentrations depend on its advection, the meteorological input fields to EnsAI were limited to the surface temperature T and horizontal wind fields u and v. Ammonia has a relatively short atmospheric lifetime and individual perturbations to the ammonia concentrations are short-lived. We exploit these properties by neglecting concentration or meteorological fields from previous time steps to further reduce the size of the input. Hence, EnsAI models a diagnostic, rather than a prognostic, relationship. The EnsAI model can now be summarized as
As EnsAI describes a diagnostic relationship between variables, u, v, T, and δc in the equation above are all valid at the same time (while δe is a monthly mean parameter). We emphasize that the simplification to a diagnostic relationship will only be a reasonable approximation for short-lived species. Additionally, the original 772×642 horizontal grid of the GEM-MACH regional model, which covers all of Canada, the United States, and northern Mexico, was reduced to a 256×256 grid that cover only the central and eastern United States and Canada (displayed in Fig. 1) to further reduce memory requirements.
It is worth noting that generating the ensemble of emissions is simple, as they are constructed from a Gaussian random field as described in Sect. 2.4. In Eq. (4), the GEM-MACH model ℳGM translates the emissions ensemble into an atmospheric concentration ensemble, and the desire is for ℳEnsAI to emulate this process. This is in contrast to other AI-based geophysical systems, such as those using diffusion-based generative models (Price et al., 2023; Li et al., 2024a), that construct a latent space that is easy to sample in. In diffusion-based generative models, a diffusion process is used to add noise to an image (which in our application would correspond to an atmospheric field) until the image is dominated by noise. The goal of the noising process is for the distribution of noised images to be well described by a probability distribution that is easy to sample from. In these systems, random samples are drawn in the latent space and are then denoised using the reverse diffusion process (Song et al., 2020; Song and Ermon, 2020; Ho et al., 2020) to transform the random samples into the space of the atmospheric model. In our application, sampling from the emissions distribution is already relatively easy, so constructing and transforming into a latent space is not necessary. In both cases, samples are randomly drawn in a space where the probability distribution is relatively simple and the AI model transforms that sample to the state space of the atmospheric model. However, EnsAI can potentially be simpler than diffusion-based (or other similar) generative models since a diffusion process to denoise an image does not need to be modeled.
EnsAI is based on the popular U-Net convolutional neural network architecture (Ronneberger et al., 2015) that was originally developed for image segmentation, but has since been widely used for other applications such as diffusion-based image generation (Ho et al., 2020). The U-Net used for this study is displayed in Fig. 4, where each box represents either the model state at the input or output, which in the language of image processing can be referred to simply as an image, or the image transformed into an intermediate state often referred to as a feature map. The U-Net broadly consists of a series of convolutions and max pooling that encodes images into various feature maps, followed by a series of convolutions and upsampling to decode the feature maps back to an image. The dimensions of the horizontal grid at each stage within the U-Net is given on the left of the diagram, while the number of fields, usually referred to as channels in the current context, is displayed above each box.
Figure 4U-Net architecture used for EnsAI. Each box represents an image or feature map, where the x,y dimensions are displayed on the left and the number of channels are displayed above each box. White boxes denote feature maps that have been copied during the encoding sequence and concatenated with feature maps produced in the decoding sequence. The blue, orange, green, and purple arrows represent residual blocks, max pooling, upscaling blocks, and two-dimensional convolution, respectively. This figure is adapted from the depiction of the original U-Net architecture shown in Fig. 1 of Ronneberger et al. (2015).
The input fields to EnsAI are displayed in the upper-left corner of Fig. 4, which consists of the four input fields on the 256×256 horizontal grid. In the encoding branch of the network, the input image is sequentially transformed into feature maps with more channels and a reduction in spatial resolution to encode different image features. The decoding branch decreases the number of channels and increases the spatial resolution, with the final output having the original spatial resolution and a single channel for the atmospheric surface concentration perturbation δc (shown in the upper-right corner of Fig. 4). Details on each component of the U-Net can be found in Appendix B1.
The U-Net used for EnsAI has two downsampling layers, in contrast to many other U-Net designs that have three. Ammonia has a relatively short atmospheric lifetime which limits the scale of its advection. Consequently, its background error covariance matrix is sparse and concentrated within ∼100 km of each location. After EnsAI's two downsampling layers, at the bottleneck of the network, the network's receptive field is about 320 km (or 160 km in either direction), which should be adequately large to properly capture the spatial correlations of the error covariance matrix. Adding additional downsampling layers would increase the number of tunable model parameters beyond what is required for this particular application, although we note that longer lived species would likely require additional downsampling layers. As mentioned in Sect. 2.3, localization is applied to the ensemble covariance to remove spurious long-distance correlations due to the limited ensemble size. As the horizontal localization length scale for the ammonia emission inversions had half-width at half-maximum of 120 km (see Appendix A), any additional longer-scale features created by adding more downsampling layers would be removed after localization in any case.
An existing GEM-MACH ammonia ensemble for January to December 2016 was used for training the neural network. As mentioned in Sect. 2.3, the ensemble consisted of hourly GEM-MACH model fields. The ensemble consisted of 60 members, so the training set contained 366 d × 24 h d−1 × 60 members = 527 040 samples.
The mean squared error (MSE) was used as the loss function for training. While the MSE loss function can lead to smoothing at smaller scales, no significant smoothing was observed in our experiments. More details of the training can be found in Appendix B1.
Ensembles for January to December 2015 and July 2014 were generated to use as test and validation data sets. We note that some GEM-MACH files during January and December 2015 were either unavailable or contained erroneous values and were excluded from the test data set. As such, the test set covers slightly less than a full year's worth of data, with 1–4 January, 9–31 January, and 5–11 December excluded from the test set. As the change in total atmospheric ammonia in North America is small between these years (Van Damme et al., 2021), evaluating on the year prior to the year used for training is unlikely to be an issue.
One of the main motivations of this work is to develop a method for ensemble generation that can run significantly faster than traditional physically-based systems. The original GEM-MACH ensemble took roughly 6.5 h of wall time to generate a week's worth of simulated data per ensemble member when run on a CPU cluster using 720 computing nodes. In contrast, EnsAI when run on a single GPU took only 7 s of wall time to generate a week's worth of simulated data per ensemble member, or about 3300 times faster than GEM-MACH (see Appendix B3 for more details).
The run time comparisons above for EnsAI do not include the upfront cost of generating the GEM-MACH ensemble used for training as well as the time for training. The intent is to run EnsAI for time periods much longer than the training period, so that the long-term computational savings of running EnsAI instead of GEM-MACH for ensemble generation becomes much larger than these initial costs. For operational implementation, the desire is to only retrain EnsAI occasionally when there are significant changes in the operational version of GEM-MACH.
It is important to note that while EnsAI runs significantly faster than GEM-MACH, GEM-MACH produces forecasts for hundreds of chemical fields on 85 vertical levels, while EnsAI only produces a single surface concentration field. However, while the wealth of information produced by GEM-MACH can have many uses, the full volume of this information is not always needed for every application. Generating an ensemble of ammonia concentrations at or near the surface to be used for emissions inversions is one example where not having as much information generated is not necessarily a drawback, but where the long run times of the physically-based model may limit how often these inversions can be performed.
To provide a point of reference for the differences between the GEM-MACH and EnsAI ensemble covariances, we also examine the differences between the GEM-MACH ensemble error covariances and the model error covariances derived in a similar manner to those used operationally at ECCC for surface pollutants (Ménard and Deshaies-Jacques, 2018c; Ménard et al., 2020). ECCC's operational air quality system produces hourly surface analyses of O3, NO, NO2, SO2, PM2.5, PM10 using error statistics that have a diurnal variation, but are otherwise constant within a two-month period. We refer to these flow-independent error statistics as the “static” error covariances, although this is a bit of a misnomer as they do contain diurnal patterns. Including these comparisons will help quantify the effect of using flow-dependent error covariances over flow-independent error covariances that mirror what is currently used in operational air quality systems at ECCC.
While the ECCC operational error statistics for surface pollutants are formed using the time-average departures of a single forecast from its time-mean and adjusting the error variances using innovation statistics, to isolate the effects of including flow-dependent error covariances, the static error covariances used for this study were formed simply by computing the two-month mean of the GEM-MACH ensemble covariance for the training set (done separately for every hour of the day to retain the mean diurnal variation).
In addition to direct comparisons of the covariances, EnsAI's performance will also be evaluated by comparing the posterior ammonia surface fields to ammonia surface observations from the US's Ammonia Monitoring Network (AMoN; http://nadp.slh.wisc.edu/amon, last access: 26 October 2026) and Canada's National Air Pollution Surveillance (NAPS; https://www.canada.ca/en/environment-climate-change/services/air-pollution/monitoring-networks-data/national-air-pollution-program.html, last access: 26 October 2026) network. Ammonia observations from the AMoN network are made using Radiello® passive diffusion samplers and measure ammonia concentrations over two-week periods. The NAPS stations that monitor ammonia use citric acid-coated denuders to measure ammonia concentration over a 24 h period every three or six days. A total of 55 AMoN stations and 6 NAPS stations were within the model domain and had valid observations during the test period, the locations of which are shown in Fig. S2 of the Supplement.
In this section, the different covariances will be directly compared (in contrast to Sect. 10 that compares products of inversions that use these covariances). Although EnsAI was trained on a 60 member ensemble, it is possible for EnsAI to generate ensembles with more than 60 members. While the speed at which EnsAI can run may allow for much larger ensemble sizes, new strategies for memory management may be required for very large ensembles. In any case, to simplify the comparison between covariances, for this study the results presented for EnsAI will be for an ensemble of the same size as the original GEM-MACH ensemble.
In this section, uncertainties on quantities derived from the GEM-MACH ensemble due to the limited size of the ensemble will be estimated via bootstrapping, in which the GEM-MACH ensemble members were resampled (with replacement) 50 times. 1σ confidence intervals are illustrated on line plots by lightly-shaded region around the curve and by error bars for scatter plots. We note that for some curves the uncertainties are small enough that the confidence regions are not easily distinguished from the main curve.
9.1 Covariance Parametrization
For the direct comparison between covariances, each covariance is decomposed into variance and correlation components. The error variances can be constructed from the emissions standard deviations σe and the surface concentrations standard deviations σc, while the correlations are comprised of the univariate emissions correlations ρee, the univariate surface concentration correlations ρcc, and the emissions/surface concentration cross-correlations ρec. As EnsAI uses the same emissions ensemble {δei} as the GEM-MACH ensemble, no comparisons of σe or ρee are necessary.
While the ensemble standard deviations σc can be represented by a vector and is straightforward to display its values (for example on top of a 2D map), it is more difficult to display the correlations ρcc and ρec in full, as these represent matrices, although a single row/column can easily be shown. To aid in summarizing the information in the correlation matrices, we introduce the isotropic correlation length Liso, which we define at location x as
where ϱ is the normalized spatial correlation function defined by
Defined in this manner, the isotropic correlation length is the expectation value of distance weighted by ϱ. The factor of in this definition is included so that for a 2D isotropic Gaussian correlation model, Liso coincides with the Daley length-scale (Daley, 1993) (as well as the standard deviation of the Gaussian model). We can extend this definition to anisotropic modes m of the correlation length by introducing a multipole expansion of the correlation length as
where ϕ′ is the angle between x′ and the x-axis. With this definition, we have L[0]=Liso, L[1] is proportional to the dipole moments of the function ϱ, and L[2] is related to its quadrupole moments. More details of this expansion can be found in Appendix C.
To better understand this parameterization of the correlation length, example correlations are given in Fig. 5, with the values for L[1] and L[2] displayed in the upper left corner of each panel. In these plots, the correlation length modes are taken with respect to the origin. The isotropic correlation length L[0] is the same in each panel and the units of L[m] are set such that L[0] is equal to one. In the top row, all correlations have L[1]=0 but have varying values for L[2], which results in anisotropic correlations centered on the origin and its major axis pointing in different directions. The correlations in the bottom row of Fig. 5 have L[2] values with the same magnitude as those in the top row, but also have nonzero values for L[1], which skews the correlations in a particular direction.
Figure 5Examples of correlations and their corresponding L[1] and L[2] values, which are displayed in the upper left corner of each panel. The correlation length modes are taken with respect to the origin. The values for L[0] are the same for all panels and units are selected so that L[0]=1.
The set of covariance parameters to compare is then , where Lec[m] and Lcc[m] are the correlation length modes for the emissions/surface concentration cross-correlation and surface concentration univariate correlations, respectively. For each of these covariance parameters, we will examine the anomaly correlation coefficient (ACC) and the root mean square error (RMSE), which are defined in Appendix D. Lastly, since the comparisons of Lec[m] and Lcc[m] yielded fairly similar conclusions, our analysis will focus on Lec[m] for brevity and only some comparisons for Lcc[m] will be discussed.
9.2 Comparison Results for Error Variances
We begin with a comparison of the standard deviations of the ammonia surface concentrations σc. The top panels of Figs. 6 to 10 show time series of σc for the month of June 2015 at the five locations shown in Fig. 1. These locations correspond to the places with the highest values in the ammonia emissions inventory and are ordered with decreasing emissions. As seen in these panels, σc for the original GEM-MACH ensemble (shown with the blue curve) displays sporadic spikes associated with changing weather conditions, many of which can also be seen in σc from the EnsAI ensemble (shown with the orange curve) but not for the static error covariance (shown with the green curve). In these time series, we can see that EnsAI captures a considerable amount of the temporal variation of the GEM-MACH ensemble variances. There are some notable differences, such as EnsAI's over-prediction of variance at the location in Ohio on 4–5 June (Fig. 7) and in Pennsylvania on 6 June (Fig. 9) and under-prediction in Georgia on 23 June, but for the most part EnsAI produces values for σc that are closer to the GEM-MACH ensemble value than that derived from the static error covariances.
Figure 6Time series of components of the error covariances for the location in North Carolina (exact location shown in Fig. 1) for the GEM-MACH ensemble (blue), the EnsAI ensemble (orange), and the static covariance (green) for June 2015. The top plot shows the time series of the standard deviation of surface ammonia σc. Lower plots show time series for the horizontal correlation length modes Lec[m≤2] for the emissions/surface concentration cross-correlation.
The top panel of Fig. 11, which shows ACC(σc) throughout the test period, shows dramatic differences between EnsAI and the static covariances, with EnsAI having larger ACC values for all months. EnsAI has ACC(σc) values around 0.8 for February to November, and values around 0.4 and 0.5 for January and December, respectively. In contrast, the static covariances have values between 0.2 and 0.4 for February to November and values not far from zero for December and January, indicating that the EnsAI ensemble was much better at capturing the time variation of σc in the GEM-MACH ensemble.
The RMSE values for σc over the model domain for each month in 2015 are shown in the top panel of Fig. 12. The RMSE(σc) values for EnsAI are lower than for the static covariance values for all months, although the difference is negligible for January. While the differences in RMSE values between EnsAI and the static covariances taken over the whole model domain are less than a ppbv (see Fig. S3 for a comparison to the mean values of σc), the RMSE(σc) values near locations with high emissions can vary significantly. For instance, in the summer, the RMSE(σc) for the static covariances are close to 4 ppbv higher at the location in North Carolina than for EnsAI (see Fig. S4). In addition, the RMSE(σc) values for the static covariances are higher than that for EnsAI at nearly every point in the domain.
9.3 Comparison Results for Spatial Correlations
As an illustration of the time-dependency of the spatial correlations, Fig. 13 shows the emissions/surface concentration spatial correlation ρec at the location in North Carolina at three different times, separated by two days and all at 18:00 UTC. Looking at the correlations of the GEM-MACH ensemble in the left column of Fig. 13, we can see that the correlations are often significantly anisotropic and spread out in different directions for different days, reflecting the different meteorological conditions at each time. Comparing this to the correlation in the EnsAI ensemble in the middle column of this figure, it is evident that EnsAI can reasonably reproduce this time-dependence, as the shape of the spatial correlations between the two ensembles looks similar. In contrast, the static correlations displayed in the right column of the figure are much closer to being isotropic (at all times).
Figure 13Emissions/surface concentration spatial correlations ρec for the GEM-MACH ensemble (left column), the EnsAI ensemble (middle column), and the static covariance (right column) at the location in North Carolina at 5 June 2015 18:00 (top row), 7 June 2015 18:00 (middle row), and 9 June 2015 18:00 (bottom row).
As mentioned in Sect. 9.1, to make the examination of the correlation matrix more tractable, we examine the different modes m of the correlation length Lec[m] instead of dealing with the full correlation matrix directly. To illustrate the expansion into modes, Fig. 14 shows the correlation length modes Lec[m] as a function of wavenumbers m for the correlations in the top row of Fig. 13. In this example, the isotropic correlation lengths Lec[0] for the different covariances are between 65 and 90 km, while the anisotropic correlation length modes decrease rapidly with increasing wavenumber. Looking at the absolute value of the correlation length modes (top panel of Fig. 14), we can see that the non-isotropic modes for the static covariance are much smaller than that for the GEM-MACH and EnsAI ensembles, indicating less anisotropy in the static correlation. The EnsAI values for Lec[m] are within the 1σ confidence interval of the GEM-MACH value for many modes, and is generally much closer to the GEM-MACH values than the static covariance is. As Lec[m] decreases rapidly with increasing wavenumber, for the remainder of this paper we concentrate mainly on results for modes with m≤2 for brevity.
Figure 14Horizontal correlation length modes Lec[m] as a function of wavenumber m for the emissions/surface concentration cross-correlation at the location in North Carolina at 5 June 2015 18:00. The top, middle, and bottom panels show the absolute, real, and imaginary parts, respectively.
Time series of Lec[m] for m≤2 for the five locations identified in Fig. 1 are shown in the bottom four panels of Figs. 6 to 10. In all of these plots, Lec[m] for the EnsAI ensemble are much closer to the GEM-MACH ensemble value than the static covariance is and captures most of its time variation. While a diurnal pattern is evident in the GEM-MACH ensemble, there are significant non-diurnal time variations that are dependent on meteorological conditions. In Fig. 6, we can see that the EnsAI correlation length modes generally follow the pattern of the GEM-MACH ensemble, but the results are even more striking for the other four locations (Figs. 7 to 10), where the differences between the EnsAI and GEM-MACH ensembles are often smaller (or not much larger) than the sample variance in the GEM-MACH ensemble, or in other words, the differences between these values are statistically insignificant throughout much of the evaluation time period.
The three lower panels of Fig. 11 show the ACC values for Lec[m≤2]. For all months, EnsAI has much higher ACC values than the static covariances. The ACC(Lec[m]) values with m≤2 for the static covariances are close to zero for all cases, while the EnsAI values are above 0.5 for all cases with the exception of the m=0 mode in January and February and the m=1 mode in January, and are at or above 0.8 for for March to December. From this we can conclude that the EnsAI ensemble can accurately reproduce the time variations in the horizontal correlations (for modes with m≤2) that are not captured by the diurnal pattern of the static covariances. Similar results are seen for the ACC values for Lcc[m≤2] (see Fig. S5), although the values are closer to 0.6 for most months, in contrast to which is closer to 0.8.
EnsAI had lower RMSE values than the static covariances for all months, as seen in the three lower panels of Fig. 12. For July to December, RMSE(Lec[0]) for EnsAI is about 7 km less than the RMSE value for the static covariances, which corresponds to about a 10 % larger RMSE value for the static covariances (see Fig. S2 for the mean values of Lec[0]). In some areas of the model domain during the summer and fall, RMSE(Lec[0]) for the static covariances are over 25 km larger than the values for EnsAI (see Fig. S6), which correspond to static covariance RMSE values which are between 50 % to 490 % larger than for EnsAI. The RMSE values for taken over the whole domain are 0.02 to 0.14 less for EnsAI than for the static covariance, and between 0.02 and 0.09 lower for EnsAI for , as displayed in the two lowest panels of Fig. 12. Additionally, there are many locations within the model domain where and for the static covariances are over 0.3 and 0.2 higher, respectively, as compared to the RMSE value for EnsAI (see Figs. S7 and S8). Lastly, we note that the EnsAI RMSE values for the surface concentration univariate correlation length modes Lcc[m] are uniformly less than those for the static covariances for m≤2 (see Fig. S9).
To get an intuitive understanding of what these differences in correlation length modes correspond to in terms of spatial patterns, Fig. 15 shows another set of example correlations that illustrate the deviations in correlation length mode values mentioned in the previous paragraph. The leftmost panel of Fig. 15 shows an isotropic correlation with L[0]=65 km. For illustrative purposes, we will think of this isotropic correlation as a target correlation (i.e. from the GEM-MACH ensemble) and compare it to correlations with different L[m] values to see the difference in the spatial patterns. The correlation shown in the panel second from the left has L[m≤2] values that deviate from the isotropic correlation in the leftmost panel by amounts representative of the RMSE values found in Fig. 12 for EnsAI. This correlation is only slightly anisotropic and slightly smaller than the correlation in the leftmost panel. The correlation in the panel second from the right has values that deviate from the isotropic correlation close to the RMSE values for the static covariance in Fig. 12 and is noticeably more anisotropic than the two correlations to the left. The correlation in the rightmost panel has values that deviate from the isotropic correlation by amounts equal to differences between the GEM-MACH and static covariance values that are commonly found in the model domain (see Figs. S7 and S8), which produces a correlation with a drastically different spatial pattern than the correlation in the leftmost panel.
Figure 15Example correlations with their corresponding L[0], L[1], and L[2] values displayed at the top of each panel.
To examine the higher correlation length modes with m>2, Fig. 16 shows the ACC and RMSE values of for for June 2015. As seen in left panel of Fig. 16, the ACC value for the EnsAI ensemble is above 0.85 for m=1 and decreases with m to a value 0.56 by m=10. In contrast, the ACC values for the static covariance show little change with wavenumber and is below 0.06 for all wavenumbers. From the right plot, we can see that the RMSE values for both the EnsAI ensemble and static covariance decrease with wavenumber, as all three covariance models typically have less features on smaller scales (the decreasing values of Lec[m] with increasing m that was shown in the example in Fig. 14 is a typical feature of the horizontal correlations). The RMSE values for EnsAI are smaller than those for the static covariance for all wavenumbers, but the difference between the two decrease with increasing values of m. ACC and RMSE values for the other months of the year look similar to those from June and can be found in Figs. S10 and S11.
Figure 16ACC (left panel) and RMSE (right panel) values for the horizontal correlation length modes for the emissions/surface concentration correlation Lec[m] as a function of wavenumber m for EnsAI (orange) and the static covariance (green) for June 2015. The wavelength of the mode is displayed on the top axis.
Lastly, we mention that the performance of EnsAI is largely translationally invariant, in that only small changes are observed when the input fields are translated to a different location on EnsAI's grid (see Appendix E for more details).
Sections 9.2 and 9.3 showed the results of direct comparisons between the covariances to determine how well EnsAI replicated the GEM-MACH ensemble covariances. For some applications, such as model uncertainty quantification, the determination of the model's error covariance is the end goal. However, for inversions/assimilation, the objective is to produce an analysis (as well as forecasts initialized by the analysis in the case of assimilation). In this section, we compare emissions inversion results made using the different model error covariances, as well as a comparison of the posterior ammonia concentration fields to surface observations.
As the inversions are only sensitive to the model error covariances at times and locations near the available observations, not all differences between the error covariances will show in comparisons of the inversion results and will be dependent on the particular observations used. As such, pairing the comparison of inversion results with the direct comparison between the covariances in the previous section provides a robust examination between the different error covariances.
10.1 Emissions Inversions
The ammonia emissions increments produced using the inversion scheme described in Sect. 2 using the GEM-MACH ensemble, EnsAI ensemble, and static error covariances (denoted by ΔeGM, ΔeEnsAI, and Δestatic, respectively) can be found in Figs. S12, S13, and S14. Statistics of these increments taken over the year are shown in Fig. 17. The middle and right columns of the figure shows the bias and the standard deviation of errors (STDE) of the emissions increments from the EnsAI and static covariances inversions, respectively, which are defined in Appendix D. The left column shows the mean and standard deviation of the emissions analyses from the GEM-MACH ensemble inversions for comparison (for notational simplicity, we will not write the “a” superscript for the emission analysis is this section). From this figure, we can see that the inversions using both EnsAI and the static covariance tend to underestimate the increments in many regions, although the extent and magnitude of this underestimation is larger for the static covariances (also see Figs. S15 and S16 for plots of individual months). The STDE values for the emissions increment using the static covariances is also noticeably larger than that for inversions using EnsAI in many regions.
Figure 17Statistics for the ammonia emissions inversions taken over 2015. The left column shows the mean (top panel) and standard deviation (bottom panel) of the emissions analyses from the inversions that used the GEM-MACH ensemble. The middle column shows the bias (top panel) and STDE (bottom panel) for the emissions increments from the EnsAI inversions. The right column displays the bias and STDE for the increments from the static covariances inversions.
The differences in the total ammonia emissions within the model domain for each month are shown in the top panel of Fig. 18. These curves are expressed as percentages by dividing by the total monthly emissions (averaged over 2015) within the domain as determined by the GEM-MACH ensemble inversions. The monthly total emissions from the EnsAI inversions were within 10 % of those from the GEM-MACH ensemble inversions for all months. The monthly total emissions differences for the static covariance inversions exceeded a magnitude of 10 % for March to May and August to November and had larger differences than the EnsAI inversions for all months except December. The total monthly emissions from both the EnsAI and static covariance inversions were lower than those from the GEM-MACH ensemble inversions for February to November. The total annual emissions from the EnsAI inversions were 2.6 % lower than from the GEM-MACH ensemble inversions, but were 6.9 % lower for the static covariance inversions.
The root mean square error of the ammonia emissions increment RMSE(Δe) over the domain for each month are shown in the bottom panel of Fig. 18 (expressed as percentages relative to the mean annual emissions given by the GEM-MACH ensemble inversions). The RMSE(Δe) values for EnsAI range from 14 % to 35 %, and between 29 % and 60 % for the static covariances. The RMSE for the increments produced using EnsAI have lower values for all months as compared to the static covariances, although only slightly lower for December.
Figure 18Monthly comparison statistics for the ammonia emissions inversions between the GEM-MACH and EnsAI ensembles inversions (orange curves) and between the GEM-MACH ensemble and static covariance inversions (green curve). The top panel shows the differences between the total emissions within the domain. The bottom panel shows the root mean square error of the ammonia emissions increment RMSE(Δe).
To further examine the spatial dependency of the inversion results, Fig. 19 shows the deviations between the GEM-MACH ensemble and static covariance increments minus the deviation between the GEM-MACH and EnsAI ensemble increments for each month. In this figure, locations where the EnsAI increment is closer to the GEM-MACH ensemble increment are shown in red and locations where the static covariance increment is closer to the GEM-MACH ensemble increment are shown in blue. For most months, there are many locations where the EnsAI increment is closer to the GEM-MACH ensemble increment by between 25 and 50 mg s−1 km−2 (see Fig. 1 for comparison to the annual mean emissions). With the exception of December, more locations have the GEM-MACH ensemble increment closer to the EnsAI increment than to the static covariance increment. In December, there are larger regions where the static covariance increment is closer to the GEM-MACH ensemble increment, most notably in Ontario and Quebec, although RMSE(Δe) for EnsAI is still slightly lower than for the static covariance in December.
10.2 Posterior Surface Concentrations
GEM-MACH run with the inversion-derived emissions parameters produce the posterior ammonia surface concentrations. The posterior surface concentrations for the GEM-MACH ensemble inversions cGM has monthly means that generally ranges from 0 to 12 ppbv, with concentrations highest between April to September (see Fig. S17). The posterior surface concentrations for the EnsAI and static covariance inversions (cEnsAI and cstatic, respectively) have biases that are generally within 2 ppbv and vary between over- and under-prediction depending on the location (see Figs. S18 and S19). Additionally, a number of areas switch between over- and under-prediction depending on the month for both the EnsAI and static covariance inversions.
Figure 20 shows the differences in the magnitudes of the bias of the posterior surface concentration between the EnsAI inversions and the static covariance inversions, where regions in red indicate that the bias for EnsAI was lower than for the static covariances, and vice versa for regions in blue. From this figure, we can see that there are significantly more regions where the bias for EnsAI is lower than for the static covariances, and a number of regions have the EnsAI bias 1–2 ppbv lower than the static covariances bias. Similar figures for the STDE (Figs. S20, S21, and S22) show that the EnsAI inversions also produce surface concentrations that have lower STDE values in most areas of the domain.
10.3 Comparison to Surface Observations
We now compare the posterior ammonia surface concentrations to observations from the AMoN and NAPS networks. The monthly biases for individual stations from inversions using the GEM-MACH ensemble range from −6 to +8 ppbv, with over-predictions often found near eastern coastal regions and under-predictions more likely to be found closer to the center of the continent (see Fig. S23). The biases for individual stations from the EnsAI inversions range from being 0.5 ppbv lower to 1.3 ppbv higher than the biases from the GEM-MACH ensemble inversions (see Fig. S24). The biases from the static covariance inversions are between 0.9 ppbv lower to 2 ppbv higher than that from the GEM-MACH ensemble inversions (see Fig. S25). For both EnsAI and the static covariances, the biggest differences in bias values occur in December.
Figure 21 shows differences in the RMSE taken over 2015 for each station, where differences between the GEM-MACH and EnsAI ensembles are shown in the left panel and differences between the GEM-MACH ensemble and the static covariances are shown in the right panel. In this figure, red markers indicate the stations where EnsAI/the static covariances have lower RMSE values than for the GEM-MACH ensemble, and vice versa for the blue markers. While 38 stations had a higher RMSE for EnsAI as compared to the GEM-MACH ensemble, the increases in RMSE values were small, with 0.16 ppbv being the largest increase. EnsAI had lower RMSE values for four stations, where the reductions in RMSE were similarly small, with the largest reduction being 0.07 ppbv (the remaining 19 stations did not have a statistically significant change in the RMSE). For the static covariances, 41 stations had an increase in their RMSE, but in this case increases were as high as 0.81 ppbv. One station had a lower RMSE for the static covariances, with a decrease of only 0.01 ppbv. For stations that showed statistically significant differences, 25 stations had lower RMSE values for EnsAI than for the static covariances and four stations had lower RMSE values for the static covariances than for EnsAI.
Differences in the surface observations comparison statistics taken over the whole domain are shown in Fig. 22. Each plot shows the change in the magnitude of the bias, STDE, or correlation coefficient (r, defined in Appendix D) for each month. For each comparison statistic, each difference is composed such that a positive value indicates that EnsAI or the static covariances have improved the statistic relative to the GEM-MACH ensemble inversion, while a negative value indicates a degradation. In these plots, the bias and STDE are expressed as percentages relative to the annual mean observation value taken over all stations.
Figure 21Differences in RMSE values for AMoN and NAPS observations for 2015. The left panel shows the differences between RMSE values for the GEM-MACH ensemble (RMSEGM) and EnsAI (RMSEEnsAI), while the right panel shows the differences between the GEM-MACH ensemble and the static covariance inversions RMSEstatic. Statistically significant/insignificant differences at the 1σ confidence level are shown with a circular/square markers.
Figure 22Changes in surface observation comparison statistics for the combined set of AMoN and NAPS observations for 2015.
The monthly biases taken over all stations for the GEM-MACH ensemble are between −6 % and 43 % (see Table S1 of the Supplement for all comparison statistic values). For EnsAI, the change in magnitude of the bias as compared to the GEM-MACH ensemble range from −5 % to +4 % for January to November (top panel of Fig. 22). During these months, the static covariances changed the bias magnitude by between −6 % and +8 %. For December, the bias is degraded significantly for both EnsAI and the static covariances, although the degradation is much more severe for the static covariances (−53 % as compared to −19 %). For February, May, September, and November, the bias from EnsAI is lower than from the static covariances by 2 % to 5 %. Both EnsAI and the static covariances improve the bias in October, with a decrease of 4 % for EnsAI and a decrease of 8 % for the static covariances, and is the only month where the static covariances significantly improve the bias as compared to EnsAI.
The monthly STDE values for the GEM-MACH ensemble are between 43 % and 182 %. EnsAI noticeably improves the STDE in January, July, and October as compared to the GEM-MACH ensemble, but degrades the STDE April, August, November, and December (middle panel of Fig. 22). The static covariances improve the STDE in October, but degrade it in January, April, August, September, November, and December. The STDE values from EnsAI are lower than for the static covariances in January, April, July, September, and December, and the converse is true for August and October.
Lastly, only small changes are seen in the correlation coefficient r (bottom panel of Fig. 22). Nevertheless, EnsAI does have slightly higher correlation coefficients values than the static covariances for all months except February (although the statistical significance of this difference is low for a number of these months).
Obtaining flow-dependent model error covariances is an important part of modern data assimilation and inversion systems. Ensemble-based methods have become a popular choice for adding flow-dependence to the error covariances as it does not require the use of a model adjoint that can be time consuming to create and maintain. The downside however is the need to repeatedly run the model to generate the ensemble, which for atmospheric models can be a significant burden on computational resources.
In this work we introduced EnsAI, an AI-based ensemble generation model for atmospheric surface ammonia that can run many orders of magnitude faster than traditional physics-based models. When trained on an ensemble generated using the GEM-MACH air quality forecasting model, EnsAI can accurately reproduce many features of the original ensemble. By comparing the original GEM-MACH and EnsAI ensembles to a static error covariance, it was shown that including flow-dependence in the error covariances has a considerable effect on the covariances and that EnsAI can encode much of the meteorology-dependent features of the original ensemble. Furthermore, it was demonstrated that including only surface information in EnsAI was sufficient to reproduce most of the time-dependent features of the ensemble, thereby allowing EnsAI to produce accurate ensemble information for ammonia with much smaller memory requirements as compared to systems that require multiple vertical levels.
In emissions inversion systems, accurate emissions/concentration spatial correlations are necessary for proper spatial source attribution of observations. As such, capturing the time-dependency of these correlations is important for successful inversions. It was demonstrated that EnsAI-based emissions inversions produced very similar results to inversions performed using the GEM-MACH ensemble. Being able to generate ensembles in a fraction of the time required for physics-based models significantly eases the computational cost of running such inversion systems, thereby making it much more feasible to run frequent inversions.
EnsAI was trained on a year's worth of data from the GEM-MACH regional model, which contained data only from North America. Although this exposed EnsAI to regions with a variety of different land-use categories, agricultural types, and meteorological conditions during training, the training data may have not included drastically different meteorological conditions or chemical regimes than those seen in North America during the year used for training. As such, until further tests can be conducted demonstrating its performance in different regions, EnsAI in its present form should be considered to be restricted to its current spatial domain. Additionally, if future meteorological or chemical conditions change significantly from those in the training period, continued training (or fine-tuning) on data from future years might be necessary as this data becomes available to maintain EnsAI's accuracy.
While EnsAI was successfully implemented in an emissions inversion system for ammonia, a species with a short atmospheric lifetime, expanding EnsAI to work with longer lived species will require expanding the input capacity to the network. Most significantly, longer lived species will require EnsAI to model a prognostic relationship, which would add fields from previous time steps to the input. Input and output fields for the vertical level above the surface would also be required for long lived species.
Emissions inversions were performed using a variational algorithm, in which a cost function is minimized to find the optimal combination between a priori (background) and observational information. The cost function is minimized with respect to the increment Δx, which when added to the background state xb yields the analysis . In our case, the cost function J is given by
where is the difference between the observations y and the background in observation space. H is the (nonlinear) observation operator that maps the model state into observation space, while H denotes its linearization. The first term in the right hand side of Eq. (A1) quantifies the deviation from the background state and is weighted by the inverse of the background error covariance B. Similarly, the second term in the right hand side of Eq. (A1) quantifies the deviation from the observations and is weighted by the inverse of the observation error covariance R.
In the case of an emissions inversion where the unobserved emissions e are constrained using observations of the atmospheric concentration c, using Eq. (2), the cost function becomes
where Δe and Δc are the emissions and atmospheric concentration increments, respectively. Since we assume that uncertainties in the atmospheric concentrations are due solely to the uncertainties in emissions, the emissions and concentration increments are related to each other by
It is useful to rewrite the cost function in terms of a control vector χ, which defines the control vector transforms
where and are the square roots of Bcc and Bee, respectively. The cost function can then be expressed in terms of the control vector as
The emissions inversion then consists of minimizing this cost function with respect to the control vector χ, followed by the transformation of the optimal control vector to the emissions (or concentration) increment given by Eqs. (A4a) and (A4b).
Ensemble-variational methods are a class of variational algorithms that model the background error covariance using an ensemble and is the inversion method used in this study. As mentioned in Sect. 2.3, covariances that are formed solely from ensemble perturbations will in general have spurious correlations and low rank due to the limited size of the ensemble. As such, localization of the ensemble covariances is included, as shown in Eq. (3). With this, and can then be expressed as
where {δei} and {δci} are the emissions and concentration perturbation ensembles, respectively, diag(⋅) is the diagonalization operator, and is the square root of the localization matrix. Here, we have chosen the same localization matrix for both the emissions and concentrations, which was chosen to be isotropic with a half-width at half-maximum of 120 km with the shape prescribed by the fifth-order function of Gaspari and Cohn (1999).
B1 Components of the U-Net
Here we describe the different components that comprise the U-Net used in EnsAI. All references to graphical representations of the U-Net components refer to Fig. 4.
Residual blocks (He et al., 2016) (represented by the blue right arrows) are used throughout the network and consist of two sequential convolutional layers with a residual connection. Each convolutional layer is comprised by (in sequential order) a 3×3 two-dimensional convolution, a group normalization (Wu and He, 2018), and a Sigmoid Linear Unit (SiLU) (Hendrycks and Gimpel, 2016) activation function.
In the encoding branch, the residual blocks are used to increase the number of channels, while a 2×2 max pooling (represented by the orange downward arrows) is used to half each spatial dimension. In the decoding branch, upscaling blocks (denoted by the green upward arrows), consisting of a nearest neighbor upscaling followed by a 3×3 two-dimensional convolution, are used to double each spatial dimension and half the number of channels. Skip connections (represented by the grey dashed arrows), comprised of a copy and concatenation, are made across the encoding and decoding branches. A final two-dimensional convolution is made at the end of the decoding branch (denoted by the purple right arrow) to reduce the array to a single channel that represents the surface ammonia concentration perturbation.
B2 Network Training
Training was done on a single NVIDIA A100 GPU. The network was trained using the Adam optimizer with a batch size of 32 and learning rate of 10−4. The learning curve for the training is plotted in Fig. S1. The weights that produced the minimum validation loss were selected for the evaluation, which occurred at the 9th epoch. Selecting the weights that yielded the minimum validation loss reduces the risk of overfitting that might have occurred in the later epochs of the training.
B3 Inference
As EnsAI describes a diagnostic relationship, inference can be done in parallel and any number of different time steps could in principle be processed simultaneously. For the 7 s run time to produce a week's worth of simulated data per ensemble member that was quoted in Sect. 6, inferences were performed in batches of 16.
With the decomposition of the correlation length defined in Eq. (8), the first three modes are given by
where in these equations the correlations are computed between the origin and the point (x,y), which when expressed in polar coordinates is a distance l from the origin at an angle ϕ from the x-axis.
Examining the integral in Eq. (C1), at each angle ϕ, the integral over l is equal to the (one-sided) variance of ϱ in that particular direction. The integral over ϕ then takes the angle-averaged value of this one-sided spatial variance. As an illustration of this quantity, consider the spatial correlation function of a 2D isotropic Gaussian ρG, given by
where LG is the scale parameter of the Gaussian function, so that its normalized spatial correlation ϱG is
In this case, L[0] is given by
which shows that L[0] is equal to the Gaussian scale parameter LG in this example.
From the second line of Eq. (C2), it is apparent that the real and imaginary parts of the L[1] are proportional to the dipole moments of ϱ in the x and y directions, respectively. Functions that are symmetric about the x-axis (y-axis) will have vanishing real (imaginary) parts of L[1].
The third line of Eq. (C3) shows that L[2] is related to the quadrupole moments of the function , where the real part is proportional to the difference between the x,x and y,y quadrupole components and the imaginary part is proportional to the x,y component.
For a parameter θ, which could represent a covariance parametrization variable or a field produced by the inversions, the bias, the standard deviation of errors STDE, the root mean square error RMSE, the anomaly correlation coefficient ACC, and Pearson correlation coefficient r, are defined by
where i indexes each quantity (in space and/or time) with a total of N elements, and overbars denote the mean of that quantity. In the equations above, the superscripts “mod” and “ref” stand for “model” and “reference”, respectively. For comparisons between covariance parameters or inversion fields, “mod” will refer to either EnsAI or the static covariances, while “ref” refers to the GEM-MACH ensemble. For comparisons to surface observations, “mod” will stand for any one of the covariance models (EnsAI ensemble, GEM-MACH ensemble, or static covariances) and “ref” refers to the surface observations. In Eq. (D4), the superscript “c” refers to a climatological (or other reference) value, which for this work we take as the two-month mean value derived from the GEM-MACH ensemble for 2016.
While convolutional neural networks are in principle translationally invariant, it has been shown that in some situations, particular choices of network architecture can allow the network to deduce positional information (Kayhan and van Gemert, 2020). As a test of EnsAI's translational invariance, the input fields from the leftmost 90 grid points were translated to the 90 rightmost grid points and input into EnsAI. In this translation, a point in Nebraska is translated to the point “(d)” in Fig. 1 in Pennsylvania. Only small differences were observed in the covariance parameters after this translation (see Fig. S26), suggesting that the network is largely translationally invariant.
The source code for EnsAI (Sitwell, 2025), as well as the code used for generating the evaluation statistics, is available from https://doi.org/10.5281/zenodo.15342768 under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International license. GEM-MACH version 3.1.0 (ECCC, 2023) is available from https://doi.org/10.5281/zenodo.8346780, under the GNU Lesser General Public License. The GEM-MACH training data (Sitwell and GEM-MACH Development Team, 2026c, d) is available at https://doi.org/10.5281/zenodo.18843197 and https://doi.org/10.5281/zenodo.18843210, the validation data (Sitwell and GEM-MACH Development Team, 2026e) is available at https://doi.org/10.5281/zenodo.18820049, and the test data (Sitwell and GEM-MACH Development Team, 2026a, b) is available at https://doi.org/10.5281/zenodo.18825231 and https://doi.org/10.5281/zenodo.18839600, all under the Creative Commons Attribution 4.0 International license. The CrIS ammonia retrieval data (Sitwell and CrIS NH3 Retrieval Team, 2026) used for evaluation is available at https://doi.org/10.5281/zenodo.18865370, under the Creative Commons Attribution 4.0 International license. AMoN and NAPS observations are available at https://nadp.slh.wisc.edu/networks/ammonia-monitoring-network (last access: 26 October 2026) and https://data-donnees.az.ec.gc.ca/data/air/monitor/national-air-pollution-surveillance-naps-program (last access: 26 October 2026), respectively.
The supplement related to this article is available online at https://doi.org/10.5194/gmd-19-10283-2026-supplement.
The author has declared that there are no competing interests.
Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. The authors bear the ultimate responsibility for providing appropriate place names. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.
The author would like to thank Colin Lee for discussions on AI and GPU computing, Mark Shephard for providing advice on utilizing the CrIS ammonia retrievals, and the GEM-MACH development team for the creation and maintenance of the GEM-MACH model. The author would also like to thank Colin Lee, Dominique Brunet, Vikram Khade, and Mark Buehner for providing feedback on a draft of this manuscript.
This paper was edited by Slimane Bekki and reviewed by three anonymous referees.
Agustí-Panareda, A., Barré, J., Massart, S., Inness, A., Aben, I., Ades, M., Baier, B. C., Balsamo, G., Borsdorff, T., Bousserez, N., Boussetta, S., Buchwitz, M., Cantarello, L., Crevoisier, C., Engelen, R., Eskes, H., Flemming, J., Garrigues, S., Hasekamp, O., Huijnen, V., Jones, L., Kipling, Z., Langerock, B., McNorton, J., Meilhac, N., Noël, S., Parrington, M., Peuch, V.-H., Ramonet, M., Razinger, M., Reuter, M., Ribas, R., Suttie, M., Sweeney, C., Tarniewicz, J., and Wu, L.: Technical note: The CAMS greenhouse gas reanalysis from 2003 to 2020, Atmos. Chem. Phys., 23, 3829–3859, https://doi.org/10.5194/acp-23-3829-2023, 2023. a
Bannister, R. N.: A review of forecast error covariance statistics in atmospheric variational data assimilation. I: Characteristics and measurements of forecast error covariances, Q. J. Roy. Meteor. Soc., 134, 1951–1970, https://doi.org/10.1002/qj.339, 2008. a
Bi, K., Xie, L., Zhang, H., Chen, X., Gu, X., and Tian, Q.: Accurate medium-range global weather forecasting with 3D neural networks, Nature, 619, 533–538, https://doi.org/10.1038/s41586-023-06185-3, 2023. a
Bodnar, C., Bruinsma, W. P., Lucic, A., Stanley, M., Allen, A., Brandstetter, J., Garvan, P., Riechert, M., Weyn, J. A., Dong, H., Gupta, J. K., Thambiratnam, K., Archibald, A. T., Wu, C.-C., Heider, E., Welling, M., Turner, R. E., and Perdikaris, P.: A foundation model for the Earth system, Nature, 641, 1180–1187, https://doi.org/10.1038/s41586-025-09005-y, 2025. a
Bruhwiler, L., Dlugokencky, E., Masarie, K., Ishizawa, M., Andrews, A., Miller, J., Sweeney, C., Tans, P., and Worthy, D.: CarbonTracker-CH4: an assimilation system for estimating emissions of atmospheric methane, Atmos. Chem. Phys., 14, 8269–8293, https://doi.org/10.5194/acp-14-8269-2014, 2014. a
Buehner, M., Houtekamer, P., Charette, C., Mitchell, H. L., and He, B.: Intercomparison of variational data assimilation and the ensemble Kalman filter for global deterministic NWP. Part I: Description and single-observation experiments, Mon. Weather Rev., 138, 1550–1566, https://doi.org/10.1175/2009MWR3157.1, 2010. a
Buehner, M., McTaggart-Cowan, R., Beaulne, A., Charette, C., Garand, L., Heilliette, S., Lapalme, E., Laroche, S., Macpherson, S. R., Morneau, J., and Zadra, A.: Implementation of deterministic weather forecasting systems based on ensemble–variational data assimilation at Environment Canada. Part I: The global system, Mon. Weather Rev., 143, 2532–2559, https://doi.org/10.1175/MWR-D-14-00354.1, 2015. a
Buehner, M., Caron, J.-F., Lapalme, E., Caya, A., Du, P., Rochon, Y., Skachko, S., Bani Shahabadi, M., Heilliette, S., Deshaies-Jacques, M., Chang, W., and Sitwell, M.: The Modular and Integrated Data Assimilation System at Environment and Climate Change Canada (MIDAS v3.9.1), Geosci. Model Dev., 18, 1–18, https://doi.org/10.5194/gmd-18-1-2025, 2025. a
Cao, H., Henze, D. K., Shephard, M., Dammers, E., Cady-Pereira, K., Alvarado, M., Lonsdale, C., Luo, G., Yu, F., Zhu, L., Danielson, C., and Edgerton, E.: Inverse modeling of NH3 sources using CrIS remote sensing measurements, Environ. Res. Lett., 15, 104082, https://doi.org/10.1088/1748-9326/abb5cc, 2020. a
Chen, K., Bai, L., Ling, F., Ye, P., Chen, T., Luo, J.-J., Chen, H., Xiao, Y., Chen, K., Han, T., and Ouyang, W.: Towards an end-to-end artificial intelligence driven global weather forecasting system, arXiv [preprint], https://doi.org/10.48550/arXiv.2312.12462, 2023a. a
Chen, K., Han, T., Ling, F., Gong, J., Bai, L., Wang, X., Luo, J.-J., Fei, B., Zhang, W., Chen, X., Ma, L., Zhang, T., Su, R., Ci, Y., Li, B., Yang, X., and Ouyang, W.: The operational medium-range deterministic weather forecasting can be extended beyond a 10-day lead time, Commun. Earth Environ., 6, 518, https://doi.org/10.1038/s43247-025-02502-y, 2025. a
Chen, L., Zhong, X., Zhang, F., Cheng, Y., Xu, Y., Qi, Y., and Li, H.: FuXi: A cascade machine learning forecasting system for 15-day global weather forecast, npj Clim. Atmos. Sci., 6, 190, https://doi.org/10.1038/s41612-023-00512-1, 2023b. a
Côté, J., Desmarais, J.-G., Gravel, S., Méthot, A., Patoine, A., Roch, M., and Staniforth, A.: The operational CMC–MRB global environmental multiscale (GEM) model. Part II: Results, Mon. Weather. Rev., 126, 1397–1418, https://doi.org/10.1175/1520-0493(1998)126<1397:TOCMGE>2.0.CO;2, 1998a. a
Côté, J., Gravel, S., Méthot, A., Patoine, A., Roch, M., and Staniforth, A.: The operational CMC–MRB global environmental multiscale (GEM) model. Part I: Design considerations and formulation, Mon. Weather. Rev., 126, 1373–1395, https://doi.org/10.1175/1520-0493(1998)126<1373:TOCMGE>2.0.CO;2, 1998b. a
Daley, R.: Atmospheric data analysis, 2, Cambridge university press, 1993. a
Desroziers, G., Camino, J.-T., and Berre, L.: 4DEnVar: link with 4D state formulation of variational assimilation and different possible implementations, Q. J. Roy. Meteor. Soc., 140, 2097–2110, https://doi.org/10.1002/qj.2325, 2014. a
ECCC: GEM-MACHv3.1.0b.2, Zenodo [code], https://doi.org/10.5281/zenodo.8346780, 2023. a
Evensen, G.: Sequential data assimilation with a nonlinear quasi-geostrophic model using Monte Carlo methods to forecast error statistics, J. Geophys. Res.-Oceans, 99, 10143–10162, https://doi.org/10.1029/94JC00572, 1994. a
Fairbairn, D., Pring, S. R., Lorenc, A. C., and Roulstone, I.: A comparison of 4DVar with ensemble data assimilation methods, Q. J. Roy. Meteor. Soc., 140, 281–294, https://doi.org/10.1002/qj.2135, 2014. a
Garrigues, S., Remy, S., Chimot, J., Ades, M., Inness, A., Flemming, J., Kipling, Z., Laszlo, I., Benedetti, A., Ribas, R., Jafariserajehlou, S., Fougnie, B., Kondragunta, S., Engelen, R., Peuch, V.-H., Parrington, M., Bousserez, N., Vazquez Navarro, M., and Agusti-Panareda, A.: Monitoring multiple satellite aerosol optical depth (AOD) products within the Copernicus Atmosphere Monitoring Service (CAMS) data assimilation system, Atmos. Chem. Phys., 22, 14657–14692, https://doi.org/10.5194/acp-22-14657-2022, 2022. a
Gaspari, G. and Cohn, S. E.: Construction of correlation functions in two and three dimensions, Q. J. Roy. Meteor. Soc., 125, 723–757, https://doi.org/10.1002/qj.49712555417, 1999. a
Girard, C., Plante, A., Desgagné, M., McTaggart-Cowan, R., Côté, J., Charron, M., Gravel, S., Lee, V., Patoine, A., Qaddouri, A., Roch, M., Spacek, L., Tanguay, M., Vaillancourt, P., and Zadra, A.: Staggered vertical discretization of the Canadian Environmental Multiscale (GEM) model using a coordinate of the log-hydrostatic-pressure type, Mon. Weather. Rev., 142, 1183–1196, https://doi.org/10.1175/MWR-D-13-00255.1, 2014. a
Gong, W., Makar, P., Zhang, J., Milbrandt, J., Gravel, S., Hayden, K., Macdonald, A., and Leaitch, W.: Modelling aerosol–cloud–meteorology interaction: A case study with a fully coupled air quality model (GEM-MACH), Atmos. Environ., 115, 695–715, https://doi.org/10.1016/j.atmosenv.2015.05.062, 2015. a
He, K., Zhang, X., Ren, S., and Sun, J.: Deep residual learning for image recognition, in: Proceedings of the IEEE conference on computer vision and pattern recognition, 770–778, https://doi.org/10.1109/CVPR.2016.90, 2016. a
Hendrycks, D. and Gimpel, K.: Gaussian error linear units (gelus), arXiv [preprint], https://doi.org/10.48550/arXiv.1606.08415, 2016. a
Hersbach, H., Bell, B., Berrisford, P., Hirahara, S., Horányi, A., Muñoz-Sabater, J., Nicolas, J., Peubey, C., Radu, R., Schepers, D., Simmons, A., Soci, C., Abdalla, S., Abellan, X., Balsamo, G., Bechtold, P., Biavati, G., Bidlot, J., Bonavita, M., De Chiara, G., Dahlgren, P., Dee, D., Diamantakis, M., Dragani, R., Flemming, J., Forbes, R., Fuentes, M., Geer, A., Haimberger, L., Healy, S., Hogan, R. J., Hólm, E., Janisková, M., Keeley, S., Laloyaux, P., Lopez, Philippe abd Lupu, C., Radnoti, G., de Rosnay, P., Rozum, I., Vamborg, F., Villaume, S., and Thépaut, J.-N.: The ERA5 global reanalysis, Q. J. Roy. Meteor. Soc., 146, 1999–2049, https://doi.org/10.1002/qj.3803, 2020. a
Ho, J., Jain, A., and Abbeel, P.: Denoising diffusion probabilistic models, Adv. Neur. In., 33, 6840–6851, https://proceedings.neurips.cc/paper_files/paper/2020/file/4c5bcfec8584af0d967f1ab10179ca4b-Paper.pdf (last access: 26 October 2026), 2020. a, b
Houtekamer, P. L. and Zhang, F.: Review of the ensemble Kalman filter for atmospheric data assimilation, Mon. Weather Rev., 144, 4489–4532, https://doi.org/10.1175/MWR-D-15-0440.1, 2016. a
Huijnen, V., Miyazaki, K., Flemming, J., Inness, A., Sekiya, T., and Schultz, M. G.: An intercomparison of tropospheric ozone reanalysis products from CAMS, CAMS interim, TCR-1, and TCR-2, Geosci. Model Dev., 13, 1513–1544, https://doi.org/10.5194/gmd-13-1513-2020, 2020. a
Inness, A., Baier, F., Benedetti, A., Bouarar, I., Chabrillat, S., Clark, H., Clerbaux, C., Coheur, P., Engelen, R. J., Errera, Q., Flemming, J., George, M., Granier, C., Hadji-Lazaro, J., Huijnen, V., Hurtmans, D., Jones, L., Kaiser, J. W., Kapsomenakis, J., Lefever, K., Leitão, J., Razinger, M., Richter, A., Schultz, M. G., Simmons, A. J., Suttie, M., Stein, O., Thépaut, J.-N., Thouret, V., Vrekoussis, M., Zerefos, C., and the MACC team: The MACC reanalysis: an 8 yr data set of atmospheric composition, Atmos. Chem. Phys., 13, 4073–4109, https://doi.org/10.5194/acp-13-4073-2013, 2013. a
Inness, A., Ades, M., Agustí-Panareda, A., Barré, J., Benedictow, A., Blechschmidt, A.-M., Dominguez, J. J., Engelen, R., Eskes, H., Flemming, J., Huijnen, V., Jones, L., Kipling, Z., Massart, S., Parrington, M., Peuch, V.-H., Razinger, M., Remy, S., Schulz, M., and Suttie, M.: The CAMS reanalysis of atmospheric composition, Atmos. Chem. Phys., 19, 3515–3556, https://doi.org/10.5194/acp-19-3515-2019, 2019. a
Kayhan, O. S. and van Gemert, J. C.: On translation invariance in cnns: Convolutional layers can exploit absolute spatial location, arXiv [preprint], https://doi.org/10.48550/arXiv.2003.07064, 2020. a
Lahoz, W. A., Errera, Q., Swinbank, R., and Fonteyn, D.: Data assimilation of stratospheric constituents: a review, Atmos. Chem. Phys., 7, 5745–5773, https://doi.org/10.5194/acp-7-5745-2007, 2007. a
Lam, R., Sanchez-Gonzalez, A., Willson, M., Wirnsberger, P., Fortunato, M., Alet, F., Ravuri, S., Ewalds, T., Eaton-Rosen, Z., Hu, W., Merose, A., Hoyer, S., Holland, G., Vinyals, O., Stott, J., Pritzel, A., Mohamed, S., and Battaglia, P.: Learning skillful medium-range global weather forecasting, Science, 382, 1416–1421, https://doi.org/10.1126/science.adi2336, 2023. a
Li, L., Carver, R., Lopez-Gomez, I., Sha, F., and Anderson, J.: Generative emulation of weather forecast ensembles with diffusion models, Sci. Adv., 10, eadk4489, https://doi.org/10.1126/sciadv.adk4489, 2024a. a, b
Li, Y., Han, W., Li, H., Duan, W., Chen, L., Zhong, X., Wang, J., Liu, Y., and Sun, X.: Fuxi-en4dvar: An assimilation system based on machine learning weather forecasting model ensuring physical constraints, Geophys. Res. Lett., 51, e2024GL111136, https://doi.org/10.1029/2024GL111136, 2024b. a
Lorenc, A. C.: The potential of the ensemble Kalman filter for NWP—A comparison with 4D-Var, Q. J. Roy. Meteor. Soc., 129, 3183–3203, https://doi.org/10.1256/qj.02.132, 2003. a
Ménard, R. and Deshaies-Jacques, M.: Evaluation of analysis by cross-validation. Part I: Using verification metrics, Atmosphere, 9, 86, https://doi.org/10.3390/atmos9030086, 2018a. a
Ménard, R. and Deshaies-Jacques, M.: Evaluation of analysis by cross-validation, Part II: Diagnostic and optimization of analysis error covariance, Atmosphere, 9, 70, https://doi.org/10.3390/atmos9020070, 2018b. a
Ménard, R. and Deshaies-Jacques, M.: Error covariance estimation methods based on analysis residuals and its application to air quality surface observation networks, in: Air Pollution Modeling and its Application XXV 35, 249–253, Springer, https://doi.org/10.1007/978-3-319-57645-9_40, 2018c. a, b
Ménard, R., Cossette, J.-F., and Deshaies-Jacques, M.: On the complementary role of data assimilation and machine learning: An example derived from air quality analysis, in: Computational Science–ICCS 2020: 20th International Conference, Amsterdam, the Netherlands, 3–5 June 2020, Proceedings, Part VI 20, 212–224, Springer, https://doi.org/10.1007/978-3-030-50433-5_17, 2020. a
Miyazaki, K., Maki, T., Patra, P., and Nakazawa, T.: Assessing the impact of satellite, aircraft, and surface observations on CO2 flux estimation using an ensemble-based 4-D data assimilation system, J. Geophys. Res.-Atmos., 116, https://doi.org/10.1029/2010JD015366, 2011. a
Miyazaki, K., Eskes, H. J., and Sudo, K.: Global NOx emission estimates derived from an assimilation of OMI tropospheric NO2 columns, Atmos. Chem. Phys., 12, 2263–2288, https://doi.org/10.5194/acp-12-2263-2012, 2012a. a
Miyazaki, K., Eskes, H. J., Sudo, K., Takigawa, M., van Weele, M., and Boersma, K. F.: Simultaneous assimilation of satellite NO2, O3, CO, and HNO3 data for the analysis of tropospheric chemical composition and emissions, Atmos. Chem. Phys., 12, 9545–9579, https://doi.org/10.5194/acp-12-9545-2012, 2012. a, b
Moran, M., Ménard, S., Talbot, D., Huang, P., Makar, P., Gong, W., Landry, H., Gravel, S., Gong, S., Crevier, L.-P., Kallaur, A., and Sassi, M.: Particulate-matter forecasting with GEM-MACH15, a new Canadian air-quality forecast model, Air Pollution Modelling and Its Application XX, Springer, 289–292, https://doi.org/10.1007/978-90-481-3812-8, 2010. a
Park, S.-Y., Dash, U. K., Yu, J., Yumimoto, K., Uno, I., and Song, C. H.: Implementation of an ensemble Kalman filter in the Community Multiscale Air Quality model (CMAQ model v5.1) for data assimilation of ground-level PM2.5, Geosci. Model Dev., 15, 2773–2790, https://doi.org/10.5194/gmd-15-2773-2022, 2022. a
Pathak, J., Subramanian, S., Harrington, P., Raja, S., Chattopadhyay, A., Mardani, M., Kurth, T., Hall, D., Li, Z., Azizzadenesheli, K., Hassanzadeh, P., Kashinath, K., and Anandkumar, A.: Fourcastnet: A global data-driven high-resolution weather model using adaptive fourier neural operators, arXiv [preprint], https://doi.org/10.48550/arXiv.2202.11214, 2022. a
Pavlovic, R., Chen, J., Anderson, K., Moran, M. D., Beaulieu, P.-A., Davignon, D., and Cousineau, S.: The FireWork air quality forecast system with near-real-time biomass burning emissions: Recent developments and evaluation of performance for the 2015 North American wildfire season, J. Air. Waste. Manage., 66, 819–841, https://doi.org/10.1080/10962247.2016.1158214, 2016. a
Pendergrass, D. C., Jacob, D. J., Nesser, H., Varon, D. J., Sulprizio, M., Miyazaki, K., and Bowman, K. W.: CHEEREIO 1.0: a versatile and user-friendly ensemble-based chemical data assimilation and emissions inversion platform for the GEOS-Chem chemical transport model, Geosci. Model Dev., 16, 4793–4810, https://doi.org/10.5194/gmd-16-4793-2023, 2023. a
Peters, W., Krol, M., Van Der Werf, G., Houweling, S., Jones, C., Hughes, J., Schaefer, K., Masarie, K., Jacobson, A., Miller, J., Cho, C., Ramonet, M., Schmidt, M., Ciattaglia, L., Apadula, F., Heltai, D., Meinhardt, F., Di Sarra, A., Piacentino, S., Sferlazzo, D., Aalto, T., Hatakka, J., Ström, J., Haszpra, L., Meijer, H., Van Der Laan, S., Neubert, R., Jordan, A., Rodó, X., Morguí, J., Vermeulen, A., Popa, E., Rozanski, K., Zimnoch, M., Manning, A., Leuenberger, M., Uglietti, C., Dolman, A., Ciais, P., Heimann, M., and Tans, P.: Seven years of recent European net terrestrial carbon dioxide exchange constrained by atmospheric observations, Glob. Change Biol., 16, 1317–1337, https://doi.org/10.1111/j.1365-2486.2009.02078.x, 2010. a
Price, I., Sanchez-Gonzalez, A., Alet, F., Andersson, T. R., El-Kadi, A., Masters, D., Ewalds, T., Stott, J., Mohamed, S., Battaglia, P., Lam, R., and Willson, M.: GenCast: Diffusion-based ensemble forecasting for medium-range weather, arXiv [preprint], https://doi.org/10.48550/arXiv.2312.15796, 2023. a, b
Rabier, F., Järvinen, H., Klinker, E., Mahfouf, J.-F., and Simmons, A.: The ECMWF operational implementation of four-dimensional variational assimilation. I: Experimental results with simplified physics, Q. J. Roy. Meteor. Soc., 126, 1143–1170, https://doi.org/10.1002/qj.49712656415, 2000. a
Robichaud, A.: Surface data assimilation of chemical compounds over North America and its impact on air quality and Air Quality Health Index (AQHI) forecasts, Air Qual. Atmos. Hlth., 10, 955–970, https://doi.org/10.1007/s11869-017-0485-9, 2017. a
Rochon, Y. J., Sitwell, M., and Cho, Y.-M.: A study on harmonizing total ozone assimilation with multiple sensors, Atmos. Chem. Phys., 19, 9431–9451, https://doi.org/10.5194/acp-19-9431-2019, 2019. a, b
Ronneberger, O., Fischer, P., and Brox, T.: U-net: Convolutional networks for biomedical image segmentation, in: Medical image computing and computer-assisted intervention–MICCAI 2015: 18th international conference, Munich, Germany, 5–9 October 2015, Proceedings, part III 18, 234–241, Springer, https://doi.org/10.1007/978-3-319-24574-4_28, 2015. a, b
Shephard, M. W. and Cady-Pereira, K. E.: Cross-track Infrared Sounder (CrIS) satellite observations of tropospheric ammonia, Atmos. Meas. Tech., 8, 1323–1336, https://doi.org/10.5194/amt-8-1323-2015, 2015. a, b
Shephard, M. W., Cady-Pereira, K. E., Luo, M., Henze, D. K., Pinder, R. W., Walker, J. T., Rinsland, C. P., Bash, J. O., Zhu, L., Payne, V. H., and Clarisse, L.: TES ammonia retrieval strategy and global observations of the spatial and seasonal variability of ammonia, Atmos. Chem. Phys., 11, 10743–10763, https://doi.org/10.5194/acp-11-10743-2011, 2011. a
Shephard, M. W., Dammers, E., Cady-Pereira, K. E., Kharol, S. K., Thompson, J., Gainariu-Matz, Y., Zhang, J., McLinden, C. A., Kovachik, A., Moran, M., Bittman, S., Sioris, C. E., Griffin, D., Alvarado, M. J., Lonsdale, C., Savic-Jovcic, V., and Zheng, Q.: Ammonia measurements from space with the Cross-track Infrared Sounder: characteristics and applications, Atmos. Chem. Phys., 20, 2277–2302, https://doi.org/10.5194/acp-20-2277-2020, 2020. a
Sitwell, M.: EnsAI: An Emulator for Atmospheric Chemical Ensembles, Zenodo [code], https://doi.org/10.5281/zenodo.15342768, 2025. a
Sitwell, M. and CrIS NH3 Retrieval Team: CrIS NH3 retrieval data used in EnsAI evaluation, Zenodo [data set], https://doi.org/10.5281/zenodo.18865370, 2026. a
Sitwell, M. and GEM-MACH Development Team: GEM-MACH ensemble files for EnsAI test set (2015-01 to 2015-06), Zenodo [data set], https://doi.org/10.5281/zenodo.18825231, 2026a. a
Sitwell, M. and GEM-MACH Development Team: GEM-MACH ensemble files for EnsAI test set (2015-07 to 2015-12), Zenodo, https://doi.org/10.5281/zenodo.18839600, 2026b. a
Sitwell, M. and GEM-MACH Development Team: GEM-MACH ensemble files for EnsAI training set (2016-01 to 2016-06), Zenodo [data set], https://doi.org/10.5281/zenodo.18843197, 2026c. a
Sitwell, M. and GEM-MACH Development Team: GEM-MACH ensemble files for EnsAI training set (2016-07 to 2016-12), Zenodo [data set], https://doi.org/10.5281/zenodo.18843211, 2026d. a
Sitwell, M. and GEM-MACH Development Team: GEM-MACH ensemble files for EnsAI validation set (2014-07), Zenodo [data set], https://doi.org/10.5281/zenodo.18820049, 2026e. a
Sitwell, M., Shephard, M. W., Rochon, Y., Cady-Pereira, K., and Dammers, E.: An ensemble-variational inversion system for the estimation of ammonia emissions using CrIS satellite ammonia retrievals, Atmos. Chem. Phys., 22, 6595–6624, https://doi.org/10.5194/acp-22-6595-2022, 2022. a, b, c, d
Sitwell, M., Shephard, M. W., and Kharol, S. K.: Ammonia bidirectional flux model tailored for satellite retrieval parameter inversions, Geosci. Model Dev., 19, 4797–4815, https://doi.org/10.5194/gmd-19-4797-2026, 2026. a, b, c, d, e
Song, Y. and Ermon, S.: Improved techniques for training score-based generative models, arXiv [preprint], https://doi.org/10.48550/arXiv.2006.09011, 2020. a
Song, Y., Sohl-Dickstein, J., Kingma, D. P., Kumar, A., Ermon, S., and Poole, B.: Score-based generative modeling through stochastic differential equations, arXiv [preprint], https://doi.org/10.48550/arXiv.2011.13456, 2020. a
Thepaut, J.-N. and Courtier, P.: Four-dimensional variational data assimilation using the adjoint of a multilevel primitive-equation model, Q. J. Roy. Meteor. Soc., 117, 1225–1254, https://doi.org/10.1002/qj.49711750206, 1991. a
Van Damme, M., Clarisse, L., Franco, B., Sutton, M. A., Erisman, J. W., Kruit, R. W., van Zanten, M., Whitburn, S., Hadji-Lazaro, J., Hurtmans, D., Clerbaux, C., and Coheur, P.-F.: Global, regional and national trends of atmospheric ammonia derived from a decadal (2008–2018) satellite record, Environ. Res. Lett., 16, 055017, https://doi.org/10.1088/1748-9326/abd5e0, 2021. a
Vaughan, A., Markou, S., Tebbutt, W., Requeima, J., Bruinsma, W. P., Andersson, T. R., Herzog, M., Lane, N. D., Chantry, M., Hosking, J. S., and Turner, R. E.: Aardvark weather: end-to-end data-driven weather forecasting, arXiv [preprint], https://doi.org/10.48550/arXiv.2404.00411, 2024. a
White, E., Shephard, M. W., Cady-Pereira, K. E., Kharol, S. K., Ford, S., Dammers, E., Chow, E., Thiessen, N., Tobin, D., Quinn, G., O'Brien, J., and Bash, J.: Accounting for non-detects: Application to satellite ammonia observations, Remote Sens., 15, 2610, https://doi.org/10.3390/rs15102610, 2023. a
Wu, Y. and He, K.: Group normalization, in: Proceedings of the European conference on computer vision (ECCV), 3–19, https://doi.org/10.1007/978-3-030-01261-8_1, 2018. a
Xiao, Y., Bai, L., Xue, W., Chen, K., Han, T., and Ouyang, W.: Fengwu-4dvar: Coupling the data-driven weather forecasting model with 4d variational assimilation, arXiv [preprint], https://doi.org/10.48550/arXiv.2312.12455, 2023. a
Zhu, L., Henze, D., Cady-Pereira, K., Shephard, M., Luo, M., Pinder, R., Bash, J., and Jeong, G.-R.: Constraining US ammonia emissions using TES remote sensing observations and the GEOS-Chem adjoint model, J. Geophys. Res.-Atmos., 118, 3355–3368, https://doi.org/10.1002/jgrd.50166, 2013. a
Zupanski, M.: Regional four-dimensional variational data assimilation in a quasi-operational forecasting environment, Mon. Weather Rev., 121, 2396–2408, https://doi.org/10.1175/1520-0493(1993)121<2396:RFDVDA>2.0.CO;2, 1993. a
- Abstract
- Introduction
- Emissions Inversions
- AI Ensemble Generation
- Neural Network Architecture
- Training the Network
- Run Time Comparison
- Static Error Covariances
- Surface Observations
- Direct Comparisons of the Covariances
- Inversions
- Conclusions
- Appendix A: Ensemble-Variational Emissions Inversion
- Appendix B: Network Architecture, Training, and Inference
- Appendix C: Details of Correlation Length Decomposition
- Appendix D: Comparison Statistics
- Appendix E: Translational Invariance of the Network
- Code and data availability
- Competing interests
- Disclaimer
- Acknowledgements
- Review statement
- References
- Supplement
- Abstract
- Introduction
- Emissions Inversions
- AI Ensemble Generation
- Neural Network Architecture
- Training the Network
- Run Time Comparison
- Static Error Covariances
- Surface Observations
- Direct Comparisons of the Covariances
- Inversions
- Conclusions
- Appendix A: Ensemble-Variational Emissions Inversion
- Appendix B: Network Architecture, Training, and Inference
- Appendix C: Details of Correlation Length Decomposition
- Appendix D: Comparison Statistics
- Appendix E: Translational Invariance of the Network
- Code and data availability
- Competing interests
- Disclaimer
- Acknowledgements
- Review statement
- References
- Supplement