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

# include/fimex/CDMconstants.h File Reference

Go to the source code of this file.

## Defines

#define | MIFI_EARTH_RADIUS_M 6371000
| constants used through-out fimex
#define | MIFI_FILETYPE_UNKNOWN -1
#define | MIFI_FILETYPE_FELT 0
#define | MIFI_FILETYPE_NETCDF 1
#define | MIFI_FILETYPE_NCML 2
#define | MIFI_FILETYPE_GRIB 3

## Functions

const char * | fimexVersion ()
int | fimexHasNetcdf ()
int | fimexHasGribApi ()
int | fimexHasFelt ()

## Define Documentation

#define MIFI_EARTH_RADIUS_M 6371000

constants used through-out fimex

CDMConstants stores several constants used in fimex, accessible from C and C++. Constants are either available as macro, or as function. the default radius of a sperical earth in meter

#define MIFI_FILETYPE_FELT 0

#define MIFI_FILETYPE_GRIB 3

#define MIFI_FILETYPE_NCML 2

#define MIFI_FILETYPE_NETCDF 1

#define MIFI_FILETYPE_UNKNOWN -1

The MIFI_FILETYPE_* define the available input and output file-formats

## Function Documentation

int fimexHasFelt | ( |  | ) |

check if fimex is configured with felt-support

int fimexHasGribApi | ( |  | ) |

check if fimex is configured with grib_api-support

int fimexHasNetcdf | ( |  | ) |

check if fimex is configured with netcdf-support

const char* fimexVersion | ( |  | ) |

version of fimex