1 #ifndef teca_2d_component_area_h
2 #define teca_2d_component_area_h
4 #include "teca_shared_object.h"
5 #include "teca_algorithm.h"
6 #include "teca_metadata.h"
57 TECA_GET_ALGORITHM_PROPERTIES_DESCRIPTION()
58 TECA_SET_ALGORITHM_PROPERTIES()
61 TECA_ALGORITHM_PROPERTY(std::string, component_variable)
65 TECA_ALGORITHM_PROPERTY(
int, contiguous_component_ids)
72 TECA_ALGORITHM_PROPERTY(
long, background_id)
77 int get_component_variable(std::string &component_var);
82 const std::vector<teca_metadata> &input_md)
override;
84 std::vector<teca_metadata> get_upstream_request(
86 const std::vector<teca_metadata> &input_md,
89 const_p_teca_dataset execute(
91 const std::vector<const_p_teca_dataset> &input_data,
95 std::string component_variable;
96 int contiguous_component_ids;