This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>From: Eirh-Yu Hsie <address@hidden> >Organization: CU/CIRES >Keywords: 200206121833.g5CIXZJ14508 McIDAS mcenv scripts Hsie, >I can specify different frame size in interactive mode in $home/.mcidasrc file >by: ># -f 4 ># -f 512x512 ># -f 512x512 ># -f 2@1024x1280 ># ># causes your session to have 8 frames as follows. ># ># Frames 1-4 are 480 lines by 640 elements. ># Frames 5-6 are 512 lines by 512 elements. ># Frames 7-8 are 1024 lines by 1280 elements. > > >How can I specify different frmame size in Batch mode. For example in >mcrun.sh script. You do this by including the -f argument to mcenv. >... >... > >cd $MCDATA >mcenv << EOF > ># put McIDAS-X commands you want to run here, one command per line. > ># Example (note that these lines are commented out!!): ># ># dataloc.k ADD RTGINI adde.unidata.ucar.edu ># imgdisp.k RTGINI/GE1KVIS STA=KMIA EU=IMAGE SF=YES REFRESH='EG;MAP H' ># frmsave.k 1 miamivis.gif > ># done > exit > >EOF > ># Done >exit 0 Here is an example that creates 4 frames each of size 600x800: ... ... cd $MCDATA mcenv -f 4@600x800 << EOF ... EOF mcenv takes a number of flags: -f, -e, -g, and -i. You can get more information on the use of mcenv online using the McIDAS HELP command: help.k mcenv Tom