Man page - stilts-arrayjoin(1)
Packages contas this manual
- stilts-mocshape(1)
- stilts-tskymap(1)
- stilts-calc(1)
- stilts(1)
- stilts-tskymatch2(1)
- stilts-cone(1)
- stilts-funcs(1)
- stilts-tmatchn(1)
- stilts-plot3d(1)
- stilts-taplint(1)
- stilts-tgroup(1)
- stilts-cdsskymatch(1)
- stilts-coneskymatch(1)
- stilts-regquery(1)
- stilts-tapresume(1)
- stilts-tmatch1(1)
- stilts-tcat(1)
- stilts-plot2corner(1)
- stilts-votcopy(1)
- stilts-tpipe(1)
- stilts-tcopy(1)
- stilts-arrayjoin(1)
- stilts-tgridmap(1)
- stilts-pixfoot(1)
- stilts-tmulti(1)
- stilts-plot2plane(1)
- stilts-plot2d(1)
- stilts-sqlupdate(1)
- stilts-tjoin(1)
- stilts-sqlclient(1)
- stilts-tmatch2(1)
- stilts-plot2time(1)
- stilts-datalinklint(1)
- stilts-plot2cube(1)
- stilts-tapquery(1)
- stilts-xsdvalidate(1)
- stilts-tapskymatch(1)
- stilts-votlint(1)
- stilts-plot2sky(1)
- stilts-tloop(1)
- stilts-plothist(1)
- stilts-tcatn(1)
- stilts-plot2sphere(1)
- stilts-pixsample(1)
- stilts-tcube(1)
- stilts-sqlskymatch(1)
- stilts-tmultin(1)
apt-get install stilts
Manual
| STILTS-ARRAYJOIN(1) | Stilts commands | STILTS-ARRAYJOIN(1) |
NAME
stilts-arrayjoin - Adds table-per-row data as array-valued columns
SYNOPSIS
stilts arrayjoin [ifmt=<in-format>] [istream=true|false] [in=<table>] [icmd=<cmds>] [ocmd=<cmds>] [omode=out|meta|stats|count|checksum|cgi|discard|topcat|samp|tosql|gui] [out=<out-table>] [ofmt=<out-format>] [atable=<loc-expr>] [afmt=<in-format>] [astream=true|false] [acmd=<cmds>] [keepall=true|false] [aparams=<name-list>] [cache=true|false] [fixcols=none|dups|all] [suffixarray=<label>]
DESCRIPTION
arrayjoin takes an input table and for each row adds the contents of a separate "array" table. The columns added are the columns from the array table, and the value of each cell is the value of the whole column from the array table represented as an array. The assumption is that all the array tables have the same form (the same columns, though not necessarily the same row counts).
This can be useful for constructing a single table with array-valued columns containing data that is made available in multiple external files, for instance via the DataLink protocol; this is illustrated in the Examples subsection below. Note however that this command does not understand DataLink directly, and cannot itself determine the location of the external array tables; an expression giving their per-row location (filename or URL) must be supplied.
OPTIONS
- A filename.
- A URL.
- The special value "-", meaning standard input. In this case the input format must be given explicitly using the ifmt parameter. Note that not all formats can be streamed in this way.
- A scheme specification of the form :<scheme-name>:<scheme-args>.
- A system command line with either a "<" character at the start, or a "|" character at the end ("<syscmd" or "syscmd|"). This executes the given pipeline and reads from its standard output. This will probably only work on unix-like systems.
In any case, compressed data in one of the supported compression formats (gzip, Unix compress or bzip2) will be decompressed transparently.
Commands may alternatively be supplied in an external file, by using the indirection character '@'. Thus a value of "@filename" causes the file filename to be read for a list of filter commands to execute. The commands in the file may be separated by newline characters and/or semicolons, and lines which are blank or which start with a '#' character are ignored. A backslash character '\fR' at the end of a line joins it with the following line.
Commands may alternatively be supplied in an external file, by using the indirection character '@'. Thus a value of "@filename" causes the file filename to be read for a list of filter commands to execute. The commands in the file may be separated by newline characters and/or semicolons, and lines which are blank or which start with a '#' character are ignored. A backslash character '\fR' at the end of a line joins it with the following line.
Possible values are
- out
- meta
- stats
- count
- checksum
- cgi
- discard
- topcat
- samp
- tosql
- gui
Use the help=omode flag or see SUN/256 for more information.
This parameter must only be given if omode has its default value of "out".
This parameter must only be given if omode has its default value of "out".
The first non-blank table loaded defines the array columns to be added. If subsequent tables have a different structure (do not contain similar columns in a similar sequence) an error may result. If the external array tables are not all homogenous in this way, the acmd parameter can be used to filter them so that they are.
Commands may alternatively be supplied in an external file, by using the indirection character '@'. Thus a value of "@filename" causes the file filename to be read for a list of filter commands to execute. The commands in the file may be separated by newline characters and/or semicolons, and lines which are blank or which start with a '#' character are ignored. A backslash character '\fR' at the end of a line joins it with the following line.
Parameters are supplied as a space- or comma-separated list. Matching against table names is case-insensitive, and the asterisk character "*" may be used as a wildcard to match any sequence of characters. The list is interpreted relative to the first external table which is loaded. Supplying the value "*" therefore will include a column for each parameter in the first loaded table.
- none: columns are not renamed
- dups: columns which would otherwise have duplicate names in the output will be renamed to indicate which table they came from
- all: all columns will be renamed to indicate which table they came from
If columns are renamed, the new ones are determined by suffix* parameters.
SEE ALSO
stilts(1)
If the package stilts-doc is installed, the full documentation
SUN/256 is available in HTML format:
file:///usr/share/doc/stilts/sun256/index.html
VERSION
STILTS version 3.5.2-debian
This is the Debian version of Stilts, which lack the support of
some file formats and network protocols. For differences see
file:///usr/share/doc/stilts/README.Debian
AUTHOR
Mark Taylor (Bristol University)
| Mar 2017 |