AstroGrid

Skip to content Skip to navigation
Sections
You are here: Home Science User Miscellaneous Tutorials Converting ascii source lists to VOTable format

This website (www2.astrogrid.org) is now deprecated - please go to www.astrogrid.org for up to date information.

Document Actions

Converting ascii source lists to VOTable format

How to convert a simple ascii source list into VOTable format for use with VO archives and tools. A common request from new users!


A user has a privately created source list in ascii format and wishes to utilise VO tools for e.g. correlation with external archives. To do this the user needs to convert the input table to VOTable format. This is straightforward to do.


Prerequisites

The typical minimum requirements are that the input ascii table contains 3 comma separated columns:

  1. unique identifier - no spaces.
  2. RA - degree format preferred, spaces permitted for sexagesimal format assuming columns are comma separated.
  3. DEC - as for RA.


Example input table:


A simple source list of the kind shown below

Name
RA
DEC
source1
01 02 03.45
+00 01 02.34
source202 03 04.56
+01 02 03.45
source303 04 05.67
+02 03 04.56

should be uploaded to TopCat in the following simple ascii, comma separated form:

name,ra,dec
source1,01 02 03.45,+00 01 02.34
source2,02 03 04.56,+01 02 03.45
source3,03 04 05.67,+02 03 04.56

Convert to VOTable


Having uploaded the table into TopCat,  convert RA,DEC values from sexagesimal format into degree format using the relevant TopCat conversion and coordinate functions. Then simply save the table from TopCat in VOTable format. Your input table is now ready to interface with the VO world of archives and tools!

Further Help


Please email helpdesk@astrogrid.org if further assistance required.