Two Subroutines Used in Processing of Arrayed Data Files
-
Graphical Abstract
-
Abstract
Arrayed data files are commonly used in astronomy.It may be a text file compiled by the software "EDIT" in common use,or a table compiled by Microsoft WORD,Excel,or a FITS format etc.In the database of CDS (Centre de Donnees astronomiques de Strasbourg),there are over thousands star catalogues.Sometimes you may get a star catalogue from a colleague or friend of you,which may be done by multifarious computer software and may have peculiarity of sorts.Especially,the star catalogue had been compiled in several years ago.You may often need to deal with such listed multidimensional data files,and you may need to make new listed data files by yourself.This processing for reduce-dimension or add-dimension,if it was a kind of row treatment,is very easy to do with some famous software like "EDIT".However,maybe you are facing a column treatment.It may bring some trouble to you.In some cases,a character "Tab" may exist in the file.Different software,even different printers made by a certain company,may give dissimilar treatment to the character "Tab".The problem is that a Table-key can denote a single space-key,or can be up to eight space-keys.Sometimes,it may not be easy to find a ready-made program in your hands.If this data file could be opened by the software "EDIT",two programs in this paper can help you to understand what happened there,and help you to solve the problem conveniently and easily.It includes to covert all of the Table-keys to be corresponding space-keys,to pick-up,delete,add blanks,or link two data files as two columns in one file.
-
-