The following korn shell script are available:

1 - Config_Dir: ksh Script
    Configure the Directories Used by the Procedures
    The user must define and edit Condig_Dir to get
    your own dirhome (sources and procedures), dirdata
    (dataout, for output results) and dirdinp (datain,
    for input the initial data). Note that it is suposed
    that all initial data is inside dirdinp (see Case_Data.gs).
    For some GrADS scripts it is suposed that dirhome is
    the 3rd record, dirdata is the 4th record and dirinp
    is the 5th record of Config_Dir. Then, do not alter
    these order and record location.
    It is interesting untar the Modal Enenergetic files
    at your own dirhome. If you do not do that you have
    to move the files to the dirhome you will use.

2 - Make_Dir_Data: ksh Script
    Make the Directories for Output the Results (dataout)

3 - Create_gs_dir_cfg: ksh Script
    Create the file dir.cfg for the GrADS Scripts Read the 
    Directories that the Script Uses

4 - Make_Dir_png: ksh Script
    Make the Directories to Output the Figures Generated 
    by the GrADS Scripts for Each Available Case

Obs:

1 - Directories and sub-directories at ${dirhome} 
    (./See Config_Dir). They are created with 
    cd ${dirhome}
    tar -xovf ./Modal_Energetics.tar

Modal_Energetics/Config/

Modal_Energetics/Data_Pressure/:
  Get_ENER_UVZ/
    bin/
    datain/
    gs/
    output/
    run/
    source/
  Get_Netcdf/
    bin/
    output/
    run/
    source/

Modal_Energetics/Get_Cls_PrsLay/:
  bin/
  output/
  run/
  source/

Modal_Energetics/Get_Rhomb_Res_GLats/:
  bin/
  dataout/
  output/
  run/
  source/

Modal_Energetics/Horizontal_Decomposition/:
  bin/
  gs/
  output/
  run/
  source/

Modal_Energetics/Hough_Functions/:
  bin/
  gs/
    ftn/
    dgs/
  output/
  run/
  source/

Modal_Energetics/Interaction_Horizontal_Vertical/:
  bin/
  gs/
  output/
  run/
  source/

Modal_Energetics/Pressure_Levels/

Modal_Energetics/Vertical_Decomposition/:
  bin/
  gs/
  output/
  run/
  source/

Modal_Energetics/Vertical_Modes/:
  bin/
  gs/
  output/
  run/
  source/

2 - Directories at ${dirdata} (See ./Config_Dir)
    You nedd to create these directories.
    Use to create them
    ./Make_Dir_Data
    inside ${dirhome}/Modal_Energetics/Config/


Modal_Energetics/Vertical_Modes/dataout/

Modal_Energetics/Hough_Functions/dataout/

Modal_Energetics/Hough_Functions/graphics/

Modal_Energetics/Data_Pressure/

Modal_Energetics/Vertical_Decomposition/dataout/

Modal_Energetics/Horizontal_Decomposition/dataout/

Modal_Energetics/Interaction_Horizontal_Vertical/dataout/


3 - To use the GrADS scritps (under subdirectories gs) 
    it is necessary the files dir.cfg
    Create them using ./Create_gs_dir_cfg
    inside ${dirhome}/Modal_Energetics/Config/

    It is also necessary the subdirectories png_caso
    (caso : BAMHY, CFSV2, ERA_5, MONAN, MONEX, NCEPF and SMNAH)
    at the same level of subdirectories gs to output the
    figures generated by the GrADS scripts. Then create
    then using 
    ./Make_Dir_png
    inside ${dirhome}/Modal_Energetics/Config/
    Note: at the directory ${dirhome}/Modal_Energetics/Vertical_Modes/ and
          at the directory ${dirhome}/Modal_Energetics/Hough_Functions/ 
          there is only png_${cvsm}_5 because all cases are interpolated
          to the vertical layers (${Kmax}) of ${cvsm} that is the reference case,
          and it necessary calculate vertical and horizontal modes for 
          the case ${cvsm}.

