how to use tcreate with x_ttools from the unix command line
fjjames wrote on Jan 04, 2011
I need to create a table from the command line.
From the >cl prompt, I can issue
tcreate table cdfile datafile, where table is the output file, and cdfile and datafine are input files, and everything works.
However, I need to do this outside of iraf, using x_ttools.e.
How do I do that, since tcreate has three parameter files.
Thanks.
From the >cl prompt, I can issue
tcreate table cdfile datafile, where table is the output file, and cdfile and datafine are input files, and everything works.
However, I need to do this outside of iraf, using x_ttools.e.
How do I do that, since tcreate has three parameter files.
Thanks.
Mike Fitzpatrick wrote on Jan 04, 2011
Two things that might answer your question in general:
http://iraf.net/faqman/index.php?op=view&t=117
http://iraf.noao.edu/iraf/web/new_stuff/cl_host.html
More specifically, you can use "dpar tcreate" to dump the parameters for the task to a file (say, 'params') and then edit the values in the file. Execute the task then as e.g.
The three query parameters can be specified on the command-line as well and you can use the '@params' trick to supply the hidden params.
http://iraf.net/faqman/index.php?op=view&t=117
http://iraf.noao.edu/iraf/web/new_stuff/cl_host.html
More specifically, you can use "dpar tcreate" to dump the parameters for the task to a file (say, 'params') and then edit the values in the file. Execute the task then as e.g.
% /iraf/extern/tables/bin.linux/x_ttools.e tcreate @paramsThe three query parameters can be specified on the command-line as well and you can use the '@params' trick to supply the hidden params.
Last post on Jan 04, 2011