|
VAPoR
0.1
|
Misc. utilities for operating on geographic coordinates. More...
#include <GeoUtil.h>
Static Public Member Functions | |
| static void | ShiftLon (const float *srclon, int nx, float *dstlon) |
| static void | ShiftLon (const double *srclon, int nx, double *dstlon) |
| static void | ShiftLon (const float *srclon, int nx, int ny, float *dstlon) |
| static void | ShiftLon (const double *srclon, int nx, int ny, double *dstlon) |
| static void | LonExtents (const float *lon, int nx, int ny, float &lonwest, float &loneast) |
| static void | LonExtents (const double *lon, int nx, int ny, double &lonwest, double &loneast) |
| static void | LonExtents (const float *lon, int nx, float &lonwest, float &loneast) |
| static void | LonExtents (const double *lon, int nx, double &lonwest, double &loneast) |
| static void | LatExtents (const float *lon, int nx, int ny, float &latsouth, float &latnorth) |
| static void | LatExtents (const double *lon, int nx, int ny, double &latsouth, double &latnorth) |
| static void | LatExtents (const float *lon, int ny, float &latsouth, float &latnorth) |
| static void | LatExtents (const double *lon, int ny, double &latsouth, double &latnorth) |
Static Public Member Functions inherited from VetsUtil::MyBase | |
| static void | SetErrMsg (const char *format,...) |
| Record a formatted error message. More... | |
| static void | SetErrMsg (int errcode, const char *format,...) |
| Record a formatted error message and an error code. More... | |
| static const char * | GetErrMsg () |
| static void | SetErrCode (int err_code) |
| Record an error code. More... | |
| static int | GetErrCode () |
| Retrieve the current error code. More... | |
| static void | SetErrMsgCB (ErrMsgCB_T cb) |
| static ErrMsgCB_T | GetErrMsgCB () |
| static void | SetErrMsgFilePtr (FILE *fp) |
| static const FILE * | SetErrMsgFilePtr () |
| static void | SetDiagMsg (const char *format,...) |
| Record a formatted diagnostic message. More... | |
| static const char * | GetDiagMsg () |
| static void | SetDiagMsgCB (DiagMsgCB_T cb) |
| static DiagMsgCB_T | GetDiagMsgCB () |
| static void | SetDiagMsgFilePtr (FILE *fp) |
| static bool | EnableErrMsg (bool enable) |
Additional Inherited Members | |
Public Types inherited from VetsUtil::MyBase | |
| typedef void(* | ErrMsgCB_T )(const char *msg, int err_code) |
| typedef void(* | DiagMsgCB_T )(const char *msg) |
Public Member Functions inherited from VetsUtil::MyBase | |
| MyBase () | |
| const string & | getClassName () const |
Static Public Attributes inherited from VetsUtil::MyBase | |
| static char * | ErrMsg |
| static int | ErrCode |
| static int | ErrMsgSize |
| static FILE * | ErrMsgFilePtr |
| static ErrMsgCB_T | ErrMsgCB |
| static char * | DiagMsg |
| static int | DiagMsgSize |
| static FILE * | DiagMsgFilePtr |
| static DiagMsgCB_T | DiagMsgCB |
| static bool | Enabled |
Protected Member Functions inherited from VetsUtil::MyBase | |
| void | SetClassName (const string &name) |
|
static |
Calculate south-most and nort-most extents for a grid of latitude values
| [in] | lon | A structured 2D grid of latitude coordintes in degrees |
| [in] | nx | dimension of fastest moving coordinate |
| [in] | ny | dimension of slowest moving coordinate |
| [out] | latsouth | south-most latitude coordinate |
| [out] | latnorth | north-most latitude coordinate |
|
static |
|
static |
|
static |
|
static |
Calculate west-most and east-most extents for a grid of longitudinal values
lonwest < loneast | [in] | lon | A structured 2D grid of longitude coordintes in degrees |
| [in] | nx | dimension of fastest moving coordinate |
| [in] | ny | dimension of slowest moving coordinate |
| [out] | lonwest | west-most longitude coordinate |
| [out] | loneast | east-most longitude coordinate |
|
static |
|
static |
Calculate west-most and east-most extents for a grid of longitudinal values
lonwest < loneast | [in] | lon | A 1D grid of longitude coordintes in degrees |
| [in] | nx | dimension of grid |
| [out] | lonwest | west-most longitude coordinate |
| [out] | loneast | east-most longitude coordinate |
|
static |
|
static |
|
static |
|
static |
|
static |
1.8.7