Table Reformat Functionality and Examples
Table Reformat service scans an ASCII table and reformats it to conform to the IPAC table standard. This document outlines its functionality and provides examples.
Functionality
-
Reformats headers and data whose values are separated by commas (CVS), pipes (vertical bars), spaces, or tab stops to fixed width columns separated by pipes (headers) and spaces (data). (example I)
-
Removes carriage returns and blank lines from table records. (example II)
-
Corrects misaligned records and variable length records to fixed width records. (example III)
-
Interprets tables without column names that contain only a list of object names or positions written as Right Ascension (RA) and Declination (Dec). (example IV)
-
Validates the data in each column to determine whether the datatype are consistent with those in the header. (Table validation example)
Common mistakes
-
Uploading tables that cannot be unambiguously parsed but will still pass the service and return incorrectly formatted files. (example 1)
-
Uploading tables that cannot be read nor parsed. (example 2)
-
Uploading binary files will get unpredictable results. (example 3)



