天气预报模式

 

  本文介绍了数值大气模拟的基本原理。首先,本文解释了如何将流体力学的一般和连续方程转变为这些方程的离散化形式,随后展示了如何将方程转化为高性能的计算机程序,即大气模式。大气模式可以通过气象观测数据构建的初始状态计算出大气的未来状态,因此,大气模式是数值天气预报系统的核心。

1. 什么是大气模式?

  大气模式是模拟大气行为的计算机系统。是一个可以用来研究并更好理解大气过程的数值试验工具,也可用来辅助预测天气和气候。

  流体力学定律是描述大气状态演变的基本定律。它描述了流体(液体或气体)从其假定的初始状态随时间的演变过程。它的一般形式是通用的,因此适用于许多差异很大的场景,例如描述飞机周围的空气流动,管道或河流中水的运动,风力涡轮机周围的声波传播,或者烟雾从烟囱上升的过程。这些方程也使得描述海洋和大气等地球物理流体的演变成为可能,这也是大气模式领域的热点问题。研究大气时,流体力学定律被用来预测大气参数,如风、温度、气压和湿度。因为参数之间有很多交叉的相互作用,所以方程都非常复杂。这些方程涉及到的过程包括了从行星的尺度到雨滴的尺度,跨度很大,这些过程与下垫面(陆地、海洋、植被覆盖,见生物圈、水圈和冰冻圈模型)和空间的相互作用也有很大不同。它们的极端复杂性特别是非线性,使方程没有解析解。因此,唯一的解决办法就是用近似的数值技术来计算从初始状态开始的演化。这种被称为分析场的初始状态,本身就是利用高度复杂的数学过程和数值方法来同化大气观测得到的结果(参见气象资料同化)。

  大气流体本质上是一种由干空气(20%氧气,80%氮气)和水汽组成的气体,其他气体,如臭氧或二氧化碳,浓度很低(见地球的大气层和气体层)。然而,这些痕量气体在大气的能量平衡中起着至关重要的作用。在大多数天气事件所发生的气层中,对流层、温度和气压条件可能会导致水的相变。因此,水汽可以转化为液体或凝结成冰,形成云和降水。然而,如果要考虑这些相变,在正确地对大气运动建模的过程中,就需要格外关注那些具有非线性阈值因此很难转化为方程的现象。

  在数值天气预报(NWP)的背景下(见天气预报介绍),大气模式是业务预报中心实施的“数据同化-计算-预报”循环中的一个环节。它必须能给出高质量的预测,同时还要兼顾快速和稳健,才能按时、准确地提供预报员所需的信息。

2. 流体力学方程

  描述了流体力学和热力学基本原理的欧拉方程组是大气模式的基础。这些方程不适用于单个的气体分子,而适用于一个空气团。理想情况下,我们假设空气团既大到包含了足够多的分子来定义温度和压力等统计参数,又小到在广阔的大气环境中可以被同化为一个点。该系统包含三个主要方程:

  • 力学方程描述了力施加给气团时,气团运动的加速度和力的函数。在水平方向上,这个方程可以计算出风的加速度,它是压力和地球自转引起的科里奥利惯性力的函数。在垂直方向上,运动的加速度受重力和阿基米德力的控制。
  • 总能量守恒方程与由运动方程导出的动能方程相结合,可以得到温度(或由温度导出的另一个量,如焓、熵)的方程。特别是,它描述了太阳辐射、地球或云层发射的红外辐射以及由水的状态变化(蒸发吸热、凝固放热)引发的对温度的影响。
  • 质量守恒方程保证了气团的不同成分之间的守恒。

  在这三个方程的基础上,补充了气体状态方程和热力学定律,前者在温度、压力和密度三个热力学参数中建立联系,后者描述了水的相变。

环境百科全书-天气预报-滤波
图1. 使用均值算子进行滤波的概念图解。
黑色曲线表示的是欧拉方程的解,同时包含了大尺度变化和非常小尺度的波动。蓝色曲线表示较大蓝色方框内的平均解。我们看到,如果我们选择在这么大的窗口内对解进行平均,我们将丢失方程解中包含的所有关于变化的信息。如果我们选择一个较小的窗口进行平均,例如这里的红框内的部分,我们就可以过滤黑色曲线上出现的小的波动,但保留了大尺度的变化趋势(见红色曲线部分)

  例如,欧拉方程能够描述地球表面附近的每一个小漩涡,或者地球表面的障碍物周围的气流,但是在实践中,我们用来求解这些方程的计算机的算力还不足以计算出所有这些细节上的演变。因此,简化欧拉方程,只保留气象学的必需项是一项十分必要的工作。简化的第一步是在时间和空间上对原始方程进行平均,以便过滤掉无法用方程描述的快速和小尺度的空间过程。作为这种平均操作的结果,由方程预测的诸如风或温度之类的大气参数不再表示一小块空团的风或温度,而是表示了在一个大到足以包含大量小涡流的空间范围内的平均值,但同时这个空间也不会很大,使得这些平均参数仍然包含了足够多的变化细节,用于描述要预测的天气现象(图 1)。

  简化的第二步是分析方程中每个项的量级,以便消除相对于平均后的方程尺度可以忽略的那些项。例如,大气模式中的经典近似是流体静力近似,它忽略了垂直运动方程中的垂直加速度。方程式中的保留的项–重力和阿基米德力–必须相互平衡。因此,在这种构造下,由流体静力学方程(也称为原始方程)包括的平均参数总是处于流体静力平衡状态。换句话说,在这样的模式中,应用于方程的空间和时间上的滤波让实现流体静力平衡的调整过程被视为一个非常快速的过程,不再由方程细致地描述。特别是传播速度极快的声波垂直传播,气象学领域对这一部分并不关注,流体静力学方程也不再考虑声波的垂直传播。对方程进行滤波也是数值模式保持稳定的一个优势(见第3节)。只要大气参数是在水平方向截面大于几公里的范围内的平均值,流体静力近似就是有效的。然而,对于更精细的尺度,显式地描述非静力瞬变过程可能变得很重要。

  如果说滤波操作使方程失去了求解大气流体的每一个小细节的可能性,但他保留了表示这些波动对平均场的总体影响的可能性。考虑到与下垫面的交换(生物圈、水圈和冰冻圈模型),这种可能性尤其重要,因为这涉及非常精细和快速的湍流尺度过程。现有的经过实践验证的统计回归规律使得我们能够将地表之上几百米处的小涡旋和微环流的集体效应与这一层的风、温度、湿度的平均演变联系起来。这些统计定律构成了小模式的基础,再把它们集成到全球模式中,称为物理参数化

  水汽会变成水滴或冰晶,随后可以蒸发或者融化,这一系列水的相变不能用平均方程来明确描述。为了能描述它们,有必要采用另一类参数化方案,它基于大量的水滴或冰晶的行为进行统计学描述,被称为云微物理方案

  建模人员还面临着额外的难题,即如何用模式表示因为存在平均垂直速度,而小到不能通过气流上升而产生的云。描述水平范围较小的云(如积云或积雨云)的专门参数化既解决了垂直速度波动问题,也解决了水的相变问题。这些被称为对流方案的参数化是正确表示热带地区能量交换的关键要素之一,从而确保模式可以维持气候的平衡。

  建立大气与来自太空的太阳辐射和主要由地球表面发射的红外辐射之间的所有相互作用的模型也是非常有必要的,但这些影响必须经过大量的简化,使辐射的参数化满足业务中心生产预报的限制。

  一般而言,大气模式建模人员将方程组中可以直接表示成子系统(称为动力过程)中平均参数的函数的项,与需要在第二个子系统(称为物理过程)中进行参数化过程的项分开,这两个子系统之间的耦合构成了一个大气模式。

3. 离散化算法和数值算法

环境百科全书-天气预报-离散化大气
图2. 在水平方向和垂直方向上进行离散化的大气示意图。[来源:Laurent Fairhead,巴黎动态气象实验室]
  将大气进行离散化表示是得到平均方程组数值解的基础,它们使得我们可以计算定义在三维网格中每个网格内的大气参数的连续状态(图2)。网格的大小定义了模式的水平和垂直分辨率,并且分辨率大小必须与已应用于方程的平均运算符的特征尺度一致。

  这些方程不是针对每个网格独立求解的,实际上,描述各种量的在水平和垂直方向上变化的表达式,以及描述这些量随风传输的表达式,都涉及到相邻网格中的值。另一方面,参数化过程也通常涉及使用沿着垂直方向的所有网格进行计算(例如,描述降雨和海洋表面蒸发的水汽通过湍流向上输送的过程)。

环境百科全书-天气预报-时间演变离散化
图3. 数值预报模式中对时间演变进行离散化处理的示意图。在执行开始时,由数据同化产生的分析数据作为模式的初始值。然后,该模式计算该初始条件在时间步长上的演变(例如,在 ECMWF,高分辨率模式的时间步长为7.5分钟)。前一个时间步长后的计算结果被用到下一个时间步长内的参数演化的计算当中,依此类推。根据模式的不同,模式预测的大气状态会按特定的时间存储,比如每小时、每3小时或每6小时。

  方程的离散化不仅发生在空间上,也发生在时间上。在时间尺度上,时间步长的概念就相当于空间中网格的大小,它将大气模式估算的两个连续的大气状态分离开(图3)。

  即使是最复杂的数值方案,也是一种近似求解的方法,当模式的时空分辨率变得非常精细时,其解收敛于精确解。因此,模式的分辨率随着计算机算力的提高而增加。

  必须保证在模拟过程误差水平保持稳定。如果某些条件不满足,某些数值方案的误差将会显而易见地快速增长。一个被称为 CurrentFriedrich-Levy 条件或 CFL 条件[1]的稳定性约束因素,规定一个网格中的风在单位时间步长内携带的空气体积不能超过网格的大小。如果数值方案不满足这一条件,则误差会增加至无穷大,此时方案会变得不稳定,或者说模式就爆炸了。

  过去人们已经提出了许多建模方案,而且每年都会有新的方案问世。建模师所面临的难题在于如何在计算时间的精确度、稳定性和效率之间做出最佳的取舍。这些选择和要使用的计算机体系结构也息息相关。

环境百科全书-天气预报大气模式水平网格
图4. 大气模式使用的水平网格类型示例:
大气模式使用的水平网格类型示例:目前在英国气象局等地使用的规则经纬网网格、德国二十面体非流体静力(ICON)模式中使用的三角形网格、六边形网格、法国气象局大尺度小尺度研究行动(ARPEGE)模式使用的倾斜和拉伸的高斯网格、加拿大使用的阴阳网格、立方体球面网格。

  即使所有模式都基于相同的方程组,但在实践中,不同的模式的具体实现可能会有很大的不同。在水平方向上,网格的大小多种多样(图4),包括了由纬线和子午线交叉得到的简单规则网格和具有六边形或三角形格网的网格。一些更奇怪的网格,如立方体球体或阴阳网格,其数学性质十分有趣,特别是它们在两极处并不体现奇点的性质。在某些情况下,网格类型取决于所选用的数值方法。法国气象局的全球模式和欧洲中期气象预报中心(ECMWF)的模式使用了一种数学变换,该变换使用球谐函数来投影参量场。为了使这种变换准确,有必要使用高斯格网[2]。法国气象局也会对格网进行拉伸,以提高法国上空的分辨率。

环境百科全书-天气预报-大气垂直方向离散化
图5. 常见的大气垂直方向离散化的示意图。
蓝色的线描绘了模式计算的平均参数所在的位置。这些高程水平线在靠近地表面时随地形起伏,并在海拔较高时趋于水平线。模式用高程水平线上计算的参数表示层中的平均值,即图中红线之间的部分。(见参考文献[3])[来源:Malardel,2009。]
  在垂直方向上,一些模式使用高度定义的高程水平线来划分大气层,其他模式使用气压来定义垂直方向上的网格。通常,这些水平线并不是严格意义上的水平线,而是符合地形起伏的形状,至少在模式的最低层是这样(图 5)。

  除了为整个大气层提供预报的全球模式,和对于季节或气候等长期变化进行预测的版本外,有许多区域模式只针对给定区域进行计算。在这些区域限定的模式中,计算点数量的减少使得模式得以提高分辨率,并更好地优化该区域的参数化。区域模式的局限性之一是需要将区域边缘上的解与较低分辨率的全球模式提供的解相耦合。区域性传播误差的一个重要来源就是耦合技术,这也限制了这类预测的可持续时间。

环境百科全书-天气预报-卫星观测图与合成图
图6. 2016年10月15日格林威治时间12点卫星观测产生的图像(上图)与ECMWF模式提前12小时预报产生的相应合成图像之间的比较。

  并不是模式在每个时间步长模拟出来的场都会被存储,只有用户所需要的预测时间的数据会被储存。温度、风或重力位势高度等原始参数场被插值到预报员通常使用的等压层。云参数化直接可以提供云量和地面降水信息。从模式的原始输出中确定出的许多其他参数可以帮助预报员分析大气行为,并将预测的数值与实时获取的新观测结果进行比较。因此,对于地表参数需要常规化制图,如地表2米处的温度、地表10米处的风、阵风,以及卫星图像或合成雷达图像(图 6)。模式的输出是专业预报员最主要的信息来源(参见预报员的作用),他们利用这些数据对未来几天的天气的演变情况提供最优预报,并对全球各个地区的预报进行必要的改进。

4. 计算机程序和超级计算机的挑战

  2016年运行的预测模式包括数百万个网格,每个网格大约有10个变量,时间步长为几分钟。他们需要解1亿多个复杂的方程式才能产生一小时的预报。只有使用最强大的计算机,以及高效的算法,才能足够快地产生预报,并及时地传送给预报员。

环境百科全书-天气预报-ECMWF模式基准曲线
图7. 水平分辨率 10km、垂直分层137层的 ECMWF 模式,在不同计算机配置下的基准曲线示例 [来源:G.Mozdzynski,ECMWF]。 
不同的曲线给出了系统可以执行的最大预测天数,具体取决于赫克托和泰坦超级计算机上使用的处理器数量以及不同的系统配置。目前,实际运行上的最低要求是在不到一小时的时间内产生10天的预报,或至少达到每天可以生成240天的天气预报。绿色曲线显示,在2011系统的 Hector ECU 上,系统并行化远非最佳,因为性能没有随着处理器数量的增加而提高(甚至反而降低了)。紫色曲线则显示出,在并行计算方面,系统的性能有了显著的提高。

  快速计算的关键之一是能够分散计算,以便使超级计算机的不同处理器并行工作。这种并行化要求将处理器之间的通信降到最少,因为这些通信通常比处理器的本地计算能力慢得多。这些不断演变的技术约束要求模型师不断调整数值格式,以适应超级计算机的新特性。无论是对当前计算机技术的计算速度,还是对未来可能技术的预测速度,都要定期进行比较测试,以评估模式在计算速度方面的效率(图 7)。因此,大气模式其实是由几十个人并行开发和维护的数百万行计算机代码。它是业务化天气预报中心数据同化和高分辨率预报周期的核心。它还被用来产生集合预报中每个成员的扰动预报(见集成预报)。与海洋模式耦合后,它也可用于生产月度和季节性预报,以及监测气候变化(见季节预测)。

  大气数值模拟已经并且必须继续解决以下问题:

  • 分辨率的增加,因此导致计算次数的增加,
  • 要模拟的过程的增加(例如,大气化学过程的增加),
  • ECU中处理器数量的增加,
  • 超级计算机功耗的增加,
  • 程序行数的增加,
  • 要处理和输出、存储的数据量的增加。

  未来几年内的一个重要挑战是提高现有模式的可扩展性,即它们在适应上述这些所有变化的同时,仍然是可供所有研究人员和开发人员使用的天气预报工具。

 


参考资料及说明

封面图片:2016年10月10日使用ECMWF数字模式预测的格林威治时间2016年10月17日00时布列塔尼地区的气温(黑色数字:以摄氏度表示的温度;红色十字:网格中心)。

[1] Coiffier, 数值天气预报的元素,《课程与手册》,法国气象局。

[2] Malardel, N. Wedi, W. Deconinck, M. Diamantakis, C. Kuhnlein, G. Mozdzynski, M. Hamrud,Smolarkiewicz : A new grid for the IFS, 2016, ECMWF Newsletter 146.

[3] Malardel, 气象学基本要素,第二版,2009,2009, Cépadues éditions


环境百科全书由环境和能源百科全书协会出版 (www.a3e.fr),该协会与格勒诺布尔阿尔卑斯大学和格勒诺布尔INP有合同关系,并由法国科学院赞助。

引用这篇文章: MALARDEL Sylvie (2024年3月11日), 天气预报模式, 环境百科全书,咨询于 2024年7月27日 [在线ISSN 2555-0950]网址: https://www.encyclopedie-environnement.org/zh/air-zh/weather-forecasting-models/.

环境百科全书中的文章是根据知识共享BY-NC-SA许可条款提供的,该许可授权复制的条件是:引用来源,不作商业使用,共享相同的初始条件,并且在每次重复使用或分发时复制知识共享BY-NC-SA许可声明。

Weather forecasting models

This article presents the basic principles of numerical atmospheric modelling. First, it explains how to move from general and continuous equations of fluid mechanics to a discretized version of these equations. Then it shows how they can be translated into high-performance computer programs, the atmospheric models, which calculate the future state of the atmosphere from an initial state constructed using meteorological observations. The atmospheric model is thus the heart of operational numerical weather prediction systems.

1. What is an atmospheric model?

An atmospheric model is a computer system that simulates the behaviour of the atmosphere. It is used either as a numerical laboratory to study atmospheric processes and better understand them, or as a tool to help predict weather or climate.

The basic laws that describe the evolution of the state of the atmosphere are those of fluid mechanics. They express the evolution over time of a fluid (liquid or gas) from its supposedly known initial state. Their general shape is universal and therefore valid in very different contexts, for example the flow of air around an aircraft, the circulation of water in pipes or rivers, the propagation of sound waves around a wind turbine, or the rise of smoke from a chimney. These equations also make it possible, and this is what we are interested in for atmospheric models, to describe the evolution of the geophysical fluids that are the oceans and the atmosphere.

In the case of the atmosphere, the laws of fluid mechanics are formulated to predict atmospheric parameters such as wind, temperature, pressure and humidity. These are very complex equations because there are many cross interactions between these parameters. These equations also involve processes at very different scales, from the scale of the planet to that of the raindrop, as well as interactions with the underlying surface (land, sea, vegetation cover, see Biosphere, hydrosphere and cryosphere models) and space. Their extreme complexity, due in particular to their non-linearity, precludes their analytical solution. The only way out is therefore to use approximate numerical techniques to calculate the evolution of an initial state. This initial state, called analysis, is itself manufactured using highly sophisticated mathematical and numerical methods for assimilating atmospheric observations (see Assimilation of Meteorological Data).

The atmospheric fluid is essentially a gas composed of dry air (20% oxygen, 80% nitrogen) and water vapour. Other gases such as ozone or carbon dioxide are present with very low concentrations (see The Earth’s Atmosphere and Gas Envelope). However, these minority gases play an essential role in the energy balance of the atmosphere. In the layer where most weather events occur, the troposphere, temperature and pressure conditions can lead to phase changes in the water. Water vapour can thus be transformed into liquid or ice condensates which constitute clouds and precipitation. However, taking into account these phase changes, phenomena with very non-linear thresholds and therefore difficult to translate into equations, is essential to correctly model the behaviour of the atmosphere.

In the context of numerical weather prediction (NWP) (see Introduction to Weather Forecasting), the atmospheric model is one of the links in the “data assimilation – calculation – forecasting” cycle implemented in operational forecast centres. It must not only produce good quality forecasts, but also be fast and robust in order to produce the information needed by forecasters on time and without fail.

2. The equations of fluid mechanics

The Euler system of equations, which expresses the fundamental principles of fluid mechanics and thermodynamics, forms the basis of an atmospheric model. These equations do not apply to a gas molecule but to a parcel of air. It is assumed to be both large enough to contain enough molecules for statistical parameters such as temperature and pressure to be defined and small enough to be assimilated to a point in the vastness of the atmospheric environment.

This system contains three main equations:

  • The mechanical equation that expresses the acceleration of the motion of an air parcel as a function of the forces applied to it. In a horizontal plane, this equation gives the wind acceleration as a function of the pressure forces and the Coriolis inertial force due to the Earth’s rotation. On the vertical, the acceleration of the movement is controlled by gravity and by Archimedes’ force.
  • The total energy conservation equation which, combined with the equation for kinetic energy deduced from the equation of motion, provides an equation for temperature (or another quantity derived from temperature such as enthalpy or entropy). In particular, it describes the effects on temperature of solar radiation, infrared radiation emitted by the Earth or clouds, and those associated with any change in water status (evaporation cools, condensation heats up).
  • The mass conservation equation that ensures the conservation of the different components of an air parcel.

To these three equations, we add the gas state equation which links the three thermodynamic parameters, temperature, pressure and density as well as the thermodynamic laws describing the phase changes of water.

Encyclopédie environnement -prévision météorologique - notion de filtrage par un opérateur de moyenne - filtering by average operator - forecast weather
Figure 1. Illustration of the notion of filtering by an average operator: the black curve represents a solution of the Euler equations that contains both large scale variations and very small scale variations. The blue curve represents the average solution over large blue volumes. We see that if we choose to sample the solution with these large volumes, we lose all information on the variability of the solution. If we average on smaller volumes, for example here, the red volumes, we filter the small variations present on the black curve, but we keep the large scale variations (red curve)

Euler’s equations are able, for example, to describe each small vortex in the vicinity of the Earth’s surface or each diversion of air currents around an obstacle. But the capacity of the computers that will allow us to solve these equations is not yet sufficient to calculate, in practice, the evolution of all these small details. It is therefore necessary to simplify Euler’s equations in order to keep only the essential terms for meteorology. The first step in simplification is to average the original equations in time and space in order to filter the fast and small-scale spatial processes that cannot be described. As a result of this averaging operation, atmospheric parameters such as wind or temperature that are predicted by the equations no longer represent the wind or temperature of a small parcel of air but the average of these parameters in a volume large enough to contain a large number of small eddies and small enough that the averaged parameters still contain the variability necessary to describe the weather phenomena that are to be predicted (Figure 1).

In a second step, the order of magnitude of each of the terms of the equations is analyzed in order to eliminate those that become negligible at the scales still described by the average equations. For example, a classic approximation in atmospheric models is the hydrostatic approximation, which neglects vertical acceleration in the vertical equation of motion. The remaining terms in the equation – gravity and Archimedes’ force – must then balance each other. Consequently, the mean parameters described by the hydrostatic equations (also known as primitive equations) are, by construction, always in hydrostatic equilibrium. In other words, in such a model, the adjustment to hydrostatic equilibrium is treated as a very fast process that is – filtered by the spatial and temporal means applied applied to the equation – then no longer explicitly described by these equations. Hydrostatic equations in particular no longer represent the vertical propagation of acoustic waves, which are so fast that they have little direct interest in meteorology. Their filtering is also an advantage for the stability of numerical models (see section 3). The hydrostatic approximation is valid as long as the atmospheric parameters are averaged in volumes with a horizontal section greater than a few kilometres. However, for finer representations, it may become important to explicitly describe non-hydrostatic transient processes.

The filtering operation, if it removes the possibility of solving every small detail of the atmospheric fluid by the equations, leaves the possibility of representing the collective influence that these fluctuations have on the mean fields. This possibility is particularly important to take into account exchanges with underlying land surfaces (link to article Biosphere, hydrosphere and cryosphere models), which involve very fine and rapid turbulent scale processes. Statistical regression laws that have been established and validated by experience make it possible to link the collective effect of small eddies and micro-circulations in the first few hundred metres above the surface to the average evolution of wind, temperature and humidity in this layer. These statistical laws are the basis for small models, integrated into the global model, called physical parameterizations.

The phase changes of water vapour into droplets or ice crystals that can then evaporate or melt cannot be explicitly described by the averaged equations. To represent them, again, it is necessary to adopt another family of parameterizations based on statistical descriptions of the behaviour of populations of drops or crystals called cloud microphysics schemes.

The modeler has an additional difficulty to represent clouds that are too small to be created by ascents due to the average vertical velocity. Specialized parameterizations to describe clouds of low horizontal extension such as cumulus or cumulonimbus address both vertical velocity fluctuations and water phase changes. These parameterizations, known as convection schemes, are one of the key elements to correctly represent energy exchanges in tropical regions and thus ensure that climate balances are maintained in the model.

It is also necessary to set up all the interactions between the atmosphere on the one hand and, on the other hand, the solar radiation coming from space and the infrared radiation which is mainly emitted by the earth’s surface. These effects must be greatly simplified to make the parameterization of radiation compatible with the constraints of forecast production in the operational centres.

In general, atmospheric system modellers separate the terms of the equations that are expressed directly as a function of the average parameters in a subsystem, called dynamics, from the terms that require the development of parameterizations placed in a second subsystem called physics. It is the coupling between these two subsystems that constitutes an atmosphere model.

3. Discretization and digital algorithms

Encyclopédie environnement -prévision météorologique - schéma atmosphère - representation discretized atmosphere
Figure 2. Schematic representation of the discretized atmosphere on the horizontal and vertical. [Source: Illustration by Laurent Fairhead, Laboratoire de Météorologie Dynamique, Paris]
The numerical diagrams that solve the system of averaged equations are based on a discrete representation of the atmosphere. They make it possible to calculate the successive states of the atmospheric parameters defined within each mesh of a three-dimensional grid (Figure 2). The mesh size defines the horizontal and vertical resolutions of the model and must be consistent with the characteristic scale of the average operator that has been applied to the equations.

The equations are not solved independently for each mesh. Indeed, the expression of horizontal and vertical variations of the various quantities as well as that of the transport of these quantities by the wind, involve values in the neighbouring meshes. Parametrizations, on the other hand, often involve calculations along all the meshes of a vertical column (to describe, for example, the rainfall or the turbulent upward transport of water vapour that evaporates at the ocean surface).

representation of discrete temporal evolution in a numerical prediction model
Figure 3. Schematic representation of discrete temporal evolution in a numerical prediction model. At the beginning of the execution, the model is initialized with the analysis that was produced by the data assimilation. The model then calculates the evolution of this initial condition over a time step (for example, at the ECMWF, the time step of the high-resolution model is 7.5 minutes). The result of the calculation after a time step is used to calculate the evolution during the next time step and so on. The state of the atmosphere predicted by the model is stored at certain times, every hour, 3 hours or 6 hours depending on the models.

The discretization of the equations does not only occur in space but also in time. The time step, which is the time equivalent of the mesh size in space, separates two successive estimates of the state of the atmosphere by the model (Figure 3).

Numerical schemes, even the most sophisticated ones, are methods of approximate resolution whose solution converges on the exact solution when the patio-temporal resolution of the model becomes very fine. For this reason, the resolution of the models increases as the capacity of the computers increases.

It must be ensured that the error level remains stable during the simulation. Some numerical schemes can indeed see their error grow very quickly if certain conditions are not met. A classical stability constraint, known as the Current-Friedrich-Levy condition or CFL condition [1], specifies that the wind in a mesh must not carry the air present in that mesh more than the size of a mesh in a single step of time. If this condition is not verified in the scheme, the error increases until it reaches infinitely large numbers, the scheme becomes unstable, it is said that the model explodes.

Many modeling schemes have been proposed in the past and new ones are still published every year. The difficulty for the modeler is to make the choices that allow the best compromise between precision, stability and efficiency in computation time. These choices are not independent of the architecture of the computer that will be used.

Encyclopédie environnement -prévision météorologique - type de grilles horizontales utilisées par les modèles atmosphériques
Figure 4. Example of horizontal grid types used by atmospheric models: regular latitude/longitude grid currently used, for example, in the Met. Office in the United Kingdom, triangular grid of the ICON model in Germany, hexagonal grid, Gaussian grid tilted and stretched of the ARPEGE model of Météo-France, Yin-Yang grid used in Canada, cube-sphere grid.

Even if all models are based on the same system of equations, in practice, each implementation can vary widely from one model to another. On the horizontal, there is a wide variety of possible mesh sizes (Figure 4) ranging from a simple regular grid along circles of latitude and meridians to grids with hexagonal or triangular meshes. Some stranger meshes, such as the cube sphere or the Yin-Yang grid, have interesting mathematical properties, in particular, they do not present any singularity at the poles. In some cases, the type of grid is imposed by the chosen numerical method. The global model of Météo-France and the model of the European Centre for Medium-Range Meteorological Forecasting (ECMWF) use a mathematical transformation that projects the parameter fields on the basis of mathematical functions, the spherical harmonics. For this transformation to be accurate, it is necessary to use a Gaussian grid [2]. In Météo-France, the grid is also stretched to increase the resolution over France.

vertical discretization of the atmosphere
Figure 5. Diagram showing a common example of vertical discretization of the atmosphere. The levels where the average parameters calculated by the model are positioned are drawn in blue. These levels follow the terrain when they are near the surface and become horizontal at higher elevations. The parameters calculated on the levels of the model represent an average value in a layer, limited on this diagram by red lines (See ref.[3]) [Source: Malardel, 2009.]
In the vertical direction, some models divide the atmosphere with levels defined with height, others use pressure to define the vertical mesh. Often, the levels are not strictly horizontal but follow the shape of the orography, at least in the lowest layers of the model (Figure 5).

In addition to global models that produce forecasts for the entire atmosphere and that also often have a version used for long-term forecasts, such as seasonal or climate forecasts, there are many regional models that computation only for a given region. The reduction in the number of calculation points in these limited area models allow an increase in resolution and a better optimization of the tuning for this region. One of the limitations of regional models is the need to couple the solution on the edges of the limited domain with the solution provided by a lower global resolution model. Coupling techniques are important sources of errors that spread within the area of interest and thus limit the duration of this type of forecast.

Encyclopedie environnement -prevision meteorologique - image produite a partir des observations satellitaires et l’image synthetique correspondante produite a partir de la prevision
Figure 6. Comparison between an image produced from satellite observations of 15 October 2016 at 12 GMT (top figure) and the corresponding synthetic image produced from the 12-hour maturity forecast of the ECMWF model.

The fields provided by the model are not stored at each time step but only for the forecast times required by the users. The raw parameter fields such as temperature, wind or geopotential height are interpolated to the isobaric levels conventionally used by forecasters. Cloud cover and surface precipitation are provided directly by the cloud parameterizations. Many other parameters are diagnosed from the model’s raw outputs to help the forecaster analyze the behaviour of the atmosphere and compare the predicted states with new observations that arrive in real time. Maps of surface parameters such as temperature at 2 m above the surface, wind at 10 m above the surface, gusts, but also satellite images or synthetic radar images (Figure 6) are thus routinely processed. Model outputs are the main information that is made available to expert forecasters (see The Role of the Forecaster). They use it to produce the best general scenario for the weather evolution in the coming days and the necessary refinements for each region around the globe.

4. The challenge of computer programs and supercomputers

The forecasting models which are operational in 2016 include several million meshes, about ten variables per mesh and time steps of a few minutes. They require the solution of more than 100 million complex equations to produce a single hour of forecast. Only the use of the most powerful computers, but also efficient algorithms, can produce forecasts quickly enough to be transmitted to forecasters in a time.

Encyclopedie environnement -prevision meteorologique - Courbes montrant un exemple de benchmark pour une configuration du modele du CEPMMT
Figure 7. Curves showing an example of a benchmark for a configuration of the ECMWF model corresponding to a horizontal resolution of 10 km and 137 vertical levels[Source: G. Mozdzynski, ECMWF]. The different curves give the maximum number of forecast days that can be performed by the system depending on the number of processors used on the HECToR and TITAN supercomputers and for different system configurations. Currently, the operational constraint is to produce 10 days of forecast in less than one hour, or at least 240 “days/day”. The green curve shows that, on the Hector ECU and with the 2011 system, the system parallelization is far from optimal because performance is not increased (or even decreased) when the number of processors increases. The purple curve shows a significant improvement in the system’s performance in terms of parallel computing.
One of the keys to rapid computing is to be able to distribute the calculations in order to make the different processors of a supercomputer work in parallel. And this parallelization must be done with minimal communications between processors because these communications are often much slower than the local computing capabilities of the processors. These constantly evolving technological constraints require modelers to constantly adapt numerical schemes to the new specificities of the supercomputers. Comparative tests are regularly carried out to evaluate the efficiency of the models in terms of computation speed (Figure 7) both for current computer technology and in projection for possible future technologies.

An atmospheric model is therefore finally a computer code of several million lines, developed and maintained by dozens of people in parallel. It is the heart of the data assimilation and high-resolution forecasting cycle in operational weather forecast centres. It is also used to produce the perturbed forecasts of each member of the ensemble forecast (see The ensemble forecastting). Coupled with an ocean model, it is used for monthly and seasonal forecasts and to monitor climate change (see The Seasonal Forecast).

Numerical modelling of the atmosphere has had to and must continue to cope with:

  • increases in resolution and therefore in the number of calculations,
  • increases in the processes to be described (e.g., addition of atmospheric chemistry),
  • increases in the number of processors in the ECUs,
  • increases in power consumption of supercomputers,
  • increases in the number of program lines,
  • increases in the mass of data to be processed and stored at the output.

An important challenge in the coming years is to improve the scalability of existing models, i.e. their ability to adapt to all these increases, while remaining tools that can still be used by all researcher-developers and are still useful for weather forecasting applications.

 


References and notes

Cover image: Forecast of temperatures over Brittany on 10 October 2016 for 17 October 2016 at 00 GMT using the ECMWF digital model (black figures: temperatures in °C; red crosses: mesh centres).

[1] J. Coiffier : Éléments de prévision numérique du temps, “Cours et Manuel”, 1997, Météo-France.

[2] S. Malardel, N. Wedi, W. Deconinck, M. Diamantakis, C. Kuhnlein, G. Mozdzynski, M. Hamrud, P. Smolarkiewicz : A new grid for the IFS, 2016, ECMWF Newsletter 146.

[3] S. Malardel : Fundamentals of Meteorology, 2nd ed., 2009, Cépadues éditions.


环境百科全书由环境和能源百科全书协会出版 (www.a3e.fr),该协会与格勒诺布尔阿尔卑斯大学和格勒诺布尔INP有合同关系,并由法国科学院赞助。

引用这篇文章: MALARDEL Sylvie (2024年3月6日), Weather forecasting models, 环境百科全书,咨询于 2024年7月27日 [在线ISSN 2555-0950]网址: https://www.encyclopedie-environnement.org/en/air-en/weather-forecasting-models/.

环境百科全书中的文章是根据知识共享BY-NC-SA许可条款提供的,该许可授权复制的条件是:引用来源,不作商业使用,共享相同的初始条件,并且在每次重复使用或分发时复制知识共享BY-NC-SA许可声明。