Function eccodes_sys::codes_grib_get_data[][src]

pub unsafe extern "C" fn codes_grib_get_data(
    h: *const codes_handle,
    lats: *mut f64,
    lons: *mut f64,
    values: *mut f64
) -> c_int
Expand description

Get latitude/longitude and data values. The Latitudes, longitudes and values arrays must be properly allocated by the caller. Their required dimension can be obtained by getting the value of the integer key “numberOfPoints”.

@param h : handle from which geography and data values are taken @param lats : returned array of latitudes @param lons : returned array of longitudes @param values : returned array of data values @return 0 if OK, integer value on error