#table #astronomy #format #framework #rubbl #interface #casa

rubbl_casatables

Interfacing to the CASA table format within the Rubbl framework

14 releases (7 breaking)

0.8.0 Aug 13, 2024
0.7.0 Jan 23, 2023
0.6.0 Nov 16, 2021
0.3.1 Apr 1, 2021
0.1.0 Dec 20, 2017

#92 in Science

Download history 115/week @ 2024-06-23 10/week @ 2024-06-30 38/week @ 2024-07-07 24/week @ 2024-07-14 6/week @ 2024-07-21 82/week @ 2024-07-28 44/week @ 2024-08-04 291/week @ 2024-08-11 82/week @ 2024-08-18 18/week @ 2024-08-25 25/week @ 2024-09-01 24/week @ 2024-09-08 49/week @ 2024-09-15 325/week @ 2024-09-22 29/week @ 2024-09-29 20/week @ 2024-10-06

425 downloads per month
Used in marlu

MIT and LGPL-2.0+

3MB
81K SLoC

C++ 76K SLoC // 0.2% comments Rust 4.5K SLoC // 0.0% comments Shell 36 SLoC // 0.3% 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