Introduction
Modern weather and climate simulations are victims of their own success. As resolution increases, the data produced is skyrocketing from terabytes to petabytes, creating a massive storage bottleneck that hinders research and the democratization of data. While lossless compression is safe, it rarely exceeds a 6× ratio because it struggles with the inherent "noise" in atmospheric data. Lossy compression offers much higher ratios but introduces a significant trade-off: excessive compression can "break the physics" of the model. Standard metrics like Root Mean Square Error (RMSE) often fail to capture how compression errors propagate into derived variables—like wind divergence or energy budgets—which are critical for scientific analysis.
To address this, researchers have developed EBCC (Error Bounded Climate-data Compressor), a new lossy compression tool that achieves over 100× compression ratios while keeping errors within the "natural variability" of the data. By combining JPEG2000 for bulk data with a specialized residual layer to catch extreme errors, EBCC preserves the physical integrity of complex climate simulations far better than existing state-of-the-art methods.
Methods
The authors introduce a two-layer approach called EBCC, designed to balance overall smoothness with the preservation of critical outliers:
- Base Compression Layer: Uses JPEG2000 to handle the bulk of the data. JPEG2000 is excellent at optimizing for overall smoothness (RMSE) but can leave behind "long-tail" extreme errors.
- Residual Compression Layer: This layer identifies the errors left behind by the first pass. It uses a Discrete Wavelet Transform (DWT) combined with SPIHT (Set Partitioning In Hierarchical Trees) encoding to efficiently compress and store only the significant outliers.
- Feedback Control: Unlike "one-and-done" compressors, EBCC uses iterative feedback loops to adjust compression parameters until the reconstructed data is guaranteed to stay within a user-defined error bound.
Evaluation and Key Insights
The study evaluates EBCC using the ERA5 dataset, a gold-standard global climate reanalysis, across several benchmarks including Hurricane Iota (2020) case studies, global energy budgets, and Lagrangian trajectory simulations.
A key insight of the EBCC approach is that error distribution matters. Most compressors spread errors uniformly, but EBCC concentrates errors near zero. This "peaky" error distribution means that when calculating means or integrals (like in an energy budget), the errors tend to cancel each other out rather than accumulate. Furthermore, the authors suggest using the uncertainty members of the ERA5 ensemble as a "natural variability" benchmark. If compression error remains smaller than the inherent noise in the original data, the compression is effectively "information-lossless" for scientific purposes.
Key Results
EBCC consistently outperformed established methods such as SZ, SZ3, SPERR, and Bitrounding across relative error targets from 0.1% to 10%. In energy budget and trajectory benchmarks, EBCC achieved over 100× compression while keeping errors within the bounds of natural variability. For comparison, the next best method (SZ3) could only reach about 50× before exceeding those bounds.
While EBCC's decompression is fast (~105 MB/s), its compression speed is relatively slow (~1.4 MB/s) due to the iterative feedback loops. However, the authors argue this is acceptable since climate data is usually "compressed once, read many times." Visually, at 100× compression, EBCC produced smooth, scientifically usable images of Hurricane Iota, while other methods produced "blocked" artifacts or incomprehensible results.
Limitations and Future Work
The current implementation of EBCC is single-threaded and slowed by the 4-iteration feedback loop. Parallelizing the compression of data chunks is a clear next step for improving throughput. Additionally, the 'q' parameter, which balances the two layers, currently requires manual tuning for different datasets to reach peak efficiency. Future work will focus on automating this parameter tuning and integrating EBCC into standard I/O pipelines like HDF5 and Zarr to encourage wider adoption in major climate modeling centers.
Summary updated