LOOP
eras
TXT3 ----------------------------------------------------------------------
TXT4 YOU MUST SET THE LAYER YOU WISH TO ANALYZE BEFORE RUNNING THIS MACRO -
TXT5 IF YOU HAVE ALREADY SET THE LAYER, YOU MAY PROCEDE BY HITTING <RET>  -
TXT6 NOW.  IF NOT, TYPE "X" NOW AND SET THE LAYER (eg. SLYR 500 300), and -
TXT7 RE-EXECUTE THIS MACRO BY TYPING 0000. AT THE WINGRIDDS COMMAND LINE. -
TXT8 ----------------------------------------------------------------------
endl
LOOP
CONT SMLT DSDX XCMP GEOS LAVE DSDX TEMP LAVE
CONT SNEG SSUM SMLT DSDX YCMP GEOS LAVE DSDY TEMP LAVE
CONT SMLT DSDY YCMP GEOS LAVE DSDY TEMP LAVE
CONT SSUM SMLT DSDY XCMP GEOS LAVE DSDX TEMP LAVE
SNEG
WAIT 3SEC
DNEG DVRG LAST&
TXT4 ***/*** LAYER Q-VEC / LAYER Q-VEC DIVERGENCE -
endl 
loop
VVEL LSTN 0000 clr4&VVEL DASH clr4 700&
TXT4 ***/*** LAYER Q-VEC / LAYER Q-VEC DIVERGENCE / 700 MB VERTICAL VELOCITY - 
ENDL
