Skip to content
DuckDB community extension

celestial

Astronomical coordinates utilities

01 / SETUP

Install and load

Run these commands in a Haybarn SQL session. The extension is available from the community repository.

Haybarn 2.0.0 · SQL
INSTALL celestial FROM community;
LOAD celestial FROM community;

Try it in a temporary SQL session with celestial already loaded. Queries run in this tab; examples using files or services need their own setup.

Using upstream DuckDB? Follow the maintainer’s installation instructions.

02 / QUERY

Usage example

SQL
SELECT angular_separation_deg(204.2538292, -29.8657611, 201.3650633, -43.0191125);

Provided by lisa-sgs. Not yet verified on Haybarn 2.0.0.

Sample data & setup

About this extension

The celestial extension provides functions for working with astronomical coordinates.

Project overview from the community descriptor.

Documentation and resources

Project and build details
Repository
lisa-sgs/duckdb-celestial
License
Apache-2.0
Maintainers
teobouvard
Written in
C++
Build source
d8364c707b2f
Build definition
Community descriptor