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

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. Run a Unix command (substitute the equivalent if using C shell) similar to the one below to explicitly set MCPATH.

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
 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of 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