-
The atmospheric model used here is Version 3.9.1.1 of the Advanced Research Weather Research and Forecasting (WRF-ARW) model (Skamarock and Klemp, 2008) since it can switch from a hydrostatic solver (HDS) to a nonhydrostatic solver (NHDS) in a remarkably simple fashion. Here, an idealized 3D baroclinic-wave test case (Jablonowski and Williamson, 2006) in the idealized package was used as a representative, which simulates the evolution of a 3D baroclinic wave within a baroclinically unstable jet in the northern hemisphere, under an f-plane approximation. This test was designed to target dry dynamical cores that are based on either the hydrostatic or non-hydrostatic primitive equations, which can represent the increased nonhydrostatic effect with horizontal resolution (Fig. S1 in the Electronic Supplementary Materials, ESM).
The original experimental design of this test in the idealized package for the domain size and resolution is fixed to a mesh of 41 points in the zonal direction and 81 in the meridional direction with a horizontal resolution of 100 km, which is difficult to directly adjust in the name list. To address the target horizontal resolution that falls in the grey zone, the ICs fixed in the idealized package should be interpolated to a 10-km resolution (x401×y801). However, such a fine resolution may require high computational and storage costs. For this consideration, the 20-km resolution (x201×y401) was chosen and only the central part (x101×y121) of the domain, which basically covers the key centers of the strong westerly jet and temperature fronts (Fig. S2), was used to run the test case for the training of the NASs that were applied and evaluated at the resolutions of 20 km, 10 km, and 40 km. In addition, 50 vertical layers and a timestep of 60 s were adopted for all resolutions. Note that all physical parameterizations were switched off to eliminate the influence of any physical process, in an attempt to highlight the dynamics itself consistent with the original intention of Jablonowski and Williamson (2006) who proposed the idealized baroclinic-wave test. All model runs have a duration of one month.
To investigate the impact of reducing the domain size from 4000 km × 8000 km to 2000 km × 2400 km, Fig. 1 shows the wave evolutions of two experiments running in these two different domains with identical setups. In the original domain, a vortex system first closes at the surface layer on Day 3 (Fig. 1a), which is in great agreement with previous studies (e.g., Blázquez et al., 2013). Subsequently, the vortex gradually develops and expands with its movement from east to west. After an 11-day integration, the wave becomes stable and its magnitude stops growing, but the east-west movement still persists (Figs. 1c, d). Regarding the experiment in the reduced domain, the periodic boundary conditions in the x-direction and symmetric boundary conditions in the y-direction significantly slow down the wave evolution. Consequently, the vortex system does not close until Day 7 or later (Fig. 1f). Though the magnitude and phase speed have changed in the reduced domain relative to those in the original one, the overall wave pattern is still very similar to the original wave. Besides, the increase in the nonhydrostatic error with resolution (Fig. S3) is in accordance with that in the tests at the original domain (Fig. S1), jointly indicating that the experiment in the reduced domain can indeed represent the basic evolution of baroclinic waves.
Figure 1. The horizontal distributions of the surface pressure (hPa) (solid lines) and potential temperature (K) (color shades) from the baroclinic wave experiments by the nonhydrostatic dynamical core of the WRF using two different domains on (a, e) Day 3, (b, f) Day 7, (c, g) Day 11, and (d, h) Day 15. The top row shows the simulation results with the original domain (4000 km×8000 km), and the bottom row with the reduced domain (2000 km×2400 km). Both experiments adopted the same setups (horizontal resolution=20 km, timestep=60 s, etc.) except for the domain size. The two parallel dashed grey lines in each subfigure in the top row mark the meridional range of the reduction domain. The range of isobars is from 900 hPa to 1005 hPa, with intervals of 15 hPa for the top row and 5 hPa for the bottom row in the interest of a better view.
The workflow is shown in Fig. 2. First, an NHDS was used to provide the samples of target variable and input features in the first 12 days for training and developing the NAS. Then, the newly-developed NAS was applied to improve the HDS to correct the nonhydrostatic error. Finally, these three solvers were compared with each other for the evaluation of the new scheme. Therefore, all experiments included three runs by the nonhydrostatic, hydrostatic, and improved hydrostatic solvers (IHDS) of the WRF, which are named “NHDR”, “HDR” and “IHDR” for convenience, respectively.
-
According to the governing equations of the WRF model, the key difference between hydrostatic and nonhydrostatic dynamical core lies in the vertical momentum equation and the prognostic equation of geopotential height, which are written as:
where σ is the terrain-following coordinate based on HDP; W = μw is the mass-coupled vertical velocity in the height coordinate; V = (U, V, Ω) represents the mass-coupled 3D flux-form velocities in the x, y, σ directions;
$ \nabla = \left( {{\partial \mathord{\left/ {\vphantom {\partial {\partial x}}} \right. } {\partial x}},{\partial \mathord{\left/ {\vphantom {\partial {\partial y}}} \right. } {\partial y}}} \right) $ is the horizontal gradient operator; g is the gravitational acceleration; p is the pressure; μ is the mass per unit area; ϕ is the geopotential height; q is the mixing ratio for moisture; FW is forcing term that arises from model physics, turbulent mixing, spherical projections, and the Earth’s rotation.To solve the acoustic mode in the NHDS Eqs. (1) and (2) are combined to form a vertically implicit equation by replacing p in Eq. (1) with an expression for ϕ in accordance with the hydrostatic relation and state equation, while in the HDS, Eq. (1) simplifies to:
Within this simplification, p is first diagnosed using Eq. (3) and then the specific volume (α), geopotential height, and z-based vertical velocity (w) are diagnosed in turn. Consequently, the elemental feature that determines the impact of the nonhydrostatic integration is whether the left-side term of Eq. (3) is equal to zero. Let S
$ =\Delta\mathit{\text{σ}}\left(1/(1+\mathit{\mathrm{\mathit{q}}})\text{∂}p/\text{∂}\mathit{\text{σ}}-\mathit{\text{μ}}\right) $ , which is the product of the vertical spacing (Δσ), and the nonhydrostatic tendency (i.e., the difference between the vertical pressure gradient force and gravity) in the form of an HDP-based σ coordinate. The inclusion of vertical grid size in S aims to reduce the impact of the heterogeneous vertical layers on the magnitude of nonhydrostatic tendency at these layers. Thus, S, at time-level tn+1 (i.e., Sn+1), is the final target variable that the NN-based alternative scheme is going to obtain. For optimal performance, the forward time difference of S, i.e., ΔS = Sn+1 – Sn, is also chosen as an intermediate target variable for the NAS. Note that all of the NN emulators discussed below adopt ΔS as the target variable and that the final target, Sn+1, which works on the NAS directly, is obtained by the calculation from ΔS as predicted by NN emulators.Since there was little evidence concerning which variables significantly influence the variation of S, most of the basic variables of the WRF NHDR, including ϕ, p, μ, Ω, and potential temperature θ, were outputted to be examined by NN emulator methods. All of these variables are directly or indirectly related to the nonhydrostatic process. The “true” value of each variable, F, can be represented by the sum of its hydrostatic basal state
$ \tilde{{F}} $ and a nonhydrostatic disturbing term F' (i.e., F=$ \tilde{{F}} $ +$F' $ ). The hydrostatic value at time-level tn+1 (i.e.,$ \tilde{{F}} $ n+1) and their forward time difference (i.e., ΔF=$ \tilde{{F}} $ n+1-Fn) constitute a list of candidates for input variables of NN models.According to the integration sequence in the WRF, the solutions of μn+1, Ωn+1, and θn+1 can be easily and directly obtained before the nonhydrostatic integration when the nonhydrostatic values of ϕn+1 and pn+1, as well as Sn+1 are calculated. Therefore, the nonhydrostatic disturbing terms of μn+1, Ωn+1, and θn+1 are zero given a fixed initial value, i.e., F =
$ \tilde{{F}} $ . However, the hydrostatic values,$ \tilde{\phi} $ n+1 and$ \tilde{{p}} $ n+1, which cannot be solved directly in the NHDS, requires an extra hydrostatic diagnosis to resolve them in every small time step before the nonhydrostatic integration. In addition to the above variables, the target variable at the last time step tn (Sn), was also included in the list of input variables. To consider vertical interaction, the vertical gradients of the above variables are calculated and included in the list, except for μ, which does not vary in the vertical direction, and$ \tilde{{p}} $ n+1 whose vertical gradient equals$ \tilde{\mu} $ n+1 based on the definition of hydrostatic pressure. The complete list is shown in Table 1.Variable Input features Geopotential height: ϕ $ \tilde{\phi} $n+1 δσ$ \tilde{\phi} $n+1 Δϕ δσΔϕ Pressure: p $ \tilde{{p}} $n+1 − Δp δσΔp Potential temperature: θ $ \tilde{\theta} $n+1 δσ$ \tilde{\theta} $n+1 Δθ δσΔθ Mass per unit area: μ $ \tilde{\mu} $n+1 − Δμ − Vertical velocity in σ directions: Ω $ \tilde{\mathit { \Omega } } $n+1 δσ$ \tilde{\mathit { \Omega } } $n+1 ΔΩ δσΔΩ Nonhydrostatic tendency: S Sn δσSn − − Table 1. The 19 candidate input features in the NN. For each variable F, the prefixes “δσ” and “Δ” indicate the vertical gradient and time difference, respectively. The superscript “n+1” indicates the value at time-level tn+1. Note that the vertical gradients of μ and
$ \tilde{{p}} $ n+1 are excluded here because μ does not vary in vertical direction and the vertical gradient of$ \tilde{{p}} $ n+1 is equal to$ \tilde{\mu} $ n+1 based on the definition of hydrostatic pressure. -
The first 12-day outputs of all input and target variables from NDHR were used for training and assessment. In consideration of computation efficiency, independent vertical profiles of the input and target variables were randomly sampled from the entirety of the data with a varying number per day. The number of samples selected per day varied from 16,000 in the first 6 days to 100,000 in the last 6 days to maximize the representativeness of the samples. Because the surface vortex system in the baroclinic-wave test closes on Day 7 when the nonhydrostatic impact begins to become significant, this sampling method can increase the proportion of the samples that receive high nonhydrostatic impact from the last 6 days, while at the same time not ignoring the samples from the first 6 days when the system develops. To independently verify the NN emulator, the first 5 days and Days 7 to 11 were used for training (580,000 elements per vertical layer), and the remaining days (Days 6 and 12) (232,000 elements) were used for evaluation. All input and output values were normalized to be dimensionless on each vertical layer.
The assessment score of the NN emulators adopted here was the coefficient of determination, R2, which is defined as one minus the ratio of the mean squared error to the true variance, given as follows:
where y represents the target fields from NHDR,
$ \bar{y} $ is the mean of y, and$ \hat{y} $ is the estimated output of the NN. Except for the training score, i.e., the R2 calculated using the training dataset, the test score, the R2 calculated using the test dataset, represents a significant metric to assess the performance of NNs.
Variable | Input features | |||
Geopotential height: ϕ | $ \tilde{\phi} $n+1 | δσ$ \tilde{\phi} $n+1 | Δϕ | δσΔϕ |
Pressure: p | $ \tilde{{p}} $n+1 | − | Δp | δσΔp |
Potential temperature: θ | $ \tilde{\theta} $n+1 | δσ$ \tilde{\theta} $n+1 | Δθ | δσΔθ |
Mass per unit area: μ | $ \tilde{\mu} $n+1 | − | Δμ | − |
Vertical velocity in σ directions: Ω | $ \tilde{\mathit { \Omega } } $n+1 | δσ$ \tilde{\mathit { \Omega } } $n+1 | ΔΩ | δσΔΩ |
Nonhydrostatic tendency: S | Sn | δσSn | − | − |