# MI - Fimex: include/fimex/GribUtils.h File Reference

# include/fimex/GribUtils.h File Reference

`#include "fimex/GridDefinition.h"`
`#include <stdexcept>`

Go to the source code of this file.

## Namespaces

namespace | MetNoFimex

## Defines

#define | MIFI_GRIB_CHECK(error, msg) mifi_grib_check(error, msg, __LINE__, __FILE__);

## Functions

void | mifi_grib_check (int error, const char *msg, int line, const char *file) throw (std::runtime_error)
GridDefinition::Orientation | MetNoFimex::gribGetGridOrientation (boost::shared_ptr< grib_handle > gh)

## Define Documentation

#define MIFI_GRIB_CHECK | ( | error,
|  | msg |  | ) | mifi_grib_check(error, msg, __LINE__, __FILE__);

macro to call mifi_grib_check with correct line and file

## Function Documentation

void mifi_grib_check | ( | int | error,
|  | const char * | msg,
|  | int | line,
|  | const char * | file |
| ) |  |  | throw (std::runtime_error)

runtime-exception checker for grib_check