grib_get_data Interface Reference

Get latitude/longitude and data values. More...


Detailed Description

Get latitude/longitude and data values.

Latitudes, longitudes, data values arrays are returned. They must be properly allocated by the caller and their required dimension can be obtained with grib_get_size or by getting (with grib_get) the value of the integer key "numberOfPoints".

In case of error, if the status parameter (optional) is not given, the program will exit with an error message.
Otherwise the error message can be gathered with grib_get_error_string.

Examples: get_data.f90

Parameters:
[in] gribid id of the grib loaded in memory
[out] lats latitudes array with dimension "size"
[out] lons longitudes array with dimension "size"
[out] values data values array with dimension "size"
[out] status GRIB_SUCCESS if OK, integer value on error

The documentation for this interface was generated from the following file:
Generated on Fri Mar 6 13:49:22 2009 for grib_api by  doxygen 1.5.4