| 
| 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 void  | ExtractBoundary (const float *a, int nx, int ny, float *bdry) | 
|   | 
| static void  | ExtractBoundary (const double *a, int nx, int ny, double *bdry) | 
|   | 
| 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) | 
|   | 
Misc. utilities for operating on geographic coordinates. 
- Author
 - John Clyne 
 
Definition at line 21 of file GeoUtil.h.
 
  
  
      
        
          | static void VAPoR::GeoUtil::ExtractBoundary  | 
          ( | 
          const float *  | 
          a,  | 
         
        
           | 
           | 
          int  | 
          nx,  | 
         
        
           | 
           | 
          int  | 
          ny,  | 
         
        
           | 
           | 
          float *  | 
          bdry  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Extract boundary points from a 2D grid
This method walks a 2D array, a, in counter-clockwise order, visiting each boundary grid point exactly once, copying the value to the array bdry. A total of 2*nx + 2*ny - 4 grid points are copied.
- Parameters
 - 
  
    | [in] | a | An 2D array dimensioned nx by ny  | 
    | [in] | nx | dimension of fastest moving coordinate  | 
    | [in] | ny | dimension of slowest moving coordinate  | 
     |  |  |