Table of contents Previous: FKey Menu Basics Next: FKey Menu Exercises

10.3.1 FKey Menu Templates

The items in an F Key Menu are defined by a menu template. The template is an ordinary ASCII text with definitions for function keys, displayed text and commands to be run. A portion of the menu template for the Unidata McIDAS-X F Key menu (UNIDATA.MNU) is shown below.

A menu template can have 9999 menus defined in McIDAS-X. Unidata reserves menu numbers 0-5999 and 9999 for use in the Unidata F Key menu template. If you create your own templates, do not use numbers in this range.

When creating a menu template, you define both the menu text and commands associated with the function key combinations. The template is a series of instructions for the McIDAS system. These instructions obey certain format rules, i.e. the instructions need specific character positions. The first character in an instruction line defines the type of instruction. These characters are described below.

Examples of each of the instructions above are shown in the portion of the UNIDATA.MNU template below. If the first character in an instruction line is not one of those listed above, the system treats the line as a comment line and ingnores it. You can comment out a line by placing a character not in the list above at the beginning of the line or by indenting the line with spaces.

For a complete explanation of the format and syntax of the menu template instructions, see Chapter 5 in the McIDAS Users Guide.

Portion of UNIDATA.MNU

M 00
U 182 0
U 38  1
U 47  10
U 48  10

I "UCU POKE 208 #+MMODE

T  1 10 11 "             UNIDATA McIDAS-X Workstation
T 21  7 11 "Use
T 21 11 14 "F12
T 21 15 11 "to return to Command Mode;
T 21 42 11 "keys
T 21 47 14 "F1
T 21 49 11 "-
T 21 50 14 "SF10
T 21 55 11 "to select actions.
T 23  8 10 "SSEC - University of Wisconsin-Madison / Unidata Program Center

T  3 33 14 "Main Menu
T  5 14 14 "Satellite/Radar Imagery
T  6 10 14 "F1
T  6 14 15 "Latest Images/Image Loops
T  7 10 14 "F2
T  7 14 15 "Topographic Imagery

T  9 14 14 "Model Output
T 10 10 14 "F3
T 10 14 15 "North America - Horizontal
T 11 10 14 "F4
T 11 14 15 "Global - Horizontal
T 12 10 14 "F5
T 12 14 15 "Vertical Cross Sections

T 14 14 14 "Miscellaneous
T 15 10 14 "F6
T 15 14 15 "Weather Text
T 16 10 14 "F7
T 16 14 15 "MENU Administration
T 17 10 14 "F8
T 17 14 15 "System/File Information
T 18 10 14 "F9
T 18 14 15 "Miscellaneous Functions

T  5 49 14 "Surface Data
T  6 44 14 "SF1
T  6 49 15 "Surface Data Plots
T  7 44 14 "SF2
T  7 49 15 "Surface Data Contours
T  8 44 14 "SF3
T  8 49 15 "NLDN Lightning
  T  8 64 10 "(LDM only)
T  9 44 14 "SF4
T  9 49 15 "Meteorograms
T 10 44 14 "SF5 
T 10 49 15 "MOS (FOUS14) Data
T 10 67 10 "(XCD Only) 

T 13 49 14 "Upper Air Data
T 14 44 14 "SF6
T 14 49 15 "Upper Air Data Plots
T 15 44 14 "SF7
T 15 49 15 "Upper Air Data Contours
T 16 44 14 "SF8
T 16 49 15 "FSL Wind Profiler Data
T 17 44 14 "SF9
T 17 49 15 "Soundings and Hodographs
T 18 44 14 "SF10
T 18 49 15 "Vertical Cross Sections

F  1 "@1000
F  2 "@1250

F  3 "@2000
F  4 "@2100
F  5 "@2200

F  6 "@3000
F  7 "@3100
F  8 "@3200
F  9 "@3300

F 12 "*QUIT

S  1 "@4000
S  2 "@4100
S  3 "@4200
S  4 "@4300
S  5 "@4400

S  6 "@5000
S  7 "@5100
S  8 "@5200
S  9 "@5300
S 10 "@5400

A 12 "@9999

M 1000

T  1 10 11 "              UNIDATA McIDAS-X Workstation
T 19  7 11 "Use
T 19 11 14 "Esc
T 19 15 11 "key to return to main menu,
T 19 43 14 "F12
T 19 47 11 "to return to previous menu.
T 20 18 11 "Use function keys
T 20 36 14 "F1
T 20 38 11 "-
T 20 39 14 "SF6
T 20 43 11 "to display products.
T 22  8 10 "SSEC - University of Wisconsin-Madison / Unidata Program Center

T  3 10 14 "                  Latest Images - Menu
T  5 10 14 "F1
T  5 14 15 "GOES-East Visible
T  6 10 14 "F2
T  6 14 15 "GOES-East Infrared
T  7 10 14 "F3
T  7 14 15 "GOES-East Water Vapor
T  8 10 14 "F4
T  8 14 15 "GOES-West Visible
T  9 10 14 "F5
T  9 14 15 "GOES-West Infrared
T 10 10 14 "F6
T 10 14 15 "GOES-West Water Vapor
T 11 10 14 "F7 
T 11 14 15 "GOES-East/West VIS Composite
T 12 10 14 "F8 
T 12 14 15 "GOES-East/West IR Composite
T 13 10 14 "F9 
T 13 14 15 "GOES-East/West WV Composite

T  5 43 14 "SF1
T  5 48 15 "Antarctic Composite
T  6 43 14 "SF2
T  6 48 15 "Educational Floater I
T  7 43 14 "SF3
T  7 48 15 "Educational Floater II
T  8 43 14 "SF4
T  8 48 15 "Research Floater
T  9 43 14 "SF5
T  9 48 15 "Manually Digitized Radar
T 10 43 14 "SF6
T 10 48 15 "Global Mollweide IR
T 11 43 14 "SF7
T 11 48 15 "Global Mollweide H2O
T 12 48 14 "Other Latest Image Menus
T 13 43 14 "CF1 
T 13 48 15 "NIDS Products
T 13 62 10 "(LDM Only) 
T 14 43 14 "CF2 
T 14 48 15 "Composite (SAT/TOPO) Images
T 16 24 14 "CF12 
T 16 30 15 "Latest or Loop:
T 16 49 12 "LATEST
T 17 24 14 "SF12 
T 17 30 15 "User-defined load:
T 17 49 12 "OFF 

     Pcode  Product Description         SYSKEY.TAB entries   VIRT file
     CI     GOES-8/9 IR Composite        2161 2162 2163        9004
     CV     GOES-8/9 VIS Composite       2164 2165 2166        9004
     CW     GOES-8/9 H2O Composite       2167 2168 2169        9004
     U1     Antarctic Composite          2119 2120 2121        9008
     U3     Manually Digitized Radar     2110 2111 2112        9005
     U5     GOES-9 North American IR     2113 2114 2115        9002
     U9     GOES-9 North American VIS    2116 2117 2118        9002
     UA     Educational Floater I        2101 2102 2103        xxxx
     UB     GOES-9 Water Vapor           2104 2105 2106        9002
     UC     Educational Floater II       2170 2171 2172        xxxx
     UI     GOES-8 Infrared              2143 2144 2145        9001
     UR     Research Floater             2107 2108 2109        xxxx
     UV     GOES-8 Visible               2146 2147 2148        9001
     UW     GOES-8 Water Vapor           2149 2150 2151        9001
     UX     Mollweide Global IR Comp.    2122 2123 2124        9007
     UY     Mollweide Global H2O Comp.   2152 2153 2154        9007

      GOES-8 Eastern Visible
F  1 "ALOOP #SYS(2146) #SYS(2147) #+IFRM 1 EC 32  82  1 DWELL=#+DWELL
+ " MAP=YES H 9001 PIC=#+PIC E EU=IMAGE LIMIT=12 BAR=#+BAR N

      GOES-E Eastern Infrared
F  2 "ALOOP #SYS(2143) #SYS(2144) #+IFRM 1 EC 32  82  1 DWELL=#+DWELL
+ " MAP=YES H 9001 PIC=#+PIC E EU=IMAGE SU=IRTEMP LIMIT=12 BAR=#+BAR N
 
      GOES-8 Water Vapor
F  3 "EG #?IFRM; ALOOP #SYS(2149) #SYS(2150) #?IFRM 1 EC 32  82  1       DWELL=#?DWELL
+ " MAP=YES H 9001 EU=IMAGE SU=H2OTEMP LIMIT=12 BAR=#?BAR NO 
 
      GOES-9 Western Visible
F  4 "EG #?IFRM; ALOOP #SYS(2116) #SYS(2117) #?IFRM 1 EC 32 130  -2      DWELL=#?DWELL
+ " MAP=YES H 9002 EU=IMAGE SU=X        LIMIT=12 BAR=#?BAR NO
 
      GOES-9 Western Infrared
F  5 "EG #?IFRM; ALOOP #SYS(2113) #SYS(2114) #?IFRM 1 EC 32 130  -2      DWELL=#?DWELL
+ " MAP=YES H 9002 EU=IMAGE SU=IRTEMP   LIMIT=12 BAR=#?BAR NO 
 
      GOES-9 Water Vapor
F  6 "EG #?IFRM; ALOOP #SYS(2104) #SYS(2105) #?IFRM 1 EC 32 130  1       DWELL=#?DWELL
+ " MAP=YES H 9002 EU=IMAGE SU=H2OTEMP  LIMIT=12 BAR=#?BAR NO 
 
      GOES-8/9 VIS Composite 
F  7 "EG #?IFRM; ALOOP #SYS(2164) #SYS(2165) #?IFRM 1 EC 32 100  1       DWELL=#?DWELL
+ " MAP=YES H 9004 EU=IMAGE SU=X        LIMIT=12 BAR=#?BAR NO
 
      GOES-8/9 IR Composite
F  8 "EG #?IFRM; ALOOP #SYS(2161) #SYS(2162) #?IFRM 1 EC 32 100  1       DWELL=#?DWELL
+ " MAP=YES H 9004 EU=IMAGE SU=IRTEMP   LIMIT=12 BAR=#?BAR NO
 
      GOES-8/9 Water Vapor Composite
F  9 "EG #?IFRM; ALOOP #SYS(2167) #SYS(2168) #?IFRM 1 EC 32 100  1       DWELL=#?DWELL
+ " MAP=YES H 9004 EU=IMAGE SU=H2OTEMP  LIMIT=12 BAR=#?BAR NO 
 
      Antarctic Composite 
S  1 "EG #?IFRM; ALOOP #SYS(2119) #SYS(2120) #?IFRM 1 AC 256 256 1       DWELL=#?DWELL
+ " MAP=YES SAT 9008 EU=IMAGE SU=IRTEMP LIMIT=36 BAR=#?BAR NO
 
      Educational Floater I
S  2 "EG #?IFRM; ALOOP #SYS(2101) #SYS(2102) #?IFRM 1 AC 350 432 1       DWELL=#?DWELL
+ " MAP=YES H        EU=IMAGE SU=X      LIMIT=12 BAR=#?BAR NO

      Educational Floater II
S  3 "EG #?IFRM; ALOOP #SYS(2170) #SYS(2171) #?IFRM 1 AC 350 432 1       DWELL=#?DWELL
+ " MAP=YES H        EU=IMAGE SU=X      LIMIT=12 BAR=#?BAR NO

      Research Floater
S  4 "EG #?IFRM; ALOOP #SYS(2107) #SYS(2108) #?IFRM 1 AC 175 320 1       DWELL=#?DWELL
+ " MAP=YES SAT      EU=IMAGE SU=X      LIMIT=12 BAR=#?BAR NO 
 
      Manually Digitized Radar
S  5 "EG #?IFRM; ALOOP #SYS(2110) #SYS(2111) #?IFRM 1 AC 175 320 1       DWELL=#?DWELL
+ " MAP=YES H 9005   EU=MDR   SU=X      LIMIT=12 BAR=#?BAR NO X X X X MDRVIP 1
 
      Global Mollweide Infrared Composite
S  6 "EG #?IFRM; ALOOP #SYS(2122) #SYS(2123) #?IFRM 1 AC 175 320 1       DWELL=#?DWELL
+ " MAP=YES SAT 9007 EU=IMAGE SU=IRTEMP LIMIT=36 BAR=#?BAR NO
 
      Global Mollweide Water Vapor Composite
S  7 "EG #?IFRM; ALOOP #SYS(2152) #SYS(2153) #?IFRM 1 AC 175 320 1       DWELL=#?DWELL
+ " MAP=YES SAT 9007 EU=IMAGE SU=H2OTEMP LIMIT=36 BAR=#?BAR NO

      NOWrad Composite
  S 10 "EG #?IFRM; ALOOP #SYS(2352) #SYS(2353) #?IFRM 1 AC 240 378 1     DWELL=#?DWELL
  + " EU=WSI4X MAP=NO SU=     LIMIT=288 BAR=#?BAR C LEVELS=16 LABEL= 
   
      NIDS Products
C  1 "@1200 
 
      Image/Topographic Composite Menu
C  2 "@1260 

F 12 "@00
S 12 "@1001
C 12 "@1100


Table of contents Previous: FKey Menu Basics Next: FKey Menu Exercises