NAME

Astro::Catalog::IO::UKIRTBS - Old format used by UKIRT Bright Star catalogs

SYNOPSIS

$cat = Astro::Catalog::IO::UKIRTBS->_read_catalog(\@lines);

DESCRIPTION

This class provides a read method for catalogs written in a format used by the old ukstar web interface to the SAO and Bright Star catalogs. It is probable that this format has a real name and is a historical format rather than a UKIRT-specific format but the history of ukstar and the associated catalog files is not known to the author of this module.

_read_catalog

Parses the catalog lines and returns a new Astro::Catalog object containing the catalog entries.

$cat = Astro::Catalog::IO::JCMT->_read_catalog(\@lines);

No options are supported.

FORMAT

The catalog format uses fixed formatting (first column is column 1):

Columns
 1-7     star id
10-20    Right Ascension (presumed B1950). Radians
21-32    Declination (presumed B1950). Radians
33-38    "rap"  (unknown)
39-44    "decp" (unknown)
45-49    V Magnitude
50-      Spectral type

COPYRIGHT

Copyright (C) 2004 Particle Physics and Astronomy Research Council. All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place,Suite 330, Boston, MA 02111-1307, USA

AUTHORS

Tim Jenness <tjenness@cpan.org>