Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 
Table of contents Previous: MCPATH Format Next: Writing Data Index

Setting MCPATH

You can set MCPATH in two ways:

If you do not define MCPATH , the McIDAS-X start-up script sets MCPATH to the value below.

$HOME/mcidas/data:$HOME/mcidas/help:~mcidas/data:~mcidas/help

To change MCPATH 's value, exit McIDAS-X, set MCPATH to the new value, and restart McIDAS-X. If you use the Korn or Bourne shell, the Unix command to explicitly set MCPATH is similar to the example below.

export MCPATH;MCPATH=$HOME/data:$HOME/mcidas/data:~mcidas/data:~mcidas/help

To set this value of MCPATH each time you log on to your account, add the command above to your $HOME/.mcenv file and add the following line to your $HOME/.profile file.

. $HOME/.mcenv

When you start McIDAS-X, the temporary directory created, for example,$HOME/.mctmp/356052 , is appended to the MCPATH value, whether the McIDAS-X start-up script sets MCPATH or you set its value.


Table of contents Previous: MCPATH Format Next: Writing Data Index
 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690