3/18/2003 Dear MPTS data users, For about six months all the MPTS data has been available on the MDS tree. But it has come to my attention that some of you are still using temporary files written before the 20-point data was loaded in MDS. These files are not maintained and should not be used. Please retrieve MPTS analysis results from the MDS tree. The temporary file will be removed shortly. Retrieving the MPTS data from the MDS tree can be done with function ts. Function ts NOW retrieves data for ANY shots. It retrieves 20-point data or 10-point data for old shots taken before the MPTS upgrade. Below are examples for VMS and UNIX that show data retrieval and plotting examples. The ts2 function that was used last year to retrieve 20-point data will still work for the moment, but I will stop maintaining it. For UNIX: move to /p/nstxusr2/nstx/mpts/source idl IDL> addpath IDL> s=ts(109070) "Best" analysis is of "Preliminary" quality IDL> help,s,/str ** Structure <8267be4>, 15 tags, length=66868, data length=66868, refs=1: SHOT LONG 109070 TIME FLOAT Array[39] RADIUS FLOAT Array[20] DR FLOAT Array[20] TEF FLOAT Array[39, 20] NEF FLOAT Array[39, 20] PEF FLOAT Array[39, 20] DTEF FLOAT Array[39, 20] DNEF FLOAT Array[39, 20] DPEF FLOAT Array[39, 20] RS FLOAT Array[101] TES FLOAT Array[39, 101] NES FLOAT Array[39, 101] PES FLOAT Array[39, 101] LD FLOAT Array[39] IDL> IDL> vers_plot <====== Directs plots to Tek screen and sets Tek colors % Compiled module: VERS_PLOT. IDL> plotts,ts(108730) "Best" analysis is of "Preliminary" quality IDL> x_plot <======= Directs plots to Xterm screen and sets Tek colors. % Compiled module: X_PLOT. IDL> plotts,ts(108730) "Best" analysis is of "Preliminary" quality IDL> Please note that the VMS software is no longer supported. For VMS Set default to NSTX$:[MPTS.SOURCE] IDL> addpath IDL> s=ts(109070) "Best" analysis is of "Preliminary" quality IDL> help,s,/str ** Structure , 15 tags, length=66868, refs=1: SHOT LONG 109070 TIME FLOAT Array[39] RADIUS FLOAT Array[20] DR FLOAT Array[20] TEF FLOAT Array[39, 20] NEF FLOAT Array[39, 20] PEF FLOAT Array[39, 20] DTEF FLOAT Array[39, 20] DNEF FLOAT Array[39, 20] DPEF FLOAT Array[39, 20] RS FLOAT Array[101] TES FLOAT Array[39, 101] NES FLOAT Array[39, 101] PES FLOAT Array[39, 101] LD FLOAT Array[39] IDL> IDL> tek <======= Sends plots to Tek screen IDL> tekcolor <=== Loads Tek colors IDL> plotts,ts(109070) "Best" analysis is of "Preliminary" quality IDL> xplot <====== Sends plots to X screen IDL> tekcolor <==== loads Tek colors IDL> plotts,ts(109070) "Best" analysis is of "Preliminary" quality IDL> If your X plot turns out to be all black, use xplot2 instead of xplot. This should set the background color to white instead of black. Finally if you write your own software to read directly from the MDS tree, set treename='\TS_BEST:' for all shots. F.Y.I. Ben