|
template<class T > |
void | build_masked_data (Array *dependent_var, const vector< STARE_ArrayIndexSpatialValue > &dep_var_stare_indices, const vector< STARE_ArrayIndexSpatialValue > &target_s_indices, T mask_value, unique_ptr< Array > &result) |
| Mask the data in dependent_var using the target_s_indices. More...
|
|
|
template<class T > |
static void | build_masked_data (libdap::Array *dependent_var, const std::vector< STARE_ArrayIndexSpatialValue > &dep_var_stare_indices, const std::vector< STARE_ArrayIndexSpatialValue > &target_s_indices, T mask_value, unique_ptr< libdap::Array > &result) |
|
static libdap::BaseType * | stare_subset_array_dap4_function (libdap::D4RValueList *args, libdap::DMR &dmr) |
|
Definition at line 157 of file StareFunctions.h.
◆ build_masked_data()
template<class T >
void functions::StareSubsetArrayFunction::build_masked_data |
( |
Array * |
dependent_var, |
|
|
const vector< STARE_ArrayIndexSpatialValue > & |
dep_var_stare_indices, |
|
|
const vector< STARE_ArrayIndexSpatialValue > & |
target_s_indices, |
|
|
T |
mask_value, |
|
|
unique_ptr< Array > & |
result |
|
) |
| |
Mask the data in dependent_var using the target_s_indices.
Copy values from dependent_var to result that lie at the intersection of the target and dataset stare indices. The libdap::Array 'result' is modified.
- Template Parameters
-
T | The element type of the dependent_var and result Arrays |
- Parameters
-
dependent_var | The dataset values to subset/mask |
dep_var_stare_indices | The stare indices that define the spatial extent of these data |
target_s_indices | The stare indices that define the spatial extent of the region of interest |
result | A value-result parameter. The masked dependent_var data is returned using this libdap::Array |
- Todo:
- FIXME jhrg 6/17/21
Definition at line 292 of file StareFunctions.cc.
The documentation for this class was generated from the following files: