taql(1)
π NAME π
taql β bestie, it's the query language for casacore tables β¨
π SYNOPSIS π
taql [OPTIONS]
π¦ DESCRIPTION π¦
okay so listen. The Table Query Language (TaQL) is literally an SQL-like high level language that does operations like selection, sort, and update on a casacore table. no cap. It's a very versatile language with full support for table columns containing array data π«Ά. It has inherent support for masked arrays, units, and astronomical coordinates β like, the way it just handles all of that natively? iconic. It's got a very rich set of functions (cone search, array reduction, the whole thing) which makes it so suitable for astronomical applications π. User defined functions can be added easily, slay. It also has full support of grouping/aggregation and nested queries. And an operation that can be expressed in a single function is the matching of two sky catalogues β one function, bestie π .
taql can be started with multiple arguments containing options and an optional TaQL command as the last argument. It will run interactively if no TaQL command is given. And if possible, interactive commands are kept in $HOME/.taqlhistory for later reuse π§ β she remembers everything, periodt.
A binding in C++, Python, and Glish is available π.
β¨ OPTIONS β¨
-s,--styleβ defines the TaQL style. The default style ispython; if no value is given after-sit defaults toglish. (yes, the flag just decides for you, main character energy π)-h,--helpβ show help and exits. that's it, that's the whole thing π«‘-ps,--printselectβ show the values of selected columns.-pm,--printmeasureβ if possible, show values as formatted measures.-pc,--printcommandβ show the (expanded) TaQL command.-pr,--printrowsβ show the number of rows selected, updated, etc.
πΈ the defaults, bestie (iykyk) πΈ
The default for -pc is on for interactive mode, otherwise off.
The default for -pr, -ps, and -pm is on β
.
π SEE ALSO π
http://www.astron.nl/casacore/trunk/casacore/doc/notes/199.html
π AUTHOR π
This manual page was written by Benda Xu <heroxbd@gentoo.org>, for the Debian GNU/Linux system π«Ά
and that's the whole vibe check bestie, go query some tables π β¨
πΈ written under casacore, dated 2014-10-24 β old but iconic, fr fr ππ
π¦ where this page comes from
- debian bookworm: casacore-tools 3.5.0-2+b3 Β· LGPL-2.0-or-later
- debian trixie: casacore-tools 3.7.1-1 Β· LGPL-2.0-or-later
- ubuntu jammy: casacore-tools 3.4.0-2build1 Β· LGPL-2.0-or-later
- ubuntu noble: casacore-tools 3.5.0-4.1ubuntu2 Β· LGPL-2.0-or-later
- ubuntu questing: casacore-tools 3.7.1-2
- ubuntu resolute: casacore-tools 3.8.0-4 Β· LGPL-2.0-or-later
- ubuntu stonking: casacore-tools 3.8.1-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms