1 #ifndef teca_vertical_reduction_h
2 #define teca_vertical_reduction_h
4 #include "teca_shared_object.h"
5 #include "teca_algorithm.h"
6 #include "teca_metadata.h"
7 #include "teca_array_attributes.h"
30 TECA_GET_ALGORITHM_PROPERTIES_DESCRIPTION()
31 TECA_SET_ALGORITHM_PROPERTIES()
35 TECA_ALGORITHM_VECTOR_PROPERTY(std::string, dependent_variable)
38 TECA_ALGORITHM_VECTOR_PROPERTY(std::string, derived_variable)
42 derived_variable_attribute)
49 const std::vector<teca_metadata> &input_md)
override;
51 std::vector<teca_metadata> get_upstream_request(
53 const std::vector<teca_metadata> &input_md,
56 const_p_teca_dataset execute(
58 const std::vector<const_p_teca_dataset> &input_data,
62 std::vector<std::string> dependent_variables;
63 std::vector<std::string> derived_variables;
64 std::vector<teca_array_attributes> derived_variable_attributes;