Astro::Catalog::IO::Simple - Simple Input/Output format
$catalog = Astro::Catalog::IO::Simple->_read_catalog(\@lines);
$lines = Astro::Catalog::IO::Simple->_write_catalog($catalog);
Astro::Catalog::IO::Simple->_default_file();
Performs simple IO, reading or writing "id_string hh mm ss.s +dd mm
ss.s" formated strings for each Astro::Catalog::Item object in the
catalog.
The Simple format is defined as follows: Any line that looks like
ID HH MM SS.SS +/-DD MM SS.SS TYPE # Comment
will be matched. A space is allowed between the sign and the
declination. The type is optional (as is the comment) and can be one of
J2000, B1950, GALACTIC, AZEL or SUPERGALACTIC or the JCMT abbreviations (RJ,
RB, GA or AZ). If TYPE is not present J2000 is assumed.
Copyright (C) 2001-2003 University of Exeter. All Rights Reserved. Some
modificiations Copyright (C) 2003 Particle Physics and Astronomy Research
Council. All Rights Reserved.
This module was written as part of the eSTAR project in
collaboration with the Joint Astronomy Centre (JAC) in Hawaii and is free
software; you can redistribute it and/or modify it under the terms of the
GNU Public License.
Alasdair Allan <aa@astro.ex.ac.uk> Tim Jenness <tjenness@cpan.org>