CRA5: Extreme Compression of ERA5 for Portable Global Climate and Weather Research via an Efficient Variational Transformer

Tao Han, Zhenghao Chen, Song Guo, Wanghan Xu, Lei BaiarXiv 2024 · DOI

Introduction

The ERA5 dataset, the gold standard for global atmospheric reanalysis, presents a significant barrier to entry for researchers due to its massive 226-terabyte size. Downloading and storing such a volume of data is often prohibitive for smaller institutions. To address this, researchers have developed VAEformer, a specialized neural codec that compresses ERA5 into a portable 0.7-terabyte version named CRA5. This represents a 300x reduction in size while preserving the physical integrity necessary for scientific modeling.

Methodology: The VAEformer Architecture

Unlike standard image compression methods like JPEG, climate data consists of multi-dimensional tensors representing complex physical variables. VAEformer is designed to "understand" these atmospheric patterns through three primary innovations:

  1. Atmospheric Circulation Transformer (ACT) Blocks: To handle global grids efficiently, VAEformer utilizes window-based attention. Crucially, it incorporates east-west and north-south windows to mimic actual atmospheric circulation patterns, such as jet streams and trade winds.
  2. Dual-VAE Architecture: The system employs two Variational Autoencoders. One generates a quantized latent representation, while the second serves as a hyper-prior to estimate data distribution for efficient entropy coding.
  3. Two-Phase Optimization: The model is first pre-trained for reconstruction accuracy and subsequently fine-tuned for optimal entropy coding to maximize compression.

Results and Discussion

The resulting CRA5 dataset achieves a compression ratio exceeding 300x. Despite this extreme reduction, the visual and numerical fidelity remains high.

Comparison of original ERA5 temperature data (32 bpp) vs. compressed CRA5 (0.093 bpp).

As shown in the temperature comparison, the compressed data (0.093 bits per pixel) is virtually indistinguishable from the original (32 bits per pixel). This preservation extends to dynamic variables like wind speed.

Wind speed comparison showing high fidelity at 0.094 bpp compared to the original 32 bpp.

Downstream Utility

The ultimate test of lossy compression in climate science is whether the data remains useful for forecasting. The authors trained a forecasting model, FastCast, on the compressed CRA5 data. The performance was nearly identical to a model trained on the original ERA5, confirming that the essential physics were preserved. Furthermore, the model maintained high accuracy for extreme weather events, which are typically sensitive to lossy compression artifacts.

Conclusion

CRA5 democratizes access to high-quality climate data by reducing the storage requirement from hundreds of terabytes to less than one. While the decompression process requires GPU resources and the method is lossy, its proven utility for downstream forecasting makes it a transformative tool for global climate and weather research.

Reference: Han, T., et al. (2024). CRA5: Extreme Compression of ERA5 for Portable Global Climate and Weather Research via an Efficient Variational Transformer. arXiv:2405.03376v2.

Summary updated

BibTeX
@misc{han2024cra,
  author = {Tao Han and Zhenghao Chen and Song Guo and Wanghan Xu and Lei Bai},
  title = {{CRA5: Extreme Compression of ERA5 for Portable Global Climate and Weather Research via an Efficient Variational Transformer}},
  year = {2024},
  eprint = {2405.03376},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.03376},
}
Figure