OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
ugrid_utils.h File Reference
#include <gridfields/array.h>
Include dependency graph for ugrid_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ugrid
 

Macros

#define CF_ROLE   "cf_role"
 REQUIRED UGrid attribute vocabulary. More...
 
#define CF_STANDARD_NAME   "standard_name"
 
#define UGRID_EDGE   "edge"
 
#define UGRID_EDGE_COORDINATES   "edge_coordinates"
 
#define UGRID_EDGE_NODE_CONNECTIVITY   "edge_node_connectivity"
 OPTIONAL UGrid attribute vocabulary. More...
 
#define UGRID_FACE   "face"
 
#define UGRID_FACE_COORDINATES   "face_coordinates"
 
#define UGRID_FACE_EDGE_CONNECTIVITY   "face_edge_connectivity"
 
#define UGRID_FACE_FACE_CONNECTIVITY   "face_face_connectivity"
 
#define UGRID_FACE_NODE_CONNECTIVITY   "face_node_connectivity"
 
#define UGRID_GRID_LOCATION   "grid_location"
 
#define UGRID_LOCATION   "location"
 
#define UGRID_MESH   "mesh"
 
#define UGRID_MESH_TOPOLOGY   "mesh_topology"
 
#define UGRID_NODE   "node"
 
#define UGRID_NODE_COORDINATES   "node_coordinates"
 
#define UGRID_START_INDEX   "start_index"
 
#define UGRID_TOPOLOGY_DIMENSION   "topology_dimension"
 

Functions

bool ugrid::checkAttributeValue (libdap::BaseType *bt, string aName, string aValue)
 
template<typename DODS , typename T >
T * ugrid::extract_array_helper (libdap::Array *a)
 DAP Array data extraction helper method. More...
 
template<typename T >
T * ugrid::extractArray (libdap::Array *a)
 Given a pointer to an Array that holds a numeric type, extract the values and return in an array of T. More...
 
GF::Array * ugrid::extractGridFieldArray (libdap::Array *a, vector< int * > *sharedIntArrays, vector< float * > *sharedFloatArrays)
 Extract data from a DAP array and return those values in a gridfields array. More...
 
string ugrid::getAttributeValue (libdap::BaseType *bt, string aName)
 
libdap::Type ugrid::getGridfieldsReturnType (libdap::Type type)
 
int ugrid::getNfrom3byNArray (libdap::Array *array)
 Retrieves the size of the second dimension from a 3xN array. More...
 
bool ugrid::matchesCfRoleOrStandardName (libdap::BaseType *bt, string aValue)
 
GF::Array * ugrid::newGFIndexArray (string name, long size, vector< int * > *sharedIntArrays)
 
vector< string > & ugrid::split (const string &s, char delim, vector< string > &elems)
 Splits the string on the passed char. More...
 
vector< string > ugrid::split (const string &s, char delim)
 Splits the string on the passed char. More...
 

Macro Definition Documentation

#define CF_ROLE   "cf_role"

REQUIRED UGrid attribute vocabulary.

Definition at line 45 of file ugrid_utils.h.

Referenced by ugrid::matchesCfRoleOrStandardName().

#define CF_STANDARD_NAME   "standard_name"

Definition at line 46 of file ugrid_utils.h.

Referenced by ugrid::matchesCfRoleOrStandardName().

#define UGRID_EDGE   "edge"

Definition at line 55 of file ugrid_utils.h.

#define UGRID_EDGE_COORDINATES   "edge_coordinates"

Definition at line 67 of file ugrid_utils.h.

#define UGRID_EDGE_NODE_CONNECTIVITY   "edge_node_connectivity"

OPTIONAL UGrid attribute vocabulary.

Definition at line 63 of file ugrid_utils.h.

#define UGRID_FACE   "face"

Definition at line 56 of file ugrid_utils.h.

#define UGRID_FACE_COORDINATES   "face_coordinates"

Definition at line 66 of file ugrid_utils.h.

#define UGRID_FACE_EDGE_CONNECTIVITY   "face_edge_connectivity"

Definition at line 68 of file ugrid_utils.h.

#define UGRID_FACE_FACE_CONNECTIVITY   "face_face_connectivity"

Definition at line 69 of file ugrid_utils.h.

#define UGRID_FACE_NODE_CONNECTIVITY   "face_node_connectivity"

Definition at line 49 of file ugrid_utils.h.

#define UGRID_GRID_LOCATION   "grid_location"

Definition at line 53 of file ugrid_utils.h.

#define UGRID_LOCATION   "location"

Definition at line 52 of file ugrid_utils.h.

#define UGRID_MESH   "mesh"

Definition at line 57 of file ugrid_utils.h.

Referenced by ugrid::MeshDataVariable::init().

#define UGRID_MESH_TOPOLOGY   "mesh_topology"

Definition at line 47 of file ugrid_utils.h.

#define UGRID_NODE   "node"

Definition at line 54 of file ugrid_utils.h.

#define UGRID_NODE_COORDINATES   "node_coordinates"

Definition at line 48 of file ugrid_utils.h.

#define UGRID_START_INDEX   "start_index"

Definition at line 58 of file ugrid_utils.h.

#define UGRID_TOPOLOGY_DIMENSION   "topology_dimension"

Definition at line 51 of file ugrid_utils.h.

Referenced by ugrid::TwoDMeshTopology::init().