{"id":15018524,"url":"https://github.com/timj/perl-astro-sla","last_synced_at":"2025-09-11T13:14:54.102Z","repository":{"id":631291,"uuid":"272065","full_name":"timj/perl-Astro-SLA","owner":"timj","description":"Perl CPAN Astro::SLA module interfacing to slalib positional astronomy library","archived":false,"fork":false,"pushed_at":"2014-05-29T17:31:00.000Z","size":249,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T00:42:32.503Z","etag":null,"topics":["astronomy","perl","wcs"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timj.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-08-07T21:37:01.000Z","updated_at":"2014-09-08T20:24:58.000Z","dependencies_parsed_at":"2022-07-07T16:40:18.366Z","dependency_job_id":null,"html_url":"https://github.com/timj/perl-Astro-SLA","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timj%2Fperl-Astro-SLA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timj%2Fperl-Astro-SLA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timj%2Fperl-Astro-SLA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timj%2Fperl-Astro-SLA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timj","download_url":"https://codeload.github.com/timj/perl-Astro-SLA/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timj%2Fperl-Astro-SLA/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259189679,"owners_count":22819092,"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","perl","wcs"],"created_at":"2024-09-24T19:52:04.398Z","updated_at":"2025-06-11T03:06:32.617Z","avatar_url":"https://github.com/timj.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"Astro::SLA -- interface to C or Fortran SLALIB library\n==========\n\nThis module provides an interface layer to the C or Fortran version of\nthe SLALIB library.  From the abstract of the SLALIB manual (written\nby Pat Wallace):\n\n   \"SLALIB is a library used by writers of positional-astronomy\n   applications. Most of the 171 routines are concerned with\n   astronomical position and time, but a number have wider\n   trigonometrical, numerical or general applications.\"\n\nAn example program, stime, is provided. This simply reports the\ncurrent time (modified Julian day and local sidereal time for the JCMT).\n\nRequirements:\n-------------\n\nThis module requires either the C or Fortran version of the SLALIB\nlibrary written by Pat Wallace.\n\nThis module has been tested with the Starlink Fortran library v2.5\n(released 2005), the current Starlink release (kapuahi),\nand 2008 releases of the C library. It should work\nfine with older versions (up to 2002).\n\nIf you are working with orbital elements you need a version of the\nlibrary released sometime in 2002. Improvements in mid-2005 to\nthe accuracy of the calculations for moving sources (comets and\nasteroids) means that not all the tests will pass for the orbital\nelements tests if you are using a relatively old Slalib.\n\nYou must have either the C version of the library or the Starlink\nFortran version of the library in order to build this module.\n\nThe Fortran version of SLALIB is available from Starlink under the\nGPL. You can download it from Starlink (http://www.starlink.ac.uk).\n\nPlease contact Pat Wallace (ptw@tpsoft.demon.co.uk) for details of how\nto obtain the (proprietary) C SLALIB library.\n\nA C compiler is required - this is an XS module. A Fortran compiler (such\nas gfortran) is required if you are building against the Fortran library [or\nat least the Fortran runtime libraries].\n\nThis module has been tested on linux and Mac OS X but should be fairly\nportable.\n\nFor a self-contained reimplementation of the SLA library written in C\nand based on top of SOFA consider using the Astro::PAL CPAN module. This\nmodule has a lot of the commonly used SLA API implemented and uses a\nsimilar API.\n\nInstallation:\n-------------\n\n - Edit the Build.PL so that the location of the SLA\n   library and include files are correct [see variables $sla_lib and\n   $sla_inc] or else use the $SLA_ROOT environment variable. By\n   default the module attempts to find the Starlink\n   installation and then falls back to assuming the C version is\n   installed. Change the value of $use_fortran if you know you are\n   using an explicit C or Fortran version.\n\n   It is assumed the C library is available from /usr/local/lib by default.\n\n   The includes files, slalib.h, should be available\n   in the default path. If they are somewhere else the Build.PL\n   should be edited to reflect this location. For example,\n   change the line\n\n     my $sla_inc =\u003e '',\n\n   to\n\n     my $sla_inc =\u003e '-I/home/me/include',\n\n   to pick them up from /home/me/include\n\nThen:\n\n  % perl Build.PL\n  % ./Build\n  % ./Build test\n  % ./Build install\n\nThe tests only test part of the build. Some functions remain untested.\nIn particular orbital element support will not be very good unless you\nhave a modern installation of SLALIB (sometime from 2002).\n\nSee Astro::Coords for a general object-oriented wrapper around Astro::PAL.\n\nDocumentation:\n--------------\n\nThe module provides documentation on how to use the perl interface\nto SLALIB. It does not contain information on how to use\nSLALIB itself. For more information on SLALIB see:\n\n  http://www.starlink.ac.uk/star/docs/sun67.htx/sun67.html\n\n\nCopyright\n---------\n\nCopyright (C) 2007, 2010, 2012, 2013 Tim Jenness and the Science and Technology Facilities\nCouncil. Copyright (C) 1998-2005 Tim Jenness and the Particle Physics and\nAstronomy Research Council.  All rights reserved.\n\nThis program is free software; you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation; either version 3 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful,but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program; if not, write to the Free Software Foundation, Inc., 59 Temple\nPlace,Suite 330, Boston, MA  02111-1307, USA\n\n\nThe SLALIB library (C version) is proprietary.  Please contact Patrick\nWallace (ptw@tpsoft.demon.co.uk) if you would like to obtain a copy.\n\nThe Starlink SLALIB library (Fortran) is available from Starlink\nunder the GPL.\n\nThe array handling code was written by Karl Glazebrook.\n\n\nChanges\n-------\n\nSee the ChangeLog file for a full list of changes.\n\nChanges for release 1.03\n\n  - Add rpath hack to linker. MakeMaker includes this automatically\n    but Module::Build does not.\n\nChanges for release 1.02\n\n  - Add ExtUtils::F77 as a configure dependency. This fixes a problem with\n    CPAN tools running Build.PL, finding ExtUtils::F77 is required, installing\n    it and not re-running Build.PL.\n\nChanges for release 1.01:\n\n  - Understand that modern Fortran SLA requires CNF.\n\n  - Specify a minimum Module::Build version.\n\n  - Now understands $STARLINK_DIR and uses it when Starlink::Config\n    is not available.\n\n  - Now understands $SLA_ROOT environment variable to allow the\n    location of the C sla library to be specified externally through\n    the environment.\n\nChanges for release 1.00:\n\n  - Use Module::Build\n\n  - Fix slaIntin when using the Fortran library\n\n  - Minor compiler warnings fixed and removedsome OUTPUT sections that\n    were not needed.\n\nChanges for release 0.99:\n\n  - slaObs can now be called with a constant string (required by\n    Astro::Telescope).\n\n  - Added slaIntin (for completeness)\n\n  - The tests have been updated considerably. All the examples\n    from the slalib documentation are now included in the test suite.\n\n  - Test::More is now required for the tests.\n\n  - stime has added arguments (-epoch, -h and -man)\n\nChanges for release 0.98:\n\n  - Missed two \"Perl_croak + threading errors\"\n\nChanges for release 0.97:\n\n  - Addition of a test for cometary ephemerides\n\n  - A fix to the slaOap function when using the Fortran bindings\n\n  - Fix for building with a thread-enabled perl, although slalib\n    is not proven to be thread safe.\n\nChanges for release 0.96:\n\n  - Now includes Fortran support\n\n  - Add slaPertel and slaPertue\n\n  - Fix slaOap\n\nChanges for release 0.95:\n\n  - Fix bug in slaPlante (it simply didn't work)\n\nChanges for release 0.94:\n\n  - Fix bug in slaPreces and add new test for it.\n\nChanges for release (0.93):\n\n  - New utility 'stime' for printing the current time, MJD and LST\n\n  - Add ut2lst_tel command (this was in the docs but not present)\n\n  - Fix bug in slaEg50 (thanks to Chris Phillips)\n\n  - Fix segmentation violation in certain uses of the slaObs\n    command on linux.\n\n  - Should now compile cleanly on perl 5.6.0 (now uses PL_na symbols\n    in XS layer)\n\n  - slightly improved test suite.\n\nChanges for release 0.92:\n\n  - Export all single precision aliases\n\n  - Export slaDvxv\n\n  - Fix compiler warnings (thanks to Chris Phillips \u003cphillips@jive.nfra.nl\u003e\n    for a patch).\n\nChanges for release 0.91:\n\n  - Add DR2S, DR2H and slaEcleq to the export list.\n\n  - Fix argument order of slaEqgal and slaSupgal\n        [patch supplied by Tim Kimball (kimball@stsci.edu)]\n\n  - Allow use of single precision names as aliases to double precision\n    commands.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimj%2Fperl-astro-sla","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimj%2Fperl-astro-sla","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimj%2Fperl-astro-sla/lists"}