diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-04-25 20:12:12 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-04-25 20:12:12 (GMT) |
commit | c2c04641988c66df65c942153103ea53089a3573 (patch) | |
tree | 7b985b7cc3aade630062f42956654edc224357f8 /ds9/parsers/cubesendparser.tac | |
parent | c7dab180bf2aaefa958ce77f51f1e860794d6251 (diff) | |
download | blt-c2c04641988c66df65c942153103ea53089a3573.zip blt-c2c04641988c66df65c942153103ea53089a3573.tar.gz blt-c2c04641988c66df65c942153103ea53089a3573.tar.bz2 |
CUBE: add 'get cube <coordinate system> command
Diffstat (limited to 'ds9/parsers/cubesendparser.tac')
-rw-r--r-- | ds9/parsers/cubesendparser.tac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ds9/parsers/cubesendparser.tac b/ds9/parsers/cubesendparser.tac index 054734e..9b48c2a 100644 --- a/ds9/parsers/cubesendparser.tac +++ b/ds9/parsers/cubesendparser.tac @@ -2,17 +2,27 @@ %} #include def.tin +#include wcssys.tin +#include skyframe.tin + %start cubesend %token AXIS_ %token AXES_ %token INTERVAL_ +%token IMAGE_ %token LOCK_ %token ORDER_ %% +#include wcssys.trl +#include skyframe.trl + cubesend : {ProcessSendCmdCurrent "get fits slice"} + | IMAGE_ {ProcessSendCmdCurrent "get fits slice"} + | wcssys {ProcessSendCmdCurrent "get fits slice from image $1 FK5"} + | wcssys skyframe {ProcessSendCmdCurrent "get fits slice from image $1 $2"} | LOCK_ {ProcessSendCmdGet cube lock} | INTERVAL_ {BlinkSendCmdInterval} | AXES_ order |