Function eccodes_sys::codes_grib_handle_new_from_samples[][src]

pub unsafe extern "C" fn codes_grib_handle_new_from_samples(
    c: *mut codes_context,
    sample_name: *const c_char
) -> *mut codes_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