1 #ifndef teca_2d_component_area_h
2 #define teca_2d_component_area_h
5 #include "teca_algorithm.h"
6 #include "teca_metadata.h"
60 TECA_GET_ALGORITHM_PROPERTIES_DESCRIPTION()
61 TECA_SET_ALGORITHM_PROPERTIES()
69 TECA_ALGORITHM_PROPERTY(std::
string, component_variable)
77 TECA_ALGORITHM_PROPERTY(
int, contiguous_component_ids)
88 TECA_ALGORITHM_PROPERTY(
long, background_id)
96 TECA_ALGORITHM_PROPERTY(std::
string, output_metadata_prefix)
103 int get_component_variable(std::
string &component_var);
117 const_p_teca_dataset execute(
119 const std::vector<const_p_teca_dataset> &input_data,
123 std::
string component_variable;
124 int contiguous_component_ids;
126 std::
string output_metadata_prefix;
An algorithm that computes the areas of labeled regions.
Definition: teca_2d_component_area.h:49
The interface to TECA pipeline architecture.
Definition: teca_algorithm.h:244
p_teca_error_handler error_handler TECA_EXPORT
The global error handler instance.