1 #ifndef teca_cpp_temporal_reduction_h
2 #define teca_cpp_temporal_reduction_h
5 #include "teca_threaded_algorithm.h"
7 #include "teca_metadata.h"
49 TECA_GET_ALGORITHM_PROPERTIES_DESCRIPTION()
50 TECA_SET_ALGORITHM_PROPERTIES()
56 TECA_ALGORITHM_VECTOR_PROPERTY(std::
string, point_array)
71 TECA_ALGORITHM_PROPERTY(
int, operation)
73 int set_operation(
const std::string &operation);
75 std::string get_operation_name();
92 TECA_ALGORITHM_PROPERTY(
int, interval)
94 int set_interval(
const std::string &interval);
96 std::string get_interval_name();
105 TECA_ALGORITHM_PROPERTY(
long, number_of_steps)
113 TECA_ALGORITHM_PROPERTY(
double, fill_value)
121 TECA_ALGORITHM_PROPERTY(
long, steps_per_request)
137 const_p_teca_dataset execute(
139 const std::vector<const_p_teca_dataset> &data_in,
141 int streaming) override;
147 std::vector<std::
string> point_arrays;
150 long number_of_steps;
152 long steps_per_request;
155 internals_t *internals;
The interface to TECA pipeline architecture.
Definition: teca_algorithm.h:244
Definition: teca_temporal_reduction.h:40
@ average
Set the reduction operation to average.
Definition: teca_temporal_reduction.h:65
@ minimum
Set the reduction operation to minimum.
Definition: teca_temporal_reduction.h:67
@ summation
Set the reduction operation to summation.
Definition: teca_temporal_reduction.h:66
This is the base class defining a threaded algorithm.
Definition: teca_threaded_algorithm.h:71
p_teca_error_handler error_handler TECA_EXPORT
The global error handler instance.