Go to the source code of this file.
#define MIFI_EARTH_RADIUS_M 6371000 |
the default radius of a spherical earth in meter
#define MIFI_FILL_CHAR ((signed char)-127) |
default fill values taken from netcdf.h
#define MIFI_FILL_DOUBLE (9.9692099683868690e+36) |
#define MIFI_FILL_FLOAT (9.9692099683868690e+36f) /* near 15 * 2^119 */ |
#define MIFI_FILL_INT (-2147483647L) |
#define MIFI_FILL_INT64 ((long long)-9223372036854775806LL) |
#define MIFI_FILL_SHORT ((short)-32767) |
#define MIFI_FILL_UCHAR (255) |
#define MIFI_FILL_UINT (4294967295U) |
#define MIFI_FILL_UINT64 ((unsigned long long)18446744073709551614ULL) |
#define MIFI_FILL_USHORT (65535) |
#define MIFI_VERSION_INT |
( |
|
major, |
|
|
|
minor, |
|
|
|
patch |
|
) |
| (1000000*major + 1000*minor + patch) |
#define MIFI_VERSION_MAJOR 0 |
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.
#define MIFI_VERSION_MINOR 63 |
#define MIFI_VERSION_PATCH 4 |
#define MIFI_VERSION_STATUS 0xF0 |
#define MIFI_VERSION_STRING "0.63.4" |
#define MIFI_WGS84_LATLON_PROJ4 "+proj=latlong +datum=WGS84 +towgs84=0,0,0 +no_defs" |
the default earth projection (WGS84 latlong)
The mifi_filetype define the available input and output file-formats. Maximum 1023.
Enumerator |
---|
MIFI_FILETYPE_UNKNOWN |
only filetype < 0
|
MIFI_FILETYPE_FELT |
|
MIFI_FILETYPE_NETCDF |
|
MIFI_FILETYPE_NCML |
|
MIFI_FILETYPE_GRIB |
|
MIFI_FILETYPE_WDB |
|
MIFI_FILETYPE_METGM |
|
MIFI_FILETYPE_PRORAD |
|
MIFI_FILETYPE_GRBML |
|
MIFI_FILETYPE_RW |
MIFI_FILETYPE_RW is a flag to specify that files should be opened in read-write mode. Example: MIFI_FILETYPE_NETCDF|MIFI_FILETYPE_RW
|
int fimexHas |
( |
int |
fileType | ) |
|
check if fimex is configured with the filetype
- Parameters
-
const char* fimexVersion |
( |
| ) |
|
MIFI_DEPRECATED |
( |
int |
fimexHasNetcdf() | ) |
|
check if fimex is configured with netcdf-support
- Deprecated:
- use fimexHas(fileType)
check if fimex is configured with grib_api-support
- Deprecated:
- use fimexHas(fileType)
check if fimex is configured with felt-support
- Deprecated:
- use fimexHas(fileType)
int mifi_get_filetype |
( |
const char * |
filetypeName | ) |
|
const char* mifi_get_filetype_name |
( |
int |
filetype | ) |
|
get the filetype-name of a filetype
- Parameters
-
int mifi_get_max_filetype_number |
( |
| ) |
|
get the maximum number of filetypes, that is , the largest number of valid filetype you can get.
unsigned int mifi_version_major |
( |
| ) |
|
unsigned int mifi_version_minor |
( |
| ) |
|
unsigned int mifi_version_patch |
( |
| ) |
|
unsigned int mifi_version_status |
( |
| ) |
|
fimex version status, e.g >=0xF0 = final, 0xAX = alphaX, 0xBX = betaX, 0xCX= releaseCandidateX