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: Running Commands Outside a McIDAS-X Session Next: Using Unix Conventions Index

Creating a McIDAS-X Environment

To run McIDAS-X commands outside of a McIDAS-X session, a McIDAS-X environment must be created. A McIDAS-X environment is the information a McIDAS session uses to run commands. It includes User Common, the redirect table, MCPATH and the frame objects that McIDAS-X programs need to run commands. This information is stored in a shared memory segment and a temporary subdirectory of $HOME/.mctmp.

A McIDAS-X environment is created automatically when you start a McIDAS command with the .k extension or run the mcenv process from a Unix prompt. The duration of the McIDAS-X environment depends on how it was started, as listed in the table below.

 

Starting Procedures from the Unix Prompt

Duration

mcidascommand.k

duration of the command

mcenv with a Unix script

duration of the script or program

mcenv without a Unix script

until mcenv is cancelled with the Unix exit command

When you are running commands outside of a McIDAS-X session, it is important to consider the duration of the environment. You don't want the environment to close before your commands or scripts are finished.


Table of contents Previous: Running Commands Outside a McIDAS-X Session Next: Using Unix Conventions 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