1 #ifndef teca_shape_file_mask_h
2 #define teca_shape_file_mask_h
4 #include "teca_config.h"
6 #include "teca_algorithm.h"
7 #include "teca_metadata.h"
37 TECA_GET_ALGORITHM_PROPERTIES_DESCRIPTION()
38 TECA_SET_ALGORITHM_PROPERTIES()
45 TECA_ALGORITHM_PROPERTY(std::
string, shape_file)
53 TECA_ALGORITHM_VECTOR_PROPERTY(std::
string, mask_variable)
61 TECA_ALGORITHM_PROPERTY(
int, normalize_coordinates)
69 TECA_ALGORITHM_PROPERTY(
int, number_of_cuda_streams)
76 void set_modified() override;
93 const_p_teca_dataset execute(
95 const std::vector<const_p_teca_dataset> &input_data,
99 std::
string shape_file;
100 std::vector<std::
string> mask_variables;
101 int normalize_coordinates;
102 int number_of_cuda_streams;
105 internals_t *internals;
The interface to TECA pipeline architecture.
Definition: teca_algorithm.h:244
Generates a valid value mask defined by regions in the given ESRI shape file.
Definition: teca_shape_file_mask.h:28
p_teca_error_handler error_handler TECA_EXPORT
The global error handler instance.