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.19. 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.

$ asttable -P
$ info asttable
$ info Table
$ 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:
Remove rows with blank in given columns.
Column number (counting from 1) or search string.
Columns to use in --catcolumnfile.

-E, --noblankend=STR[,STR] Sim. to --noblank, at end (e.g., after arith.).

Extension name or number of input data.
Coord. columns that are inside '--polygon'.
Ignore case in matching/searching columns.
File(s) to be concatenated by column.
Coord. columns that are outside '--polygon'.
File(s) to be concatenated by row.
Select column(s): 'name', 'unit', 'comment'.
Micro-seconds to wait for standard input.

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

File with WCS if conversion is requested.
HDU in file with WCS for conversion.
HDU/Extension(s) in --catrowfile.
Output:
Text output float32 precision.
Don't touch column names of --catcolumnfile.
Text output float64 format: 'fixed' or 'exp'.
Don't delete output if it exists.
Text output float32 format: 'fixed' or 'exp'.
Only print table and column information.
Keep input directory for automatic output.
Update output metadata (name, unit, comments).
Output file name.
Column info/metadata when printing to stdout.
Text output float32 precision.
Table fmt: 'fits-ascii', 'fits-binary', 'txt'.
WCS linear matrix of output ('pc' or 'cd').
Rows in output:
Sort in descending order: largets first.
Use GSL_RNG_SEED env. for '--rowrandom'.
Column, values to keep in output.
Only return given number of top rows.
Column, values to remove from output.
Polygon vertices, also a DS9 region file.
Number of rows to select randomly.
Only rows in this row-counter range.
Column, and range to limit output.
Column name or number for sorting.
Only return given number of bottom rows.
Operating modes:
-?, --help
give this help list
List all config files and variables read.
BibTeX citation for this program.
Read configuration file STR immediately.
Do not parse any more configuration files.
Information about output(s) in a log file.
Min. bytes to avoid RAM automatically.
Number of CPU threads to use.
Only run if the program version is STR.
Print parameter values to be used and abort.
Don't print mmap'd file's name and size.
Only report errors, remain quiet about steps.
Set default values for this directory and abort.
give a short usage message
Set default values for this user and abort.
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-2022 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.

October 2022 GNU Astronomy Utilities 0.19