35 #include "ServerFunction.h"
43 void ugnr(
int argc, libdap::BaseType * argv[], libdap::DDS &dds, libdap::BaseType **btpp);
49 void uger(
int argc, libdap::BaseType * argv[], libdap::DDS &dds, libdap::BaseType **btpp);
55 void ugfr(
int argc, libdap::BaseType * argv[], libdap::DDS &dds, libdap::BaseType **btpp);
61 class UGNR:
public libdap::ServerFunction {
70 ((
string)
"This function can subset the range variables of a two dimensional triangular mesh unstructured grid ") +
71 "by applying a filter expression to the values of the grid associated with the nodes.");
72 setUsageString(
"ugnr(node_var [,node_var_2,...,node_var_n], 'relational query over domain')");
73 setRole(
"http://services.opendap.org/dap4/server-side-function/unstructured_grids/ugrid_restrict");
74 setDocUrl(
"https://docs.opendap.org/index.php?title=OPULS:_UGrid_Subsetting#ugnr:_Subset_by_node_value.");
75 setFunction(ugrid::ugnr);
83 class UGER:
public libdap::ServerFunction {
92 ((
string)
"This function can subset the range variables of a two dimensional triangular mesh unstructured grid ") +
93 "by applying a filter expression to the values of the grid associated with the edges.");
94 setUsageString(
"uger(node_var [,node_var_2,...,node_var_n], 'relational query over domain')");
95 setRole(
"http://services.opendap.org/dap4/server-side-function/unstructured_grids/ugrid_restrict");
96 setDocUrl(
"https://docs.opendap.org/index.php?title=OPULS:_UGrid_Subsetting#uger:_Subset_by_edge_value.");
97 setFunction(ugrid::uger);
105 class UGFR:
public libdap::ServerFunction {
113 setDescriptionString(
114 ((
string)
"This function can subset the range variables of a two dimensional triangular mesh unstructured grid ") +
115 "by applying a filter expression to the values of the grid associated with the faces.");
116 setUsageString(
"ugfr(node_var [,node_var_2,...,node_var_n], 'relational query over domain')");
117 setRole(
"http://services.opendap.org/dap4/server-side-function/unstructured_grids/ugrid_restrict");
118 setDocUrl(
"https://docs.opendap.org/index.php?title=OPULS:_UGrid_Subsetting#ugfr:_Subset_by_face_value.");
119 setFunction(ugrid::ugfr);