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: MAP Next: MCMENU Index

MCEVAL

Runs a McIDAS command substituting McIDAS string values.


Format

MCEVAL command


Parameter

command

complete McIDAS command to run, including parameters and keywords


Remarks

MCEVAL substitutes the correct values for McIDAS strings specified in command , then runs the command. Use MCEVAL if you need to update a McIDAS string and use its new value in a concatenated command (separated by a semicolon). See the examples below. Also use MCEVAL if you run McIDAS-X commands with McIDAS string substitutions from the Unix shell. See Appendix H, Running Commands Outside a McIDAS-X Session , for more information.


Examples

ASK1 LL {Center latitude and longitude:}; MCEVAL IMGDISP GOES/VIS LATLON=##LL

This entry runs an ASK1 command that prompts you for a value to enter for the string LL. After you type a value for string LL, the IMGDISP command uses it to center the image at that location.

te.k STATION \"KSEA; mceval.k SFCLIST \#STATION 3

This entry, when typed from the Unix shell, runs a TE command that sets the value of the string STATION to KSEA. It then runs the SFCLIST command, using the value of the string in a SFCLIST command. That is, it runs the command SFCLIST KSEA 3.


Table of contents Previous: MAP Next: MCMENU Index
 
 
  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