How to find the files of an MDSplus Tree

To find an existing model tree, look at the environmental variable on Linux or the logical name on VMS. For example to see where the operations tree resides from Linux:

   printenv operations_path
On the Linux cluster, this would show you the server name and port, e.g.
   luna.pppl.gov:8501::
On VMS:
   show logical operations$path
this would show you a "search list" of various possible directories:
  "OPERATIONS$DATA" = "NSTX$NEW1$:[OPERATIONS]"
        = "NSTX$MODELS$:[OPERATIONS]"
        = "NSTX$ARC$:[OPERATIONS]"
        = "NSTX$ARC$:[OPERATIONS.MODIFIED]"
If you have "setup mdsplus" on VMS, you can also use the mdir command:
   EUROPA$ mdir 1%%%%%%/tree=passivespec

               Filename                     Directory
   PASSIVESPEC_1010001.DATAFILE;1         NSTX$ARC$:[PASSIVESPEC.101.00]
   PASSIVESPEC_1013001.DATAFILE;4         NSTX$ARC$:[PASSIVESPEC.101.30]
   PASSIVESPEC_1013002.DATAFILE;2         NSTX$ARC$:[PASSIVESPEC.101.30]
	     
If the tree was on lark, you could login there and find the files. For the cameras2 tree, for example:
   lark1% printenv cameras2_path
   /nstxdata/new/~t;/nstxdata/models/~t;/nstxdata/arc07/~t/~f~e/~d~c;/nstxdata/arc06/~t/~f~e/~d~c;/nstxdata/arc05/~t/~f~e/~d~c;/nstxdata/arc04/~t/~f~e/~d~c;/nstxdata/arc03/~t/~f~e/~d~c;/nstxdata/arc02/~t/~f~e/~d~c;/nstxdata/arc01/~t/~f~e/~d~c;/nstxdata/arc101/~t/~f~e/~d~c;/nstxdata/calib/~t
So the model tree for cameras2 could be copied from lark to the Linux by doing the following in an area on the Linux cluster you wished the files to be:
   scp YourUserName@lark.pppl.gov::/nstxdata/models/cameras2/*model* .
(enter your lark password, when prompted)

Comments can be mailed to bdavis.

updated: 27-Mar-2007
by: Bill Davis