25 #include <ServerFunction.h>
37 void function_dap2_roi(
int argc, libdap::BaseType *argv[], libdap::DDS &dds, libdap::BaseType **btpp);
38 libdap::BaseType *function_dap4_roi(libdap::D4RValueList *args, libdap::DMR &dmr);
46 setDescriptionString(
"The roi() function subsets N arrays using slicing information read from an Array of Structures like that produced by the bbox() function.");
47 setUsageString(
"roi(<array0>, <array1>, ..., <arrayn>, Structure slice[M]), where <array0>, ..., has M or more dimensions.");
48 setRole(
"http://services.opendap.org/dap4/server-side-function/roi");
49 setDocUrl(
"http://docs.opendap.org/index.php/Server_Side_Processing_Functions#roi");
50 setFunction(function_dap2_roi);
51 setFunction(function_dap4_roi);