Parses the catalogue lines and returns a new Astro::Catalog
object containing the catalog entries.
There are currently no supported options.
Create an output catalogue in the Starlink FINDOFF format and return
the lines in an array.
The sole mandatory argument is an Astro::Catalog object.
As the Starlink FINDOFF is ID in column 1, X position in column 2, Y position in column 3, and miscellaneous information in the remaining columns that gets carried through to the output file, this method writes a new ID, X, and Y in the first three columns. A new ID is formed by removing any non-numbers from the original ID because FINDOFF cannot understand non-integer IDs. This ID is also written to the fourth column because FINDOFF trounces the original input ID when doing matching, and being able to have the original ID is a good thing.
$Id: FINDOFF.pm,v 1.5 2007/05/31 01:42:34 cavanagh Exp $
Starlink User Note 139 (http://www.starlink.ac.uk/star/docs/sun139.htx/sun139.html)
Copyright (C) 2005 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 Public License.
Brad Cavanagh <email@example.com>
|perl v5.20.3||ASTRO::CATALOG::IO::FINDOFF (3)||2016-04-03|