[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 33b7b70: Book: corrected example of --catrowfi
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 33b7b70: Book: corrected example of --catrowfile |
Date: |
Sat, 13 Nov 2021 20:00:27 -0500 (EST) |
branch: master
commit 33b7b70031f251d7b87e61ed0ed20f8bc33e8719
Author: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Book: corrected example of --catrowfile
In the previous commit, an example command was given for the usage of
'--catrowfile' (to add rows from different tables into one table). But the
example didn't exactly correspond to the description in the text (it didn't
have any reference to the RA, DEC and MAGNITUDE columns that were
mentioned).
With this commit, the command has been corrected to include those columns.
---
doc/gnuastro.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index 45b139c..5ddd4bb 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -11337,12 +11337,12 @@ Don't modify the names of the concatenated (appended)
columns, see description i
Add the rows of the given file to the output table.
The selected columns in the tables given to this option should have the same
number and datatype and the rows before control reaches this phase (after
column selection and column concatenation), for more see @ref{Operation
precedence in Table}.
-For example, if @file{a.fits}, @file{b.fits} and @file{c.fits} have the
columns @code{RA}, @code{DEC} and @code{MAGNITUDE} (possibly in different
column-numbers in their respective table), the command below will add their
rows (in the same order) into the final output.
+For example, if @file{a.fits}, @file{b.fits} and @file{c.fits} have the
columns @code{RA}, @code{DEC} and @code{MAGNITUDE} (possibly in different
column-numbers in their respective table, along with many more columns), the
command below will add their rows into the final output that will only have
these three columns:
@example
$ asttable a.fits --catrowfile=b.fits --catrowhdu=1 \
--catrowfile=c.fits --catrowhdu=1 \
- --output=allrows.fits
+ -cRA,DEC,MAGNITUDE --output=allrows.fits
@end example
@cartouche
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnuastro-commits] master 33b7b70: Book: corrected example of --catrowfile,
Mohammad Akhlaghi <=