# The 'asctoldac' program converts a traditional ASCII column data # file into an LDAC table. # # It takes a configuration file which contains a block of information # on each ASCII column that should be converted into an LDAC key in an # LDAC table. # # The following configuration file applies to 'D1_r_part.asc' # # We give comments for the first key: # # The name of the key COL_NAME = SeqNr # # The keytype of the LDAC key. It can be SHORT, LONG, FLOAT, DOUBLE, or STRING COL_TTYPE = LONG # # Another key specifying the keytype. # It is - INT for keytypes SHORT and LONG # - FLOAT for keytypes FLOAT and DOUBLE # - STRING for STRING COL_HTYPE = INT # # The comment for the LDAC key. Enclose within double quotes # just use "" if there is no comment. COL_COMM = "Running Object Number" # # The unit for the LDAC key. Enclose within double quotes # just use "" if there is no comment. COL_UNIT = "" # # The depth (dimension) of the key. It is '1' for single column # numbers. It gives the maximum number of characters for keytype # STRING. COL_DEPTH = 1 # COL_NAME = Object_Name COL_TTYPE = STRING COL_HTYPE = STRING COL_COMM = "Name of the Object" COL_UNIT = "" COL_DEPTH = 64 # COL_NAME = Xpos COL_TTYPE = FLOAT COL_HTYPE = FLOAT COL_COMM = "Object X Position" COL_UNIT = "pix" COL_DEPTH = 1 # COL_NAME = Ypos COL_TTYPE = FLOAT COL_HTYPE = FLOAT COL_COMM = "Object X Position" COL_UNIT = "pix" COL_DEPTH = 1 # COL_NAME = rh COL_TTYPE = FLOAT COL_HTYPE = FLOAT COL_COMM = "Object Half Light Radius" COL_UNIT = "pix" COL_DEPTH = 1