Hostname: page-component-76d6cb85b7-lcgwf Total loading time: 0 Render date: 2026-07-12T00:03:33.084Z Has data issue: false hasContentIssue false

Optimising the processing and storage of visibilities using lossy compression

Published online by Cambridge University Press:  29 July 2025

Richard Dodson*
Affiliation:
International Centre for Radio Astronomy Research, University of Western Australia, Perth, Australia
Alexander Williamson
Affiliation:
International Centre for Radio Astronomy Research, University of Western Australia, Perth, Australia
Qian Gong
Affiliation:
Oak Ridge National Laboratory, Oak Ridge, USA
Pascal Elahi
Affiliation:
Pawsey Supercomputing Research Centre, Perth, Australia
Andreas Wicenec
Affiliation:
International Centre for Radio Astronomy Research, University of Western Australia, Perth, Australia
María J. Rioja
Affiliation:
International Centre for Radio Astronomy Research, University of Western Australia, Perth, Australia Observatorio Astronómico Nacional (IGN), Madrid, Spain
Jieyang Chen
Affiliation:
University of Oregon, Eugene, USA
Norbert Podhorszki
Affiliation:
Oak Ridge National Laboratory, Oak Ridge, USA
Scott Klasky
Affiliation:
Oak Ridge National Laboratory, Oak Ridge, USA
Martin Meyer
Affiliation:
International Centre for Radio Astronomy Research, University of Western Australia, Perth, Australia
*
Corresponding author: Richard Dodson; Email: richard.dodson@icrar.org
Rights & Permissions [Opens in a new window]

Abstract

The next-generation radio astronomy instruments are providing a massive increase in sensitivity and coverage, largely through increasing the number of stations in the array and the frequency span sampled. The two primary problems encountered when processing the resultant avalanche of data are the need for abundant storage and the constraints imposed by I/O, as I/O bandwidths drop significantly on cold storage. An example of this is the data deluge expected from the SKA Telescopes of more than 60 PB per day, all to be stored on the buffer filesystem. While compressing the data is an obvious solution, the impacts on the final data products are hard to predict. In this paper, we chose an error-controlled compressor – MGARD – and applied it to simulated SKA-Mid and real pathfinder visibility data, in noise-free and noise-dominated regimes. As the data have an implicit error level in the system temperature, using an error bound in compression provides a natural metric for compression. MGARD ensures the compression incurred errors adhere to the user-prescribed tolerance. To measure the degradation of images reconstructed using the lossy compressed data, we proposed a list of diagnostic measures, exploring the trade-off between these error bounds and the corresponding compression ratios, as well as the impact on science quality derived from the lossy compressed data products through a series of experiments. We studied the global and local impacts on the output images for continuum and spectral line examples. We found relative error bounds of as much as 10%, which provide compression ratios of about 20, have a limited impact on the continuum imaging as the increased noise is less than the image RMS, whereas a 1% error bound (compression ratio of 8) introduces an increase in noise of about an order of magnitude less than the image RMS. For extremely sensitive observations and for very precious data, we would recommend a $0.1\%$ error bound with compression ratios of about 4. These have noise impacts two orders of magnitude less than the image RMS levels. At these levels, the limits are due to instabilities in the deconvolution methods. We compared the results to the alternative compression tool DYSCO, in both the impacts on the images and in the relative flexibility. MGARD provides better compression for similar error bounds and has a host of potentially powerful additional features.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press on behalf of Astronomical Society of Australia
Figure 0

Figure 1. Image of the data used in these investigations, based on the GLEAM catalogue to provide a realistic complex sky with added random thermal noise, and deconvolved with WSClean. The locations of in-field GLEAM-model components are marked with red squares and are widely dispersed over the image with only thermal noise between those regions of interest. The insert shows the low flux residuals around the brightest source in the image of 1 Jy. This emphasises the interplay of the thermal noise and the imperfect reconstruction from the deconvolution, which sets a limit on the accuracy of reconstruction.

Figure 1

Figure 2. Data Flow in a typical radio interferometre from the individual telescope, stations through the correlator and imaging, to intermediate and final data products. Various datatypes and possible compression of these datatypes are noted along the path. After the amplification and digitisation the data is limited to 12bits for SKA, but may not fully inhabit the data range. After correlation the time-sampled data is integrated into a complex value, which is not compatible with lossless compression but can undergo lossy compression. This is because the data should be thermally limited in accuracy (from the amplification) and this would normally be less than the nominal numerical precision. For the intermediate data product of the temporal data resampled onto a regular spatial uv-grid, many of the cells will be empty and lossless compression will be effective. In the final image the astronomical emission will be concentrated into limited regions of interest, allowing for some of the advanced features of MGARD to be applied.

Figure 2

Figure 3. The real part of the signal on one baseline of length $\sim$16 km, with and without noise, from the 100 channel complex sky model simulations where the noise and sky-signal are of comparable magnitude. For the 1 000 channel simulations the sky signal would be the same but the noise is $\sqrt{10}$ times greater, thus this represents a low-noise, but not noise-free case. The majority of the analysis is on high-noise or noise-free cases.

Figure 3

Figure 4. The compression ratios achieved when compressing the simulated visibility data with various noise profiles. Shown are the compression results from MGARD for data with a complicated sky (purple squares) and a simple sky (black circles) model. The x-axis describes the relative error bound provided to MGARD for the compression. For the data that are dominated by thermal noise (line-style symbols, multiple colours) the compression ratios as a function of EB are practically identical and overlap on this plot. The highest compression is achieved when the sky model is simple and noise free and ordered by baseline (black line). The noise-free baseline-ordered complicated sky (purple line) is an order of magnitude lower, representing the impact of the rapidly changing sky signals. Finally the time-ordered data is represented with dotted lines. The noise-free time-ordered data has significantly lower compression ratios than the baseline-ordered data, as the time-ordering hides the sky signal from the compression algorithm. In our simulations the complicated and simple sky in time-order provide very similar compression ratios for the same EB bound, particularly for the less aggressive compression, underlining the importance of presenting the sky signal coherently to the compression algorithm.

Figure 4

Figure 5. The compression ratios achieved when compressing the amplitude and phase of the visibility data. Shown are the results for simple sky simulation (top), a complicated sky simulation (bottom), both with (right) and without (left) added noise. The x and y-axes are the log of the relative error bounds provided to MGARD individually for the amplitude and phase.

Figure 5

Figure 6. A comparison in log-log scale between the compression performance of MGARD and DYSCO for the time-ordered ‘Complicated Sky + Noise’ case (compare with cyan line in Figure 4). The compression parameters for DYSCO are defined in terms of bit storage as indicated and so the shown relative error bounds have been calculated from the 99% percentile of the residuals in order to conform with those in MGARD. In addition we plot the actual complicated sky and noise from the MGARD compression of LOFAR observations, where we have used absolute error bounds and estimate the equivalent relative error bound for compression assuming a data range of $\pm$5$\sigma$.

Figure 6

Figure 7. RMS of the difference between the image from compressed data and the non-compressed data; noise-free data is marked with a star and noise-added data is marked with a diamond. Some markers are slightly shifted for clarity. The results from cleaned images are shown with a solid line; a dot-dash line is for non-cleaned images. The MGARD compression impact on complicated sky-images, with and without noise, and without and with deconvolution are shown in red, blue and cyan respectively. The simple and high dynamic-range image with noise and cleaning is shown in black, and without noise and cleaning is in green. DYSCO compressed data with and without cleaning is shown in purple with squares. An example for real data, cleaned and with intrinsic noise, from the LOFAR pathfinder is shown in pink. The lighter dotted lines without symbols represents the RMS of the residual images made from non-compressed data. One can directly see that the global added noise to the images from using compressed data is significantly less than the image noise. Furthermore, one can see that non-linear process of cleaning on the GLEAM-model (which can be imaged to a dynamic range of about 1 000 with 64 antennas) produces a limit on the reconstruction precision. After which reducing the degree of compression, and thus precision, does not improve the reconstruction accuracy. However for the higher dynamic range ($\gt$10 000) images the reconstruction accuracy continues to improve with the improved precision. The simulated DYSCO-compressed and real MGARD-compressed data have similar results to the simulated MGARD-compressed data.

Figure 7

Figure 8. Maximum value of the difference between the image from compressed data and the non-compressed data, with the same data labelling as Figure 7, including the dotted lines without symbols indicating the RMS of the residual images, for comparison. The maximum error between the images of compressed and non-compressed data picks up (predominately) the change in side-lobes around the strongest sources. Thus, if the image is CLEANed, the values tend to those of the image RMS. For MGARD, with high compression ($\gt10\%$), the images of compressed data started to significantly diverge from the non-compressed images, whilst DYSCO continues to perform well. This may, however, be more related to the poorer compression ratio of DYSCO.

Figure 8

Figure 9. Two point correlation of the images showing the maximum power at all angular scales ($\ell$ from zero to 200, where zero would be a constant value across the $\sim$1$^\circ$ image and 200 would be the power on 16$^{\prime \prime}$ scales) from the cleaned images made with compressed data, normalised by the power in the image made with non-compressed data. On the left is shown the results for the complicated GLEAM-model, where the reconstruction accuracy reaches a limit at an error bound of $\sim$1E-3. On the right is shown the result for the same data, but imaged without deconvolution, which does not introduce a limit in the reconstruction accuracy, which continues to improve with EB precision. No peak from introduced image artefacts are detectable, and all contributions are well below the noise levels.

Figure 9

Figure 10. The degree of bleed-through from the strong spectral feature into surrounding channels, as a function of the compression error bound. As would be expected the cruder compression causes greater bleed-through, although still at less than 1%. From an error bound of 1E-2 or below the bleed through is less than a few times a factor of 1E-5.