RUNNING THE GDI IN WINGRIDDS
By Jose Manuel Galvez
Last Update: September 11, 2013



============================================
NECESSARY FILES TO RUN THE GDI IN WINGRIDDS
============================================
File       Folder                  Description
*********  **********************  ***************
ALIAS.USR  C:/WINGRIDDS/USER       GDI Calculation (Mandatory)
CFCB.DAT   C:/WINGRIDDS/USER       GDI Color table (Mandatory)
GDIH.CMD   C:/WINGRIDDS/MACROS     Macro: GDI, Low and Upper Flow (Optional)
GDIM.CMD   C:/WINGRIDDS/MACROS     Macro: GDI, Low and Mid-Upper Flow (Optional)



===============================================
INSTALLING THESE FILES TO RUN GDI IN WINGRIDDS
===============================================
(1) Change extension of files in package from:
    (a) GDIH.CMD2.txt to GDIH.CMD
    (b) GDIM.CMD2.txt to GDIM.CMD
    The extensions CMD2 were used to be able to send the package via email
    since some emails ban sending executable files.

(2) If you have Wingridds running, make sure you make a backup
    copy of your current "C:/WINGRIDDS/USER/ALIAS.USR" file.

(3) Copy files to the folders described in the above.




============================================
MACROS AND FUNCTIONS
============================================

GDIH.CMD  <--GDI AND HIGH LEVEL WINDS
********
-Plots the GDI in color shades, lower streamlines in black,
 associated low-level convergence in black dotted lines,
 upper streamlines in white, and associated upper divergence
 in white dotted lines. Convergenve and Divergence are
 expressed x10^6 s^-1.
-Wind averages and associated divergence calculations are
 defined in ALIAS.USR
-They are stored in for variables, one for the low
 level winds (WWML), one for the low-level convergence
 (DDML), one for the upper winds (WWUU) and one for the
 upper divergence (DDUU).
-Levels averaged:
 WWML and DDML: 1000, 925, 850 and 800 hPa
 WWUU and DDUU: 400, 300, 200 and 250 hPa
-Isotachs of upper winds are also plotted in colors for
 speeds greater than 40kt, 70kt and 100kt to be able to 
 identify upper jets.

GDIM.CMD  <--GDI AND MID/HIGH LEVEL WINDS
********
-Similar as prior macro but upper winds are averaged over
 600, 500, 400 and 300 hPa. Good for seeing the reflection
 of TUTTs at mid-levels and also mid-level ridges that
 usually have subsidence inversions associated.
