RPLOT
an Interactive Utility to Access TRANSP Output
Elemantary Capabilities
- GENERATE TABLE OF CONTENTS (LIST OF SELECT NAMES)
- GRAPH SCALAR FUNCTIONS AND MULTIGRAPHS VS. TIME
- GRAPH FUNCTIONS OF TIME AND ADDL. COORDINATE
- LIST CONTENTS OF SELECT MULTIGRAPH PACKAGES
- ADD/DELETE A SCALAR OR PROFILE MULTIGRAPH PACKAGE
- DRAW A PROFILE MULTIGRAPH
- View COMMENTS and/or examine NAMELIST values
- QUIT (OR "Q")
- CREATE INDEX OF GRAPHS DRAWN SO FAR
- CHANGE THE NAME (OR ABBREV.) OF A FUNCTION
- REDEFINE NON-TEMPORAL X AXES FOR PLOTTING
- TABLE OF CONTENTS OUTPUT OPTIONS (subset selection and output redirection for options (1) and (4))
- PLOT THE PLASMA MHD EQUILIBRIUM
- SET SCALING DEFAULTS
- READ/EXTRACT UFILES TIME SERIES DATA FOR SCALAR MULTIPLOT
- [CALCULATOR] -- COMPUTE USER F(t), F(x,t), PLOT DATA
- [COMPARE] multigraph of single item, multiple runs.
- "A" [ALL_PLOT] generate script to plot ALL available items.
Table of TRANSP Contents
- To generate Table of Contents of your own run:
- Write 1-D and 2-D Function names to file:
- Print 1-D and 2-D Function names:
rplot t y <TOK>.> q <runid> 1 q q | lpr - Print Multigraph Package names:
rplot t y <TOK>.<YY> q <runid> 4 q q | lpr
rplot t y <TOK>.<YY> q <runid> 1 q q > <file> - Print 1-D and 2-D Function names:
To Run from a Browser via Elvis:
To Run at PPPL:
- module load ntcc
(Note: you must first load a compiler) - define environment TERMINAL_TYPE
- identify a run:
- you either enter
- the <tokamak>.<year> and the 8 char runid
or - the mdsplus pulse id (CMOD)
- the <tokamak>.<year> and the 8 char runid
- 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
- For convenience, define the environment variables MDS_TRANSP_SERVER and MDS_TRANSP_TREE
- NSTX sample session
- 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' 117899A02See Template sample session
To run:
rplot @my_template/TokYr=NSTX.09/RunId=133046P05
- rplot
- Use Xtc
- or
- Define the Environment Variable PLOT
e.g.: export PLOT=",foo.plt-ps"
this will produce output to screen and to file foo.plt_ps - To actually write the data to the file, type "d" to "upause" after the beep.
See SGLIB Help "Logical Variables".
- Define the Environment Variable PLOT
Customize RPLOT
-
Set your Mdsplus Server and Tree by defining the environments:
- MDS_TRANSP_SERVER
e.g.: setenv MDS_TRANSP_SERVER atlas.gat.com - MDS_TRANSP_TREE
e.g.: setenv MDS_TRANSP_TREE transp - RPLOT_CACHE
if you are looking at the same run several times, set RPLOT_CACHE=TRUE
Send Comments and Questions to transp_support