McIDAS User's Guide
Version 2017.1

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


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.


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