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: Using Unix Conventions Next: Using the mcenv Process

Entering Commands at the Unix Prompt

When you enter McIDAS-X commands from the Unix prompt, a McIDAS environment is started and lasts only the duration of the command. For example, a separate McIDAS environment is started for each command below.

$ imgdisp.k GOES/HEMI.1000 1 
$ frmsave.k 1 NHEM

The command imgdisp.k loads the image in position 1000 of dataset GOES/HEMI into frame 1. When imgdisp.k is finished, the frame is deleted and the McIDAS environment closes. The Unix shell reads the next command, frmsave.k, and creates a new McIDAS environment and a new frame 1. The frmsave.k command saves the contents of frame 1 into the file NHEM.GIF. However, frame 1 is empty so NHEM.GIF is black except for the annotation line at the bottom.


Table of contents Previous: Using Unix Conventions Next: Using the mcenv Process
 
 
  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