GDDELT deletes grids from GEMPAK grid files.


INPUT PARAMETERS
 
    GDFILE    *Grid file
    GDNUM     *Grid numbers
 
 
PROGRAM DESCRIPTION
 
    GDDELT deletes grids from GEMPAK grid files.

    The variable GDNUM specifies the grids to be deleted.  GDNUM
    can be either a range or a list of individual grids numbers.
    If GDNUM = ALL, all the grids in the file will be deleted.
    If GDNUM = LIST, all the grids in the file are listed and the
    user is prompted to select the grids to be deleted.

    Note that the grid numbers for the remaining grids will change
    each time the program is run.


EXAMPLES
 
    1.  Delete grids 3, 4, and 5 from a grid file.

        GDFILE   =  ngm.grd
        GDNUM    =  3-5

    2.  Delete grids 3, 6, and 8 from SFC.GRD.

        GDFILE   =  sfc.grd
        GDNUM    =  3;6;8

    3.  Delete all the grids from the file TODAY.GRD.

        GDFILE   =  today.grd
        GDNUM    =  all

ERROR MESSAGES
 
    [GDDELT  -1]    Fatal error initializing TAE.
    [GDDELT  -2]    Fatal error reading TAE parameters.
    [GDDELT  -3]    Invalid grid range entered.
    [GDDELT  -4]    Grid number ... is invalid.
    [GDDELT  -5]    There are no grids in file ....
    [GDDELT  -6]    No valid grids in list.