OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
ugrid::MeshDataVariable Class Reference

#include <MeshDataVariable.h>

Collaboration diagram for ugrid::MeshDataVariable:
Collaboration graph

Public Member Functions

libdap::Array * getDapArray ()
 
locationType getGridLocation ()
 
libdap::Array::Dim_iter getLocationCoordinateDimension ()
 
string getMeshName ()
 
string getName ()
 
void init (libdap::Array *dapArray)
 
 MeshDataVariable ()
 OPTIONAL The use of the coordinates attribute is copied from the CF-conventions. More...
 
void setGridLocation (locationType loc)
 
void setLocationCoordinateDimension (libdap::Array::Dim_iter cdim)
 
void setMeshName (string mName)
 

Detailed Description

Definition at line 43 of file MeshDataVariable.h.

Constructor & Destructor Documentation

ugrid::MeshDataVariable::MeshDataVariable ( )

OPTIONAL The use of the coordinates attribute is copied from the CF-conventions.

It is used to map the values of variables defined on the unstructured meshes directly to their location: latitude, longitude and optional elevation.

The attribute node_coordinates contains a list of the whitespace separated names of the auxiliary coordinate variables representing the node locations (latitude, longitude, and optional elevation or other coordinates). These auxiliary coordinate variables will have length nNodes or nFaces, depending on the value of the location attribute.

It appears that the coordinates attribute is redundant since the coordinates could also be obtained by using the appropriate coordinates definition in the mesh topology.

Definition at line 48 of file MeshDataVariable.cc.

References node.

Member Function Documentation

libdap::Array* ugrid::MeshDataVariable::getDapArray ( )
inline
locationType ugrid::MeshDataVariable::getGridLocation ( )
inline
libdap::Array::Dim_iter ugrid::MeshDataVariable::getLocationCoordinateDimension ( )
inline
string ugrid::MeshDataVariable::getMeshName ( )
inline

Definition at line 103 of file MeshDataVariable.h.

string ugrid::MeshDataVariable::getName ( )
inline
void ugrid::MeshDataVariable::init ( libdap::Array *  dapArray)

Definition at line 100 of file MeshDataVariable.cc.

References BESDEBUG, ugrid::getAttributeValue(), and UGRID_MESH.

Here is the call graph for this function:

void ugrid::MeshDataVariable::setGridLocation ( locationType  loc)
inline

Definition at line 99 of file MeshDataVariable.h.

void ugrid::MeshDataVariable::setLocationCoordinateDimension ( libdap::Array::Dim_iter  cdim)
inline

Definition at line 113 of file MeshDataVariable.h.

void ugrid::MeshDataVariable::setMeshName ( string  mName)
inline

Definition at line 102 of file MeshDataVariable.h.


The documentation for this class was generated from the following files: