|
|
|||
|
||||
Follow the steps below 7 steps to prepare the mcidas account.
The mcidas account should allow logins; the mcadde account should not allow logins. Both of these accounts should be in the same group and both should have the SAME home directory.
The names of environment variables that are needed and their meaning is listed in the following table.
|
Environment Variable |
Purpose |
|---|---|
| MCHOME | the HOME directory of mcidas |
| McINST_ROOT | the directory under which you wish to install Unidata McIDAS-X. This is usually the same as MCHOME) |
| MCDATA | mcidas' working directory for McIDAS-X sessions |
| MCPATH | MCPATH - a colon-separated list of directories that
McIDAS routines will search when looking for data and
ancillary data files
|
| MCGUI | the directory in which the Unidata Tcl/Tk GUI executables and scripts reside |
| MCTABLE_READ | a semi-colon separated list of fully qualified pathnames of ADDE client routing tables that will be read by McIDAS applications when determining the server from which data will be requested |
| MCTABLE_WRITE | the ADDE client routing table that will be modified when the McIDAS DATALOC command is run |
| MCCOMPRESS | when set, makes McIDAS clients request that ADDE servers send them data in compressed format |
| XCD_disp_file | fully qualified pathname of the XCD decoder status file, DECOSTAT.DAT. This should be located in mcidas's working directory. |
| PATH | add the MCGUI directory to the front of your PATH |
Defining all of these enviornment variables is easily accomplished by adding the following lines to your shell definition file:
| non-Conforming shells (e.g., .cshrc) | Conforming shells (e.g., .profile, .bash_profile, or .kshrc) |
# McINST_ROOT and VENDOR non-conforming shell defines needed to build McIDAS setenv McINST_ROOT $HOME setenv VENDOR -g77 if ( -e $HOME/admin/mcidas_env.csh ) then source $HOME/admin/mcidas_env.csh endif |
# McINST_ROOT and VENDOR conforming shell defines needed to bulid McIDAS McINST_ROOT=$HOME VENDOR=-g77 export McINST_ROOT VENDOR if [ -e $HOME/admin/mcidas_env.sh ]; then . $HOME/admin/mcidas_env.sh fi |
NOTE: The ~mcidas/admin directory may not exist at this point. This is not a problem as it will be created when the distribution is unpacked.
All BATCH files and McBASI scripts in the $MCHOME/data directory that have the same name as ones in the Unidata McIDAS-X distribution will be automatically copied to a backup directory, $MCHOME/savedata, but these files can still be overwritten under certain circumstances. Saving the files you have modified before you begin will prevent loss of work later on.
| Contact Us Site Map Search Terms and Conditions Privacy Policy Participation Policy | |||||
|
|||||