the Creative Commons Attribution 4.0 License.
the Creative Commons Attribution 4.0 License.
EBCC v0.2: error-bounded compression for weather and climate applications
Abstract. As the resolution of weather and climate simulations increases, the amount of data produced is growing rapidly from hundreds of terabytes to tens of petabytes. These data volumes limit broader adoption, and their continued growth will soon exhaust available storage capacity. To address this problem, we present EBCC v0.2 (Error Bounded Climate-data Compressor). EBCC follows a two-layer compression approach: a base layer using JPEG2000 to capture the bulk of the data at high compression ratios, and a residual layer storing sparse wavelet coefficients to eliminate long-tail extreme errors efficiently. It supports three-dimensional chunks through a multicomponent transform (MCT) in the base layer. To achieve error bounded compression, we introduce error-bound-aware rate allocation in the JPEG2000 base layer. It selects coding passes to approximately satisfy the error target while optimizing the trade-off between compression ratio and mean squared error. We evaluate EBCC alongside established compression methods on benchmarks relevant to weather and climate science, including error statistics, sequential and parallel throughput tests, case studies of primitive and derived variables near a tropical cyclone, an analysis of global energy-budget closure, and a Lagrangian air-parcel trajectory simulation. EBCC either outperforms or closely follows the strongest existing baseline across these benchmarks at relative error targets ranging from 0.01 % to 10 %, achieving compression ratios from 15x to more than 300x. In the energy-budget-closure and Lagrangian-trajectory benchmarks, EBCC achieves more than 100x compression while keeping compression-induced errors below an assimilation-uncertainty reference derived from the ERA5 uncertainty ensemble. These results demonstrate that EBCC can produce heavily compressed weather and climate datasets suitable for downstream applications.
- Preprint
(17364 KB) - Metadata XML
- BibTeX
- EndNote
Status: open (until 06 Jan 2027)
-
RC1: 'Comment on egusphere-2026-6457', Samuel Li, 26 Nov 2026
reply
-
AC1: 'Reply on RC1', Langwen Huang, 28 Nov 2026
reply
Dear Samuel,
Thank you for taking the time to provide a review of our manuscript. We will provide a point-by-point response and corresponding modifications of our manuscript in the final response. We would like to clarify a few points as they may cause some confusions.
Tradeoff of base and residual compression We discuss this in section 2.3 “Empirical study of κ to balance the base and residual layers”. We introduce a scaling factor κ to explicitly determine the rate allocation in JPEG2000 given a max-error target without interfering the rate-distortion characteristic of JPEG2000. A larger κ will implicitly set a higher PSNR target resulting in a smaller residual layer, and vice versa. In figure 2, we find that κ=2.25 gives a good overall rate-distortion curve. Therefore, we use it throughout the following experiments.
Compression ratio at a given error target Since we choose κ=2.25 optimized for rate-distortion, EBCC may produce a smaller compression ratio at a given error target. However, there is a common case where users of lossy compressors do not know which error target to use before running benchmarks on their use cases. In this case, it is useful to have a better quality at the same compression ratio. On the other hand, as shown in figure 2, varying κ in [0.5625, 9] changes the compression ratio at given error targets while not affecting the rate-distortion curve too much. In the following figure (rd_kappa_225_vs_065.pdf in plots.zip), we find that EBCC with κ=0.65 has comparable compression ratios with SPERR at fixed error targets. In addition, EBCC have an edge over SPERR at the low compression ratio / high SSIM regime. (The plot used sample data for the purpose of demonstration)
Comparison between EBCC and SPERR We appreciate the suggestion to compare more aspects in EBCC and SPERR. In the following figure (ablation_quantization.pdf in plots.zip), we show a preliminary result with added EBCC with fixed-step quantization + SPECK wavelet coding + sample residual. The new approach closely follows the rate-distortion curve of SPERR. This suggest fixed-step quantization with SPECK wavelet coding in SPERR explains the rate-distortion difference between EBCC and SPERR. The wavelet residual impact distortion negatively but it does not affect EBCC’s rate distortion curve due to the fractional size of residual layer at κ=2.25.
Best regards,
Langwen
-
RC2: 'Reply on AC1', Samuel Li, 28 Nov 2026
reply
Dear authors, did you use AI to write your response and paste it here without proofreading? The following sentence in your reply is a tell:
"In the following figure (rd_kappa_225_vs_065.pdf in plots.zip), we find that ... "Citation: https://doi.org/10.5194/egusphere-2026-6457-RC2 -
AC2: 'Reply on RC2', Langwen Huang, 28 Nov 2026
reply
Dear Samuel,
The RC1 reply is purely hand written, while the plot is in the supplement file in the response (https://editor.copernicus.org/index.php?_mdl=msover_md&_jrl=778&_lcm=oc108lcm109w&_acm=get_comm_sup_file&_ms=147832&c=329524&salt=1515818856683865420). The two plot files are packed in the zip file and there maybe a renaming of the zip file upon uploading.
Langwen
Citation: https://doi.org/10.5194/egusphere-2026-6457-AC2 -
RC3: 'Reply on RC2', Samuel Li, 28 Nov 2026
reply
Dear authors, I posted in my previous comments suspecting your reply was written by AI. Later I realized that I cannot reach that conclusion, because there's attachment in this "interactive discussion" and your reply was referring to the attachment. I sincerely apologize for my accusation.
Citation: https://doi.org/10.5194/egusphere-2026-6457-RC3
-
AC2: 'Reply on RC2', Langwen Huang, 28 Nov 2026
reply
-
RC4: 'Reply on AC1', Samuel Li, 28 Nov 2026
reply
Dear authors,
The difference in quantization is minor, and I suspect that it won't show any meaningful difference. Two other factors have a much bigger impact:
- The choice of first and second pass balance. As you have found out, "EBCC with κ=0.65 has comparable compression ratios with SPERR at fixed error targets". Is it fair to understand that EBCC and SPERR are the same compression with one of the internal parameters tuned differently?
- The impact of ZSTD compression. My own experimentation shows that applying ZSTD to a SPERR-produced bitstream further reduces its size by 3% to 5%. Given that the rate distortion curves are already close to each other, could that 3% to 5% storage saving be contributing to the difference?
Best,
Sam
Citation: https://doi.org/10.5194/egusphere-2026-6457-RC4 -
AC3: 'Reply on RC4', Langwen Huang, 28 Nov 2026
reply
Dear Samuel,
We respectfully disagree with the statement that EBCC and SPERR only differs in parameter tuning. The fixed step + EBCOT curve in the plot is close to EBCC but it is not the approach we choose. We contrast the base compression of EBCC with SPERR by: error-bound-aware rate allocation + EBCOT vs fixed-step quantization + SPECK. The error-bound-aware rate allocation is deeply coupled with the rate-allocation mechanism of EBCOT where each code-block keep just enough code passes such that the decrease in mean squared error is proportional to the error bound with a constant factor. And taking partial amount of code passes quantizes the coefficients in the code-block adaptively. Meanwhile, SPERR uses fixed-step quantization on the wavelet coefficients which introduces an uniform quantization error on each coefficient. In the dataset that we tested, EBCC (κ=0.65) and SPERR behaves similarly. But there may exist some data where the two have different behavior because of the different quantization approach (and different wavelet encoding method).
We have added a SPERR (0.8.4) + ZSTD (1.5.6 level 22, applied to the whole SPERR stream) in the preliminary rate-distortion comparison plot (please see supplement). ZSTD is able to reduce size of the SPERR stream by 0.9%. The improvement is visible, but cannot compensate the difference between SPECK and EBCOT.
Best regards,
Langwen
-
AC4: 'Typo fix of AC3', Langwen Huang, 28 Nov 2026
reply
"each code-block keep just enough code passes such that the decrease in mean squared error is proportional to the error bound with a constant factor." ->
"each code-block keep just enough code passes such that the decrease in mean squared error divided by rate change is proportional to the squared error bound with a constant factor."
Citation: https://doi.org/10.5194/egusphere-2026-6457-AC4
-
AC4: 'Typo fix of AC3', Langwen Huang, 28 Nov 2026
reply
-
RC2: 'Reply on AC1', Samuel Li, 28 Nov 2026
reply
-
AC1: 'Reply on RC1', Langwen Huang, 28 Nov 2026
reply
Viewed
| HTML | XML | Total | BibTeX | EndNote | |
|---|---|---|---|---|---|
| 254 | 105 | 28 | 387 | 33 | 31 |
- HTML: 254
- PDF: 105
- XML: 28
- Total: 387
- BibTeX: 33
- EndNote: 31
Viewed (geographical distribution)
| Country | # | Views | % |
|---|
| Total: | 0 |
| HTML: | 0 |
| PDF: | 0 |
| XML: | 0 |
- 1
Overview: This submission describes a lossy compressor, EBCC v0.2, that targets climate data. The author describes the software design, compares its performance with other leading scientific data compressors using a suite of benchmarks, and also contrasts EBCC with SPERR, another compressor with extremely similar compression mechanisms.
Highlights: This submission presents a significant improvement over its previous iterations (i.e., https://arxiv.org/pdf/2510.22265v2). Namely, it compares and contrasts with SPERR, which also uses a wavelet coding + error correction two pass design to achieve error bounded compression.
Areas of improvements: there are several shortcomings in the manuscript that warrants further discussion and improvement.
Missed point: When designing a two pass lossy compressor, there’s a deliberate consideration on how much bit budget to allocate to either passes. In the case of EBCC and SPERR, the tradeoff is that the first pass (wavelet encoding) is most efficient at reducing RMSE but doesn’t guarantee the error bound, while the second pass (residual correction) guarantees the error bound, it is very inefficient at reducing RMSE. This tradeoff is discussed in detail in Section IV-D of the SPERR paper (https://impact-section.ucar.edu/pdfs/SPERR_IPDPS.pdf) but not in this manuscript.
Based on Figure 3 and 4 of this manuscript, it appears that EBCC allocates more storage budget to wavelet encoding than SPERR. In Figure 3, at each prescribed tolerance level, EBCC constantly uses more storage and achieves higher PSNR. In Figure 4, EBCC achieves a narrower error profile. Both phenomena are the result of shifting storage budget towards wavelet encoding. It’d be an interesting research topic to compare EBCC and SPERR when this balance is the same. For example, when the same number (or percentage) of samples go to the second pass, how do the two compressors compare? With agentic AI tools, this isn’t very difficult to do.
Final thought: This paper is difficult to read at places with unnecessarily complex math equations and uncommon choices of words. It is already easier to comprehend than its earlier versions, but still feels unnatural. I suspect that this is the result of the use of AI, as disclosed towards the end. I’d encourage the authors to proof read the text before their next submission.