blob: 0c79b882088312f70d911f3785f86d0e04f2ff5b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
.help tbkeycol Aug91 noao.ptools.digiphot
.ih
NAME
tbkeycol -- create new table columns from table header keywords
.ih
USAGE
tbkeycol table keywords
.ih
PARAMETERS
.ls table
The list of input ST tables.
.le
.ls keywords
The list of ST table header keywords, separated by commas, whose values will be
copied into the newly created ST table columns.
.le
.ih
DESCRIPTION
TBKEYCOL takes a list of ST tables \fItable\fR and copies the values of the
header keywords \fIkeywords\fR into newly created columns of the same name.
If the input file is not an ST table, an output column of the same name as the
keyword already exists, or the keyword does not exist, no action is
taken. Otherwise a new column of the same name as the keyword is created,
and the value of the keyword is copied into all rows of the table.
.ih
EXAMPLES
1. For the list of ST tables in tablelist, copy the values of the header
keywords "IMAGE", "ITIME", "IFILTER", and "XAIRMASS" into table columns
of the same name.
.nf
pt> tbkeycol @tablelist "IMAGE,ITIME,IFILTER,XAIRMASS"
.fi
.ih
TIME REQUIREMENTS
.ih
BUGS
Since the structure of the ST table is altered the user must have
write permission on the table in order to run TBKEYCOL.
.ih
SEE ALSO
.endhelp
|