UNIX (nstxpool, portal)
See New NSTX-U User Setup.
for the csh, tcsh, ksh or bash shells:
csh> module load nstx
(Some Linux paths are different than the previous Solaris systems -- see the Beowulf Cluster page for more information.)
These procedures define a variety of environment variables and aliases (LiNIX)
Other permissions may be necessary depending on what you need to do. See New NSTX-U User Setup for more detail.
Example for 6-digit shot numbers that start with '13678':
[sunfire15]$ treedir 13678%/tree=passivespec Tree: passivespec, Shot number search string: 13678% Server: skylark.pppl.gov Filename Directory Date passivespec_136780.datafile /nstxdata/arc02/passivespec/13/67/ 03/04/10 passivespec_136781.datafile /nstxdata/arc02/passivespec/13/67/ 03/04/10 passivespec_136782.datafile /nstxdata/arc02/passivespec/13/67/ 03/04/10 passivespec_136783.datafile /nstxdata/arc02/passivespec/13/67/ 03/08/10 passivespec_136784.datafile /nstxdata/arc02/passivespec/13/67/ 03/08/10 passivespec_136785.datafile /nstxdata/arc02/passivespec/13/67/ 03/08/10 passivespec_136786.datafile /nstxdata/arc02/passivespec/13/67/ 03/08/10 passivespec_136787.datafile /nstxdata/arc02/passivespec/13/67/ 03/08/10 passivespec_136788.datafile /nstxdata/arc02/passivespec/13/67/ 03/08/10 passivespec_136789.datafile /nstxdata/arc02/passivespec/13/67/ 03/08/10
Note that the listing also tells you where on skylark the shot files reside and when they were created or last modified..
Use 'treedir' to find non-standard shots such as test shots (3,4,5 digits) and calibration shots (7-9 digits).
No. A design goal is to have all data on disk, at least for the last three years. Note that you may write results to MDSplus trees (even years after the shot), and not worry about your own file quotas.
You may also run the NSTX-U logbook from IDL (using X-windows). On Linux, if you have done a "module load mdsplus/nstx" (and other things necessary for New-user Setup):
% IDL IDL> syb_entry
An on-line Logbook manual is available, as are PDF and Microsoft Word versions. Errors and questions should be directed to Stan Kaye.
You will need a "write-access" priviledge. You may want to create your own "topic." See dbadmin@pppl.gov for assistance.
You may use the NSTX-U MDSplus Shot Search Tool or one of the database tools.
The software WebTools page provides indices for XPs and XMPs.
Log onto nstxpool and enter:
daily
This will give you a list of the shots taken so far today along with the T0 timestamp.
Other options are:
daily y
for a list of shots from yesterday's run, and
daily 20090711
for a list of shot on July 11th, 2009, or
daily 0223
for a list of shots on February 23rd in the current year.
[From the MIT MDSplus home page, February 1999] "MDSplus is a data acquisition and analysis system developed jointly by MIT Plasma Science and Fusion Center, Cambridge,MA Los Alamos National Laboratory, Los Alamos, NM Instituto Gas Ionizzati, Padova, Italy " "MDSplus provides a set of tools for performing data acquisition and analysis for pulsed experiments. It is designed to keep all experimental data, analysis results, experiment configuration and setup information together in an organized fashion. The data for each pulse of the experiment is stored in a hierarchical tree structure much like a file system. Each item of data (i.e. the data from a digitizer channel, a setup parameter, a comment) is stored in a node in the tree. [emphasis added] This organization enables the users to keep track of large numbers of pieces of information. Currently the tree describing the Alcator C-MOD experiment has nearly 44,000 nodes containing information in over 1400 "directories". Each item of data can be any of several supported data types. These include elemental data types such as integer, floating point, text, or some more complex data types such as signals, devices, actions." [End of quoted material.]
[From the MIT MDSplus home page, February 1999]
"MDSplus is a data acquisition and analysis system developed jointly by MIT Plasma Science and Fusion Center, Cambridge,MA Los Alamos National Laboratory, Los Alamos, NM Instituto Gas Ionizzati, Padova, Italy "
"MDSplus provides a set of tools for performing data acquisition and analysis for pulsed experiments. It is designed to keep all experimental data, analysis results, experiment configuration and setup information together in an organized fashion. The data for each pulse of the experiment is stored in a hierarchical tree structure much like a file system. Each item of data (i.e. the data from a digitizer channel, a setup parameter, a comment) is stored in a node in the tree. [emphasis added] This organization enables the users to keep track of large numbers of pieces of information. Currently the tree describing the Alcator C-MOD experiment has nearly 44,000 nodes containing information in over 1400 "directories".
Each item of data can be any of several supported data types. These include elemental data types such as integer, floating point, text, or some more complex data types such as signals, devices, actions." [End of quoted material.]
A tag is a shorthand name for the full tree path from the top of a (sub)tree to a given node. A node has just one name, but may have many different tags (tagnames). For example, one of the nodes that holds the NSTX-U corrected plasma current, in the Engineering tree, is PLASMA_CUR1. The full path to that node is \ENGINEERING::TOP.EPICS.FCPC.DIGITIZERS:PLASMA_CUR1. This full path could be used to retrieve the data, timing and units. The tag for the same node is \ENGINEERING::PC_PLASMA_CUR_1 It could be used wherever the full path could be used.
You can use the TDI function GETNCI, for \IP, e.g.,:
IDL> print,MDSVALUE('_t=getnci("IP","fullpath","ANY")')
IDL> print,fullmdspath('\ip')
The printer must be added to the file /usr/pppl/nstx/mdsplus/local/scope_printers. Send your request to nstx_sw_dev@pppl.gov.
Assuming you have done a "module load nstx" just enter jScope from the command line. See Using jScope on the PPPL Linux cluster for more information, including how to convert scope input files to jScope input files.
On the Linux Cluster, say an nstxpool computer:
module load nstx/epics nstxclock
See How to Make a Private MDSplus tree
See How to find the files of an MDSplus Tree
In the Lithium tree tag \Evap_Last_Shot is the amount of Lithium evaporated right before the shot and tag \Evap_Today is the total evaporated that day before the shot.
module load nstx idl IDL> mdsopen, 'lithium', 138843 IDL> elast = MDSVALUE( '\evap_last_shot' ) IDL> etoday = MDSVALUE( '\evap_today' ) IDL> print, shot, elast, etoday 138843 104.120 113.690
On a MAC: