NAME
Astro::Catalog::IO::Hedwig - Hedwig format catalog parser
METHODS
- _read_catalog
-
Parses the catalog lines and returns a new
Astro::Catalog
object.$cat = Astro::Catalog::IO::Hedwig->_read_catalog(\@lines, %options);
Options:
- telescope
-
Name of telescope to associate with each entry.
- _write_catalog
-
Write the catalog to an array of lines.
$lines = Astro::Catalog::IO::Hedwig->_write_catalog($cat);
- _get_csv_parser
-
Constructs an instance of the Text::CSV class.
COPYRIGHT
Copyright (C) 2021 East Asian Observatory 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.,51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA