aboutsummaryrefslogtreecommitdiff
path: root/noao/digiphot/ptools/tbselect.cl
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /noao/digiphot/ptools/tbselect.cl
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'noao/digiphot/ptools/tbselect.cl')
-rw-r--r--noao/digiphot/ptools/tbselect.cl20
1 files changed, 20 insertions, 0 deletions
diff --git a/noao/digiphot/ptools/tbselect.cl b/noao/digiphot/ptools/tbselect.cl
new file mode 100644
index 00000000..2ba294f8
--- /dev/null
+++ b/noao/digiphot/ptools/tbselect.cl
@@ -0,0 +1,20 @@
+# TBSELECT -- Select records from an APPHOT/DAOPHOT STSDAS table based
+# on the value of an expression.
+
+procedure tbselect (intable, outtable, expr)
+
+file intable {"", prompt = "Input apphot/daophot tables database(s)"}
+file outtable {"", prompt = "Output apphot/daophot tables database(s)"}
+string expr {"", prompt = "Boolean expression for record selection"}
+
+begin
+ # Declare the local variables.
+ string tintable, touttable, texpr
+
+ # Get the positional parameters.
+ tintable = intable
+ touttable = outtable
+ texpr = expr
+
+ tselect (tintable, touttable, texpr)
+end