1 #ifndef teca_table_region_mask_h
2 #define teca_table_region_mask_h
4 #include "teca_shared_object.h"
5 #include "teca_algorithm.h"
6 #include "teca_metadata.h"
30 TECA_GET_ALGORITHM_PROPERTIES_DESCRIPTION()
31 TECA_SET_ALGORITHM_PROPERTIES()
35 TECA_ALGORITHM_PROPERTY(std::string, x_coordinate_column)
36 TECA_ALGORITHM_PROPERTY(std::string, y_coordinate_column)
42 TECA_ALGORITHM_PROPERTY(std::string, result_column);
48 TECA_ALGORITHM_VECTOR_PROPERTY(
unsigned long, region_size)
49 TECA_ALGORITHM_VECTOR_PROPERTY(
unsigned long, region_start)
50 TECA_ALGORITHM_VECTOR_PROPERTY(
double, region_x_coordinate)
51 TECA_ALGORITHM_VECTOR_PROPERTY(
double, region_y_coordinate)
60 int load_cyclone_basin(
const std::string &name);
64 TECA_ALGORITHM_PROPERTY(
int, invert)
70 const_p_teca_dataset execute(
unsigned int port,
71 const std::vector<const_p_teca_dataset> &input_data,
75 std::string x_coordinate_column;
76 std::string y_coordinate_column;
77 std::string result_column;
78 std::vector<unsigned long> region_sizes;
79 std::vector<unsigned long> region_starts;
80 std::vector<double> region_x_coordinates;
81 std::vector<double> region_y_coordinates;