Next Previous Up Contents
Next: FITS
Up: Table Formats
Previous: Table Formats

#### 4.1.1 Supported Input Formats

Loading tables into TOPCAT is done either from the command line when you start the program up or using the Load Table dialogue. For FITS, VOTable and CDF formats the file format can be detected automatically (note this is done by looking at the file content, it has nothing to do with filename extensions). For other formats though, for instance ASCII or Comma-Separated Values, you will have to specify the format that the file is in. In the Load Window, there is a selection box from which you can choose the format, and from the command line you use the `-f` flag - see Section 10 for details. You can always specify the format rather than using automatic detection if you prefer - this can be a good idea if a table appears to be failing to load in a surprising way, since it may give you a more detailed error message.

In either case, table locations may be given as filenames or as URLs, and any data compression (gzip, unix compress and bzip2) will be automatically detected and dealt with - see Section 4.2.

Note: in some earlier versions of TOPCAT, ASCII format tables could be detected automatically, so you could load them by typing something like "`topcat table.txt`". In the current version, you have to signal that this is an ASCII table, for instance by typing "`topcat -f ascii table.txt`".

The following sections describe the table formats which TOPCAT can read.

- 4.1.1.1 FITS
- 4.1.1.2 Column-oriented FITS
- 4.1.1.3 VOTable
- 4.1.1.4 CDF
- 4.1.1.5 ASCII
- 4.1.1.6 IPAC
- 4.1.1.7 Comma-Separated Values
- 4.1.1.8 GBIN
- 4.1.1.9 Tab-Separated Table
- 4.1.1.10 SQL Database Queries
- 4.1.1.11 World Data Center

Next Previous Up Contents
Next: FITS
Up: Table Formats
Previous: Table Formats

TOPCAT - Tool for OPerations on Catalogues And Tables
Starlink User Note253
TOPCAT web page: http://www.starlink.ac.uk/topcat/
Author email: m.b.taylor@bristol.ac.uk
Mailing list: topcat-user@jiscmail.ac.uk