McIDAS-X User's Guide
Version 2022.1

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


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.


[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]