Function eccodes_sys::grib_handle_new_from_samples[][src]

pub unsafe extern "C" fn grib_handle_new_from_samples(
    c: *mut grib_context,
    sample_name: *const c_char
) -> *mut grib_handle
Expand description

Create a handle from a GRIB message contained in the samples directory. The message is copied at the creation of the handle

@param c : the context from which the handle will be created (NULL for default context) @param sample_name : the name of the sample file (without the .tmpl extension) @return the new handle, NULL if the resource is invalid or a problem is encountered