| 
    MI - Fimex
    
   | 
 
#include <math.h>#include <stddef.h>Go to the source code of this file.
Macros | |
| #define | MIFI_PI 3.1415926535897932384626433832795 | 
| #define | MIFI_VECTOR_KEEP_SIZE 0 | 
| vector projection flag  More... | |
| #define | MIFI_VECTOR_RESIZE 1 | 
| vector projection flag  More... | |
| #define | MIFI_VINT_PRESSURE 0 | 
| vertical interpolation type  More... | |
| #define | MIFI_VINT_HEIGHT 1 | 
| vertical interpolation type  More... | |
| #define | MIFI_VINT_DEPTH 2 | 
| vertical interpolation type  More... | |
| #define | MIFI_VINT_SIGMA 3 | 
| vertical interpolation type  More... | |
| #define | MIFI_VINT_ALTITUDE 4 | 
| vertical interpolation type  More... | |
| #define | MIFI_EARTH_GRAVITY 9.80665 | 
| #define | MIFI_MOLAR_MASS_DRY_AIR 0.0289644 | 
| #define | MIFI_GAS_CONSTANT 8.31432 | 
| #define | MIFI_T0 273.15 | 
| #define | MIFI_UNDEFINED_F (nanf("")) | 
| undefined value for floats  More... | |
| #define | MIFI_UNDEFINED_D (nan("")) | 
| undefined value for doubles  More... | |
| #define | MIFI_ERROR -1 | 
| return code, error  More... | |
| #define | MIFI_OK 1 | 
| return code, ok  More... | |
| #define | MIFI_PROJ_AXIS 0 | 
| projection axis in m-equivalent  More... | |
| #define | MIFI_LONGITUDE 1 | 
| longitude projection axis in degrees  More... | |
| #define | MIFI_LATITUDE 2 | 
| latitude projection axis in degrees  More... | |
| #define | MIFI_DEBUG 0 | 
| debug flag  More... | |
| #define MIFI_DEBUG 0 | 
debug flag
| #define MIFI_EARTH_GRAVITY 9.80665 | 
An earth gravitational accelaration value, 9.80665 m/s**2.
| #define MIFI_ERROR -1 | 
return code, error
| #define MIFI_GAS_CONSTANT 8.31432 | 
Gas constant R, 8.31432 J / (mol*K)
| #define MIFI_LATITUDE 2 | 
latitude projection axis in degrees
| #define MIFI_LONGITUDE 1 | 
longitude projection axis in degrees
| #define MIFI_MOLAR_MASS_DRY_AIR 0.0289644 | 
Molar mass dry air, 0.0289644 kg / mol
| #define MIFI_OK 1 | 
return code, ok
| #define MIFI_PI 3.1415926535897932384626433832795 | 
M_PI is no longer part of C99, so it needs to be declared for fimex
| #define MIFI_PROJ_AXIS 0 | 
projection axis in m-equivalent
| #define MIFI_T0 273.15 | 
0-deg C in K
| #define MIFI_UNDEFINED_D (nan("")) | 
undefined value for doubles
| #define MIFI_UNDEFINED_F (nanf("")) | 
undefined value for floats
| #define MIFI_VECTOR_KEEP_SIZE 0 | 
vector projection flag
new size will be like old size
| #define MIFI_VECTOR_RESIZE 1 | 
vector projection flag
vector might change size with projection
| #define MIFI_VINT_ALTITUDE 4 | 
vertical interpolation type
vertical interpolation to height above mean sea levels in m
| #define MIFI_VINT_DEPTH 2 | 
vertical interpolation type
vertical interpolation to depth below sea-level in m
Referenced by MetNoFimex::OceanSG1::getPreferredVerticalType().
| #define MIFI_VINT_HEIGHT 1 | 
vertical interpolation type
vertical interpolation to height above ground levels in m
Referenced by MetNoFimex::Height::getPreferredVerticalType().
| #define MIFI_VINT_PRESSURE 0 | 
vertical interpolation type
vertical interpolation to pressure levels in hPa
Referenced by MetNoFimex::Pressure::getPreferredVerticalType(), MetNoFimex::LnPressure::getPreferredVerticalType(), MetNoFimex::AtmosphereSigma::getPreferredVerticalType(), MetNoFimex::HybridSigmaPressure2::getPreferredVerticalType(), and MetNoFimex::HybridSigmaPressure1::getPreferredVerticalType().
| #define MIFI_VINT_SIGMA 3 | 
vertical interpolation type
vertical interpolation to sigma dimensionless vertical coordinate
| enum mifi_interpol_method | 
interpolation method
Flag for nearest neighbor interpolation. This requires, that the original data comes with a properly defined projection, i.e. implicit as latlon or explicit with projection-string
vertical interpolation method
Flag for vertical interpolation.
| Enumerator | |
|---|---|
| MIFI_VINT_METHOD_LIN | 
 linear interpolation, e.g. mifi_get_values_linear_f(), extrapolating  | 
| MIFI_VINT_METHOD_LOG | 
 logarithmic interpolation, e.g. mifi_get_values_log_f()  | 
| MIFI_VINT_METHOD_LOGLOG | 
 double logarithmic interpolation, e.g. mifi_get_values_log_f()  | 
| MIFI_VINT_METHOD_NN | 
 nearest neighbor "interpolation", e.g. mifi_get_values_f()  | 
| MIFI_VINT_METHOD_LIN_WEAK_EXTRA | 
 linear interpolation, e.g. mifi_get_values_linear_weak_extrapol_f(), extrapolating one distance of the closest values.  | 
| MIFI_VINT_METHOD_LIN_NO_EXTRA | 
 linear interpolation, e.g. mifi_get_values_linear_no_extrapol_f(), no extrapolation  | 
| MIFI_VINT_METHOD_LIN_CONST_EXTRA | 
 linear interpolation, e.g. mifi_get_values_linear_const_extrapol_f(), constant extrapolation  | 
 1.8.11