grib_keys

DESCRIPTION

Lists the keys available for a type of grib (-T option) or in a grib message from a file (-F option).

USAGE

grib_keys [options]

OPTIONS

-T type
To print the keys available in the given grib type. For a list of the availeble types see -L option.

-F file
To print the keys available in the grib file.

-x
Print the extended set of keys.

-c
Print only coded keys.

-L
List of available types.

-t
Print type information.

-a
Dump aliases.

grib_keys examples

  1. With the -L option a list of the available templates is printed
    > grib_keys -L \n
    GRIB1
    GRIB2
    reduced_gg_ml_grib2
    reduced_gg_pl_grib1
    reduced_gg_sfc_grib1
    reduced_gg_ml_grib1
    reduced_gg_pl_grib2
    reduced_gg_sfc_grib2
    reduced_gg_sfc_jpeg_grib2
    reduced_ll_sfc_grib1
    reduced_ll_sfc_grib2
    regular_gg_ml_grib1
    regular_gg_ml_grib2
    regular_gg_pl_grib1
    regular_gg_pl_grib2
    regular_ll_sfc_grib1
    regular_ll_sfc_grib2
    regular_ll_pl_grib1
    regular_ll_pl_grib2
    sh_ml_grib1
    sh_ml_grib2
    sh_pl_grib1
    sh_pl_grib2
    

  2. To print the standard set of key available for a given type
    > grib_keys -T regular_ll_sfc_grib1
    


Generated on Fri Mar 6 13:49:22 2009 for grib_api by  doxygen 1.5.4