pal

Positional Astronomy Library

https://github.com/starlink/pal

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    6 of 12 committers (50.0%) from academic institutions
  • Institutional organization owner
    Organization starlink has institutional domain (www.starlink.ac.uk)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.9%) to scientific vocabulary

Keywords

astronomy c wcs
Last synced: 6 months ago · JSON representation

Repository

Positional Astronomy Library

Basic Info
  • Host: GitHub
  • Owner: Starlink
  • License: lgpl-3.0
  • Language: C
  • Default Branch: master
  • Size: 1.03 MB
Statistics
  • Stars: 29
  • Watchers: 20
  • Forks: 14
  • Open Issues: 5
  • Releases: 19
Topics
astronomy c wcs
Created over 13 years ago · Last pushed 7 months ago
Metadata Files
Readme License Codemeta

README.md

PAL - Positional Astronomy Library

DOI

The PAL library is a partial re-implementation of Pat Wallace's popular SLALIB library written in C using a Gnu GPL license and layered on top of the IAU's SOFA library (or the BSD-licensed ERFA) where appropriate. PAL attempts to stick to the SLA C API where possible although palObs() has a more C-like API than the equivalent slaObs() function. In most cases it is enough to simply change the function prefix of a routine in order to link against PAL rather than SLALIB. Routines calling SOFA use modern nutation and precession models so will return slightly different answers than native SLALIB. PAL functions not available in SOFA were ported from the Fortran version of SLALIB that ships as part of the Starlink software and uses a GPL licence.

See pal.news for release notes.

Building

A simple configure script is provided:

./configure --prefix=/usr/local --without-starlink
make
make install

The tests can be run using make check. Use --prefix to specify an install location. Given the history of the source code as a Starlink library the default will be /star.

--without-starlink forces the configure script to forget about any Starlink configurations. This is the safe option if you run into problems when using a simple --prefix for building outside of Starlink. The configure script will assume Starlink is not being used by looking to see if STARCONF_DEFAULT_PREFIX environment variable is set. You may run into problems if STARCONF_DEFAULT_PREFIX is set but you use --without-starlink.

Requirements

Requires that either the SOFA C library or the ERFA library variant (which has a more permissive license than SOFA) be installed. The configure script will abort if neither SOFA nor ERFA can be found. SOFA can be obtained either from http://www.iausofa.org or from an unofficial github repository (with a configure script) at https://github.com/Starlink/sofa/downloads. ERFA can be downloaded from https://github.com/liberfa/erfa.

Missing Functions

Not all SLALIB functions have been added. New routines are added to PAL as demand arises.

Language Bindings

A Perl binding of PAL is available (https://github.com/timj/perl-Astro-PAL) named Astro::PAL and is available from CPAN at https://metacpan.org/module/Astro::PAL. This is a standalone distribution that comes with its own copies of PAL and SOFA and so can be installed directly from the cpan shell.

A Python binding of PAL is available (https://github.com/Starlink/palpy). This is a standalone distribution that comes with its own copies of PAL and SOFA.

The Starlink AST (http://www.starlink.ac.uk/ast) library now uses PAL and can be built either with a private PAL or with an external PAL.

Documentation

The description paper for PAL is: "PAL: A Positional Astronomy Library", Jenness, T. & Berry, D. S., in Astronomical Data Anaysis Software and Systems XXII, Friedel, D. N. (ed), ASP Conf. Ser. 475, p307.

PAL is registered with the ASCL as ascl:1606.002.

Please consider citing the ADASS paper or the ASCL entry if you make use of this software.

Owner

  • Name: Starlink Software Collection
  • Login: Starlink
  • Kind: organization

GitHub Events

Total
  • Issues event: 1
  • Watch event: 2
  • Issue comment event: 1
  • Push event: 4
  • Pull request event: 1
  • Fork event: 1
Last Year
  • Issues event: 1
  • Watch event: 2
  • Issue comment event: 1
  • Push event: 4
  • Pull request event: 1
  • Fork event: 1

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 261
  • Total Committers: 12
  • Avg Commits per committer: 21.75
  • Development Distribution Score (DDS): 0.222
Past Year
  • Commits: 5
  • Committers: 1
  • Avg Commits per committer: 5.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Tim Jenness t****s@j****u 203
David Berry d****y@j****u 18
Graham Bell g****l@e****g 14
danielsf s****l@g****m 8
nega n****a@i****u 7
Peter W. Draper p****r@d****k 3
P.T. Wallace p****e@s****k 3
Phil Crump p****l@p****k 1
Gaelen Marsden g****n@p****a 1
David Berry d****y@e****g 1
Christopher Jordan c****7@g****m 1
nega n****a@b****z 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 11
  • Total pull requests: 17
  • Average time to close issues: about 1 month
  • Average time to close pull requests: about 1 month
  • Total issue authors: 7
  • Total pull request authors: 8
  • Average comments per issue: 2.27
  • Average comments per pull request: 0.76
  • Merged pull requests: 13
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • danielsf (2)
  • cxwx (2)
  • cjordan (2)
  • yurivict (2)
  • grahambell (1)
  • olebole (1)
  • paudelsirjana612-spec (1)
  • davidneedelman (1)
Pull Request Authors
  • nega0 (6)
  • cjordan (2)
  • danielsf (2)
  • timj (2)
  • cxwx (2)
  • gmarsden (1)
  • philcrump (1)
  • grahambell (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 3
  • Total downloads: unknown
  • Total dependent packages: 1
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 51
proxy.golang.org: github.com/starlink/pal
  • Versions: 25
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Forks count: 6.5%
Stargazers count: 7.7%
Average: 8.6%
Dependent packages count: 9.6%
Dependent repos count: 10.8%
Last synced: 6 months ago
proxy.golang.org: github.com/Starlink/pal
  • Versions: 25
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Forks count: 6.5%
Stargazers count: 7.9%
Average: 8.7%
Dependent packages count: 9.6%
Dependent repos count: 10.8%
Last synced: 6 months ago
spack.io: pal

The PAL library is a partial re-implementation of Pat Wallace's popular SLALIB library written in C using a Gnu GPL license and layered on top of the IAU's SOFA library (or the BSD-licensed ERFA) where appropriate.

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 19.3%
Forks count: 24.5%
Stargazers count: 24.8%
Dependent packages count: 28.1%
Last synced: 6 months ago