diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /noao/digiphot/ptools/doc/istable.hlp | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'noao/digiphot/ptools/doc/istable.hlp')
-rw-r--r-- | noao/digiphot/ptools/doc/istable.hlp | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/noao/digiphot/ptools/doc/istable.hlp b/noao/digiphot/ptools/doc/istable.hlp new file mode 100644 index 00000000..3a08376c --- /dev/null +++ b/noao/digiphot/ptools/doc/istable.hlp @@ -0,0 +1,64 @@ +.help istable Aug91 noao.ptools.digiphot +.ih +NAME +istable -- determine the status of a file + +.ih +USAGE +istable infile + +.ih +PARAMETERS + +.ls infile +The name of the input file whose status is to be determined. +.le +.ls table = no +An output variable which is "yes" if \fIinfile\fR is an STSDAS table +and "no" otherwise. +.le +.ls text = no +An output variable which is "yes" if \fIinfile\fR is an APPHOT/DAOPHOT +text database and "no" otherwise. +.le +.ls other = no +An output variable which is "yes" if \fIinfile\fR is neither of the +above and "no" otherwise. +.le + +.ih +DESCRIPTION +ISTABLE is a very simple task which determines whether a specified +input file is an STSDAS table, an APPHOT/DAOPHOT text database file or +neither of the above. ISTABLE first tries to open the input file as an +STSDAS table. If successful ISTABLE returns "yes" in the +variable \fItable\fR and "no" in \fItext\fR and \fIother\fR. Otherwise +ISTABLE tries to open the input file as an APPHOT/DAOPHOT text database +file by checking for the "#K IRAF" keyword. +If the check is positive ISTABLE return "yes" in +the variable \fItext\fR and "no" in \fItable\fR and \fIother\fR. If the input +file is neither an STSDAS table or an APPHOT/DAOPHOT text database +ISTABLE returns "yes" in the variable \fIother\fR and "no" in \fItext\fR +and \fItable\fR. + +.ih +EXAMPLES + +1. Determine whether the file n4147.mag.1 is an STSDAS table. + +.nf + pt> istable n4147.mag + pt> =istable.table + + ... answer will appear on the screen +.fi + +.ih +TIME REQUIREMENTS +.ih +BUGS +Users should be wary of running ISTABLE in background as the output +CL parameters may not be properly updated. +.ih +SEE ALSO +.endhelp |