The main features of the grib_api are explained here through some simple examples that can be taken as a starting point to write more complex programs.
- get.c is an example showing how to get values through the key names.
- set.c is an example illustrating how to set values through the key names.
- keys_iterator.c explains how to get the names of all the keys defined in a message and how to iterate through them.
- iterator.c shows how to use an iterator on latitude, longitude, values.
- precision.c illustrates how to control precision when coding a grib field.
- multi.c is an example describing how to decode a grib message containing many fields.
- print_data.c is an example on how to print all the data contained in a grib file.
- nearest.c is an example on how to find the nearest grid points.
- multi_write.c how to encode a grib message containing many fields.
- multi.c how to decode a grib message containing many fields.
- get_fortran.F is an example showing how to get values through the key names.
- set_fortran.F is an example illustrating how to set values through the key names.
- keys_iterator_fortran.F explains how to get the names of all the keys defined in a message and how to iterate through them.
- iterator_fortran.F shows how to use an iterator on latitude, longitude, values.
- precision_fortran.F illustrates how to control precision when coding a grib field.
- multi_fortran.F is an example describing how to decode a grib message containing many fields.
- print_data_fortran.F is an example on how to print all the data contained in a grib file.
Generated on Tue Sep 22 15:18:22 2009 for grib_api by
1.5.3