Scroll to navigation

TABLE(1) User Commands TABLE(1)

NAME

Table - read and write ASCII and FITS tables

SYNOPSIS

asttable [OPTION...] ASTRdata

DESCRIPTION

Table is part of GNU Astronomy Utilities 0.14. Table can be used to view the information, select columns, or convert tables. The inputs and outputs can be plain text (with white-space or comma as delimiters), FITS ascii, or FITS binary tables. The output columns can either be selected by number (counting from 1), name or using regular expressions. For regular expressions, enclose the value to the '--column' ('-c') option in slashes ('\', as in '-c\^mag\'). To print the selected columns on the command-line, don't specify an output file.

For more information, please run any of the following commands. In particular the second contains a very comprehensive explanation of Table's invocation: expected input(s), output(s), and a full description of all the options.

All options and their values:
$ asttable -P
Inputs/Outputs and options:
$ info asttable
Full section in manual/book:
$ info Table
Full Gnuastro manual/book:
$ info gnuastro

If you couldn't find your answer in the manual, you can get direct help from experienced Gnuastro users and developers. For more information, please run:

$ info help-gnuastro

Table options:

Input:
-b, --noblank=STR[,STR]
Remove rows with blank in given columns.
-c, --column=STR
Column number (counting from 1) or search string.
-C, --catcolumns=STR
Columns to use in catcolumnfile.
-h, --hdu=STR/INT
Extension name or number of input data.
--inpolygon=STR,STR
Coord. columns that are inside '--polygon'.
-I, --ignorecase
Ignore case in matching/searching columns.
-L, --catcolumnfile=STR
File(s) to be concatenated by column.
--outpolygon=STR,STR
Coord. columns that are outside '--polygon'.
--searchin=STR
Select column(s): 'name', 'unit', 'comment'.
--stdintimeout=INT
Micro-seconds to wait for standard input.

-u, --catcolumnhdu=STR/INT HDU/Extension(s) in catcolumnfile.

-w, --wcsfile=STR
File with WCS if conversion is requested.
-W, --wcshdu=STR
HDU in file with WCS for conversion.
Output:
--catcolumnrawname
Don't touch column names of --catcolumnfile.
-D, --dontdelete
Don't delete output if it exists.
-i, --information
Only print table and column information.
-K, --keepinputdir
Keep input directory for automatic output.
-m, --colmetadata=STR,STR[,STR,STR]
Update output metadata (name, unit, comments).
-o, --output=STR
Output file name.
-O, --colinfoinstdout
Column info/metadata when printing to stdout.
--tableformat=STR
Table fmt: 'fits-ascii', 'fits-binary', 'txt'.
Rows in output:
-d, --descending
Sort in descending order: largets first.
-e, --equal=STR,FLT[,...]
Column, values to keep in output.
-H, --head=INT
Only output given number of top rows.
-n, --notequal=STR,FLT[,...]
Column, values to remove from output.
--polygon=FLT:FLT[,...]
Polygon for '--inpolygon' or '--outpolygon'.
-r, --range=STR,FLT:FLT
Column, and range to limit output.
-s, --sort=STR/INT
Column name or number for sorting.
-t, --tail=INT
Only output given number of bottom rows.
Operating modes:
-?, --help
give this help list
--checkconfig
List all config files and variables read.
--cite
BibTeX citation for this program.
--config=STR
Read configuration file STR immediately.
--lastconfig
Do not parse any more configuration files.
--log
Information about output(s) in a log file.
--minmapsize=INT
Minimum bytes in array to not use ram RAM.
-N, --numthreads=INT
Number of CPU threads to use.
--onlyversion=STR
Only run if the program version is STR.
-P, --printparams
Print parameter values to be used and abort.
--quietmmap
Don't print mmap'd file's name and size.
-q, --quiet
Only report errors, remain quiet about steps.
-S, --setdirconf
Set default values for this directory and abort.
--usage
give a short usage message
-U, --setusrconf
Set default values for this user and abort.
-V, --version
print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

GNU Astronomy Utilities home page: http://www.gnu.org/software/gnuastro/

REPORTING BUGS

Report bugs to bug-gnuastro@gnu.org.

COPYRIGHT

Copyright © 2015-2021, Free Software Foundation, Inc. License GPLv3+: GNU General public license version 3 or later.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

Written/developed by Mohammad Akhlaghi

SEE ALSO

The full documentation for Table is maintained as a Texinfo manual. If the info and Table programs are properly installed at your site, the command
info Table

should give you access to the complete manual.

January 2021 GNU Astronomy Utilities 0.14