{"id":23656369,"url":"https://github.com/starlink/pal","last_synced_at":"2025-07-31T18:34:24.343Z","repository":{"id":4351248,"uuid":"5487324","full_name":"Starlink/pal","owner":"Starlink","description":"Positional Astronomy Library","archived":false,"fork":false,"pushed_at":"2022-09-09T17:02:53.000Z","size":1021,"stargazers_count":26,"open_issues_count":4,"forks_count":12,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-12-28T21:29:36.445Z","etag":null,"topics":["astronomy","c","wcs"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Starlink.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-20T21:58:46.000Z","updated_at":"2024-10-15T07:15:30.000Z","dependencies_parsed_at":"2022-08-15T16:50:09.885Z","dependency_job_id":null,"html_url":"https://github.com/Starlink/pal","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Starlink%2Fpal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Starlink%2Fpal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Starlink%2Fpal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Starlink%2Fpal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Starlink","download_url":"https://codeload.github.com/Starlink/pal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231680087,"owners_count":18410098,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["astronomy","c","wcs"],"created_at":"2024-12-28T21:30:18.813Z","updated_at":"2024-12-28T21:30:23.640Z","avatar_url":"https://github.com/Starlink.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"PAL - Positional Astronomy Library\n==================================\n\n[![DOI](https://zenodo.org/badge/5487324.svg)](https://zenodo.org/badge/latestdoi/5487324)\n\nThe PAL library is a partial re-implementation of Pat Wallace's popular SLALIB\nlibrary written in C using a Gnu GPL license and layered on top of the IAU's\nSOFA library (or the BSD-licensed ERFA) where appropriate.\nPAL attempts to stick to the SLA C API where\npossible although `palObs()` has a more C-like API than the equivalent\n`slaObs()` function. In most cases it is enough to simply change the function\nprefix of a routine in order to link against PAL rather than SLALIB. Routines\ncalling SOFA use modern nutation and precession models so will return slightly\ndifferent answers than native SLALIB. PAL functions not available in SOFA were\nported from the Fortran version of SLALIB that ships as part of the Starlink\nsoftware and uses a GPL licence.\n\nSee `pal.news` for release notes.\n\nBuilding\n--------\n\nA simple `configure` script is provided:\n\n    ./configure --prefix=/usr/local --without-starlink\n    make\n    make install\n\nThe tests can be run using `make check`. Use `--prefix` to specify an install location.\nGiven the history of the source code as a Starlink library the default will be `/star`.\n\n`--without-starlink` forces the configure script to forget about any Starlink\nconfigurations. This is the safe option if you run into problems when using\na simple `--prefix` for building outside of Starlink. The configure script\nwill assume Starlink is not being used by looking to see if\n`STARCONF_DEFAULT_PREFIX` environment variable is set. You may run into problems if\n`STARCONF_DEFAULT_PREFIX` is set but you use `--without-starlink`.\n\nRequirements\n------------\n\nRequires that either the SOFA C library or the ERFA library variant\n(which has a more permissive license than SOFA) be installed.  The\n`configure` script will abort if neither SOFA nor ERFA can be\nfound. SOFA can be obtained either from \u003chttp://www.iausofa.org\u003e or\nfrom an unofficial github repository (with a configure script) at\n\u003chttps://github.com/Starlink/sofa/downloads\u003e.  ERFA can be downloaded\nfrom \u003chttps://github.com/liberfa/erfa\u003e.\n\nMissing Functions\n-----------------\n\nNot all SLALIB functions have been added. New routines are added to PAL as demand arises.\n\n\nLanguage Bindings\n-----------------\n\nA Perl binding of PAL is available (\u003chttps://github.com/timj/perl-Astro-PAL\u003e) named `Astro::PAL`\nand is available from CPAN at \u003chttps://metacpan.org/module/Astro::PAL\u003e. This is a standalone\ndistribution that comes with its own copies of PAL and SOFA and so can be installed directly\nfrom the `cpan` shell.\n\nA Python binding of PAL is available (\u003chttps://github.com/Starlink/palpy\u003e). This is a standalone\ndistribution that comes with its own copies of PAL and SOFA.\n\nThe Starlink AST (\u003chttp://www.starlink.ac.uk/ast\u003e) library now uses PAL and can be built\neither with a private PAL or with an external PAL.\n\nDocumentation\n-------------\n\nThe description paper for PAL is: [\"_PAL: A Positional Astronomy Library_\"](http://adsabs.harvard.edu/abs/2013ASPC..475..307J),\nJenness, T. \u0026 Berry, D. S., in _Astronomical Data Anaysis Software and Systems XXII_,\nFriedel, D. N. (ed), ASP Conf. Ser. **475**, p307.\n\nPAL is registered with the ASCL as [ascl:1606.002](http://ascl.net/1606.002).\n\nPlease consider citing the ADASS paper or the ASCL entry if you make use of this software.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarlink%2Fpal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarlink%2Fpal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarlink%2Fpal/lists"}