module load ntcc (Note: you must first load a compiler)
define environment TERMINAL_TYPE
tcsh users
setenv TERMINAL_TYPE xterm
if you use Xtc, do insted: source $TRANSP_LOCATION/.xtcrc_csh
bash users
export TERMINAL_TYPE=xterm
if you use Xtc, do insted: . $TRANSP_LOCATION/.xtcrc
identify a run:
you either enter
the <tokamak>.<year> and the 8 char runid
or
the mdsplus pulse id (CMOD)
run the program:
rplot you will get a menu prompting you.
to read from PPPL disk: rplot d $ARCDIR/<tok>/<yy> q <runid>
e.g.: rplot d $ARCDIR/NSTX/05 q 117899A02
to read from PPPL MDSplus Server: rplot t y <tok>.<yy> q <runid>
e.g.: rplot t y NSTX.05 q 117899A02
to read from NON-pppl MDSplus Servers:
For convenience, define the environment variables MDS_TRANSP_SERVER and MDS_TRANSP_TREE
e.g.: export MDS_TRANSP_SERVER=_atlas.gat.com
e.g.: export MDS_TRANSP_TREE=transp
to read from CMOD MDSplus Tree
rplot t s <Server> t <tree> n <MDS pulse number> q
e.g.(if environment is defined): rplot t n 1070713005 q
to read from other MDSplus Tree:
rplot t s <server> t <tree> y <tok>.<yy> q <runid>
e.g.(if environment is defined): rplot t y D3D.09 q 136886A01
Exapmple to produce a template: at any time at a prompt enter:
>filename
from now on rplot will record your session in "filename".tmi
till you enter:
<
e.g.:
rplot t y NSTX.05 q 117899A02
>my_template
:
:
<
To run:
rplot t y NSTX.09 q 133046P05 @my_template
Example for using a template with Variable Names: TokYr & RunId:
To use Variable Names, enter 1st the Variable Name (in singel quotes)
at re-prompt enter the actual Value:
e.g.:
'RunId'
117899A02