# 4D-Var

四维变分资料同化（4D-Var）是一种估计动力系统状态的方法，最突出的是大气状态；它通过调整数值预报模式的初始条件，使由此产生的模式轨迹最佳拟合先验预报以及分布在空间和时间上的观测。名称反映了所涉及的四维：三个空间维度加时间，观测在四个维度上非均匀分布<sup>[1](https://stage.ecmwf.int/sites/default/files/elibrary/2008/9413-data-assimilation-weather-forecasting-case-study-pde-constrained-optimization.pdf)</sup>。该技术于1997年11月25日在欧洲中期天气预报中心（ECMWF）首次投入业务使用，并且至今仍是ECMWF综合预报系统（IFS）的同化方法<sup>[2](https://www.ecmwf.int/sites/default/files/elibrary/2008/17509-ecmwfs-4d-var-data-assimilation-system-genesis-and-ten-years-operations.pdf)</sup>。

| 关键事实 | 详情 |
|---|---|
| 定义 | 时间窗口上的变分同化：调整初始模式状态，使其在正确时刻拟合观测，同时保持接近先验（背景）预报<sup>[3](https://confluence.ecmwf.int/pages/viewpage.action?navigatingVersions=true&pageId=222482722)</sup> |
| 首次业务应用 | 1997年11月25日在ECMWF，4D-Var首次投入业务应用，应用于高分辨率同化和预报系统<sup>[2](https://www.ecmwf.int/sites/default/files/elibrary/2008/17509-ecmwfs-4d-var-data-assimilation-system-genesis-and-ten-years-operations.pdf)</sup><sup> • </sup><sup>[4](https://events.ecmwf.int/event/464/contributions/5296/attachments/3244/5410/UEF2025_Modigliani.pdf)</sup> |
| 同化窗口 | 最初在ECMWF为6小时；目前为12小时（09—21 UTC或21—09 UTC），观测按半小时时间槽组织<sup>[4](https://events.ecmwf.int/event/464/contributions/5296/attachments/3244/5410/UEF2025_Modigliani.pdf)</sup><sup> • </sup><sup>[5](https://www.ecmwf.int/sites/default/files/elibrary/112024/81624-ifs-documentation-cy49r1.pdf)</sup> |
| 代价函数 | 最小化一个背景项 \( J_b \) 与一个观测项 \( J_o \) 之和：前者衡量与短期预报的偏离，后者衡量与窗口内所有观测的偏离<sup>[5](https://www.ecmwf.int/sites/default/files/elibrary/112024/81624-ifs-documentation-cy49r1.pdf)</sup> |
| 关键要求 | 预报模式的切线性版本和伴随版本，包括线性化物理参数化<sup>[6](https://www.ecmwf.int/en/newsletter/175/earth-system-science/linearised-physics-heart-ecmwfs-4d-var)</sup> |
| 使能算法 | 增量法（库尔蒂耶等，1994），它通过成本与精度之间的权衡使计算成本变得可处理<sup>[2](https://www.ecmwf.int/sites/default/files/elibrary/2008/17509-ecmwfs-4d-var-data-assimilation-system-genesis-and-ten-years-operations.pdf)</sup> |
| 已证明的效益 | 业务化前测试显示，相对于三维变分（3D-Var），预报有统计显著的改进，快速成长的分析误差更小<sup>[7](https://rmets.onlinelibrary.wiley.com/doi/10.1002/qj.49712656417)</sup> |

## 工作原理

4D-Var在空间和时间上，在观测分布与模式状态的先验估计（称为背景场）之间进行统计插值，其方式考虑了预报模式的动力学和物理过程，从而使观测以气象上一致的方式被使用<sup>[2](https://www.ecmwf.int/sites/default/files/elibrary/2008/17509-ecmwfs-4d-var-data-assimilation-system-genesis-and-ten-years-operations.pdf)</sup>。分析场定义为使一个代价函数最小化的模式状态，该代价函数结合两个惩罚项：分析场与背景预报的距离，以及模式轨迹在整个同化窗口内与观测的距离<sup>[5](https://www.ecmwf.int/sites/default/files/elibrary/112024/81624-ifs-documentation-cy49r1.pdf)</sup>。

在ECMWF的表述中，一个窗口上的代价函数写为

\[ J(\delta x) = \frac{1}{2}\delta x^T B^{-1}\delta x + \frac{1}{2}\sum_{i=0}^{n}(H_i \delta x(t_i) - d_i)^T R_i^{-1}(H_i \delta x(t_i) - d_i) \]

其中 \( \delta x \) 是初始时刻的分析增量，\( B \) 是背景误差协方差矩阵，\( R_i \) 是时间索引 \( i \) 处的观测误差协方差，\( H_i \) 是观测算子的线性近似，而 \( d_i = y_i^o - H_i x^b(t_i) \) 是新息（innovation），即每个观测与该观测自身时刻背景轨迹之间的差<sup>[5](https://www.ecmwf.int/sites/default/files/elibrary/112024/81624-ifs-documentation-cy49r1.pdf)</sup>。增量用切线性模式传播到每个观测时刻，这正是4D-Var区别于3D-Var之处：在3D-Var中，预报模式不把分析增量传播到观测时刻，增量指的是区间中心时刻，并且不演变。这使得3D-Var计算要求较低，但精度也较低<sup>[2](https://www.ecmwf.int/sites/default/files/elibrary/2008/17509-ecmwfs-4d-var-data-assimilation-system-genesis-and-ten-years-operations.pdf)</sup>。

最小化代价函数需要梯度，而梯度用预报模式和观测算子的伴随来计算。从一开始就认识到，在线性化模式中表示物理过程至关重要，线性化模式中所用的参数化方案已逐渐变得更复杂<sup>[6](https://www.ecmwf.int/en/newsletter/175/earth-system-science/linearised-physics-heart-ecmwfs-4d-var)</sup>。

## 在ECMWF的发展

4D-Var算法与预报模式紧密耦合，需要同化、物理和数值计算方面紧密集成的软件。这推动了ECMWF新预报系统IFS的编码，其开发始于1987年底。IFS模式于1994年3月2日投入业务，3D-Var于1996年1月30日投入业务，4D-Var于1997年11月25日投入业务；4D-Var开发工作本身历时十年<sup>[2](https://www.ecmwf.int/sites/default/files/elibrary/2008/17509-ecmwfs-4d-var-data-assimilation-system-genesis-and-ten-years-operations.pdf)</sup>。

**动机。** 两个问题推动了该项目。第一，当时业务使用的最优插值（OI）方案随着观测密度增加，在大水平尺度上难以产生好的分析，而TOVS卫星数据的影响很小。第二，变分方法为通过辐射传输模式及其伴随直接同化卫星辐射率提供了坚实基础；在TOVS反演产品显示出很小或负面影响、并于1991年5月从北半球和热带撤出之后，这是一个有吸引力的解决方案<sup>[2](https://www.ecmwf.int/sites/default/files/elibrary/2008/17509-ecmwfs-4d-var-data-assimilation-system-genesis-and-ten-years-operations.pdf)</sup>。

**早期示范。** 菲利普·库尔蒂耶（Philippe Courtier）和奥利维耶·塔拉格朗（Olivier Talagrand）——后者当时是巴黎高等师范学院（École Normale Supérieure）的研究员，后来成为ECMWF研究员——于1986年用涡度方程模型、1987年用浅水模式展示了4D-Var的能力。到1991—1992年，进一步研究表明，4D-Var能够生成平衡良好的场，能够从单层观测产生流依赖的垂直倾斜订正，并能从对湿度敏感的卫星辐射率的时间序列中推导出风场信息<sup>[2](https://www.ecmwf.int/sites/default/files/elibrary/2008/17509-ecmwfs-4d-var-data-assimilation-system-genesis-and-ten-years-operations.pdf)</sup>。

**增量法。** 4D-Var的计算成本一直是一个持续关注的问题；即使有了计划中的1996年计算机升级，求解完整系统也会昂贵得难以承受。突破是库尔蒂耶及其同事于1994年发表的增量法，该方法受到NOAA/NCEP的约翰·德伯（John Derber）影响，使得在节省成本与保持精度之间能够进行显著权衡。1996年9月，拥有116个处理器的富士通（Fujitsu）VPP700可用后，增量4D-Var被证明优于3D-Var<sup>[2](https://www.ecmwf.int/sites/default/files/elibrary/2008/17509-ecmwfs-4d-var-data-assimilation-system-genesis-and-ten-years-operations.pdf)</sup>。

**验证。** 业务配置使用6小时增量4D-Var，并包含两个最小化步骤：第一步使用非常简化的物理，第二步使用更完整的一组线性物理。十二周实验显示，相对于3D-Var有一致改进，随后进行了六周平行运行；评分差异具有统计显著性，且4D-Var分析误差中快速增长的分量小于3D-Var对应分量<sup>[7](https://rmets.onlinelibrary.wiley.com/doi/10.1002/qj.49712656417)</sup>。

## 业务中的扩展

若干改进已被加入基本的强约束形式。在弱约束4D-Var中，控制变量增加了一个模式误差订正项，该项受其协方差统计约束，用于处理在12小时同化窗口内因不准确的地面强迫、简化的湿物理和云以及其他不完善因素而累积的模式误差。变分偏差订正（VarBC）用于订正卫星辐射计等观测偏差，它嵌入在4D-Var系统内部<sup>[8](https://www.ecmwf.int/en/newsletter/153/news/how-deal-model-error-data-assimilation)</sup>。弱约束4D-Var已被用于估计和订正短期预报范围内平流层中发展起来的大部分系统性模式误差<sup>[9](https://www.ecmwf.int/en/newsletter/167/meteorology/data-assimilation-or-machine-learning)</sup>。

该系统继续吸收新的观测类型和参数：IFS的Cycle 49r1于2024年11月12日实施，除其他变化外，在4D-Var中引入了2米温度同化<sup>[10](https://www.ecmwf.int/en/newsletter/187/news/forecast-performance-2025)</sup>。

## 4D-Var与集合方法

4D-Var与集合卡尔曼滤波（EnKF）方法竞争，后者从短期预报集合中估计流依赖背景误差协方差，而标准4D-Var缺乏这一点，因为其背景误差协方差矩阵是静态的，并为平衡而调校<sup>[11](https://www.mdpi.com/1099-4300/10/4/684)</sup>。在洛伦兹模型（Lorenz model）的理想化比较中，EnKF在短同化窗口下给出更准确的分析；当4D-Var使用长窗口时，两种方法达到相近精度；而当观测不频繁且集合扰动非线性增长时，4D-Var误差更低。在不完美模式下，长窗口4D-Var需要弱约束<sup>[12](https://onlinelibrary.wiley.com/doi/full/10.1111/j.1600-0870.2007.00261.x)</sup>。

在2003年6月美国本土（contiguous United States）的天气研究与预报模式（WRF）相互比较中，4D-Var在几乎所有预报时效上对风和温度的误差都一致小于3D-Var，而EnKF在12—36小时时效与4D-Var相当，在48—72小时更好<sup>[13](https://pure.psu.edu/en/publications/intercomparison-of-an-ensemble-kalman-filter-with-three-and-four-/)</sup>。在完美模式玩具实验中，采用流依赖协方差的集合方法优于采用气候态协方差的4D-Var；但当存在模式误差时，4D-Var变得更有竞争力；而当小集合需要强局地化时，采用集合协方差的4D-Var表现显著优于其他集合方法<sup>[14](https://doi.org/10.1002/qj.2135)</sup>。

一个实际区别是成本与维护：4D-Var需要开发和维护伴随模式，计算上比3D-Var昂贵得多，但它被若干中心采用（ECMWF、法国（France）、英国（the UK）、日本（Japan）和加拿大（Canada）），因为它已证明具有更高精度，并且能够在正确的观测时刻同化卫星辐射率等非定时观测数据<sup>[12](https://onlinelibrary.wiley.com/doi/full/10.1111/j.1600-0870.2007.00261.x)</sup>。维护切线性代码和伴随代码的需要仍是公认的实施难点，这推动了对自动微分和基于机器学习的模型等替代方案的研究<sup>[15](https://arxiv.org/abs/2408.02767)</sup>。

## 与机器学习的关系

变分资料同化和机器学习共享一个共同的贝叶斯基础：两者都最小化一个代价函数，其观测项衡量模拟观测与真实观测之间的失配；在机器学习中梯度由反向传播计算，在4D-Var中梯度由模式和观测算子的伴随计算。ECMWF的策略指出，4D-Var处于有利位置，可以从整合机器学习技术中受益，因为这两个领域使用相似的计算工具，而且4D-Var中已经使用的组件，例如变分偏差订正和弱约束模式误差估计，实际上是机器学习算法<sup>[9](https://www.ecmwf.int/en/newsletter/167/meteorology/data-assimilation-or-machine-learning)</sup>。

## References

1. [Data assimilation in weather forecasting: a case study in PDE-constrained optimization, ECMWF](https://stage.ecmwf.int/sites/default/files/elibrary/2008/9413-data-assimilation-weather-forecasting-case-study-pde-constrained-optimization.pdf)
2. [E. Andersson and J.-N. Thépaut (2008). ECMWF's 4D-Var data assimilation system – the genesis and ten years in operations. ECMWF Newsletter No. 115.](https://www.ecmwf.int/sites/default/files/elibrary/2008/17509-ecmwfs-4d-var-data-assimilation-system-genesis-and-ten-years-operations.pdf)
3. [Model Data Assimilation, 4D-Var, ECMWF Forecast User Guide](https://confluence.ecmwf.int/pages/viewpage.action?navigatingVersions=true&pageId=222482722)
4. [1997: Start of 4D-Var Assimilation, ECMWF UEF 2025 presentation](https://events.ecmwf.int/event/464/contributions/5296/attachments/3244/5410/UEF2025_Modigliani.pdf)
5. [ECMWF IFS Documentation Cy49r1, Chapter 2: 4D variational assimilation](https://www.ecmwf.int/sites/default/files/elibrary/112024/81624-ifs-documentation-cy49r1.pdf)
6. [M. Janisková and P. Lopez (2023). Linearised physics: the heart of ECMWF's 4D-Var. ECMWF Newsletter No. 175.](https://www.ecmwf.int/en/newsletter/175/earth-system-science/linearised-physics-heart-ecmwfs-4d-var)
7. [E. Klinker and colleagues (2000). The ECMWF operational implementation of four-dimensional variational assimilation. III: Experimental results and diagnostics. Q.J.R. Meteorol. Soc.](https://rmets.onlinelibrary.wiley.com/doi/10.1002/qj.49712656417)
8. [How to deal with model error in data assimilation, ECMWF Newsletter No. 153](https://www.ecmwf.int/en/newsletter/153/news/how-deal-model-error-data-assimilation)
9. [M. Bonavita and colleagues (2021). Data assimilation or machine learning? ECMWF Newsletter No. 167.](https://www.ecmwf.int/en/newsletter/167/meteorology/data-assimilation-or-machine-learning)
10. [Forecast performance 2025, ECMWF Newsletter No. 187](https://www.ecmwf.int/en/newsletter/187/news/forecast-performance-2025)
11. [Comparison of Statistical Dynamical, Square Root and Ensemble Kalman Filters, Entropy](https://www.mdpi.com/1099-4300/10/4/684)
12. [E. Kalnay and colleagues (2007). 4-D-Var or ensemble Kalman filter? Tellus A.](https://onlinelibrary.wiley.com/doi/full/10.1111/j.1600-0870.2007.00261.x)
13. [M. Zhang, F. Zhang, X. Huang, X. Zhang (2011). Intercomparison of an ensemble Kalman filter with 3D- and 4D-Var in a limited-area model. Monthly Weather Review.](https://pure.psu.edu/en/publications/intercomparison-of-an-ensemble-kalman-filter-with-three-and-four-/)
14. [D. Fairbairn and colleagues (2014). A comparison of 4DVar with ensemble data assimilation methods. Q.J.R. Meteorol. Soc.](https://doi.org/10.1002/qj.2135)
15. [4D-Var using Hessian approximation and backpropagation applied to automatically-differentiable numerical and machine learning models, arXiv](https://arxiv.org/abs/2408.02767)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 地球科学 › 气候与天气 › Meteorology and atmospheric science › Weather observation and forecasting › Numerical weather prediction

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/4d-var

English original: https://www.edgepedia.org/4d-var
