MI - Fimex
Namespaces | Macros | Functions
GribUtils.h File Reference
#include "fimex/GridDefinition.h"
#include <stdexcept>

Go to the source code of this file.

Namespaces

 MetNoFimex
 

Macros

#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)
 
unsigned long MetNoFimex::gribStepUnits2seconds (const std::string &stepUnits)
 
std::string MetNoFimex::gribSeconds2stepUnits (unsigned long seconds)
 

Macro Definition 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