GEMPAK Manual | Programs


DCGRIB (Unidata)

    DCGRIB decodes GRIB format model grids from a real-time data
    feed, or from a file fed to the program through standard input, and
    writes the data to a GEMPAK grid file.  The program is 
    controlled by inputs to the command line.

    The inputs are program options, the PACK keyword if packing is to be 
    used and the output file name or template.
    For example, for real-time data feeds:
    
	dcgrib [options] PACK output_file

    When using with the LDM, the GEMPAK grib routines must be able
    to access the grib tables located in the gempak distribution.
    This is done through the GEMTBL environmental variable.
    If the the LDM process does not have the GEMTBL variable set,
    then you must use the -g "path" option.

    If running the program interactively with standard input, 
    the input file must be also be specified.
    For example:
		
	dcgrib -c YYMMDD/HHNN [options] output_file < input_file
    
    A template may be used to specify the output file name.  The file
    name template uses the date and time of the bulletin or report
    to replace the following characters.

	YY		Year without the century
	MM		Month number
	DD		Day
	HH		Hour
	NN		Minute