#table #multidimensional-array #astronomy #format #scientific #interface #casa

rubbl_casatables

Interfacing to the CASA table format within the Rubbl framework

13 unstable releases

0.7.0 Jan 23, 2023
0.6.0 Nov 16, 2021
0.5.1 Nov 4, 2021
0.3.1 Apr 1, 2021
0.1.0 Dec 20, 2017

#398 in Science

Download history 2/week @ 2023-11-27 2/week @ 2023-12-18 29/week @ 2024-01-08 2/week @ 2024-01-29 1/week @ 2024-02-05 5/week @ 2024-02-12 5/week @ 2024-02-19 23/week @ 2024-02-26 29/week @ 2024-03-04 33/week @ 2024-03-11

91 downloads per month
Used in marlu

MIT and LGPL-2.0+

3.5MB
82K SLoC

C++ 78K SLoC // 0.2% comments Rust 4.5K SLoC // 0.0% comments Shell 33 SLoC // 0.2% comments

rubbl_casatables

A Rust interface to the CASA table format.

See the rubbl_core README on Crates.io for a discussion of crate duplication issues that may arise with key dependencies such as ndarray.


lib.rs:

I/O on CASA table data sets.

This crate provides I/O access to the CASA table data format. This format is commonly used for storing radio astronomical visibility data in the Measurement Set data model, but is not limited to that particular application — it is a generic data format for tabular scientific data. This crate provides only lower-level I/O interfaces and not higher-level abstractions for dealing with the specific semantics of Measurement Set data.

Because the on-disk representation of the CASA table format is quite complex and essentially undocumented, this crate’s implementation relies on wrapping a substantial quantity of C++ code from the casacore project. The goal is to provide access to the data format in a way that is completely safe and as idiomatic as possible, given the limitations imposed by the architecture of the underlying C++ code.

The entry point to this crate is typically the Table struct that represents a handle to a CASA table data set.

Dependencies