4 #include "teca_shared_object.h"
5 #include "teca_algorithm.h"
6 #include "teca_metadata.h"
27 TECA_GET_ALGORITHM_PROPERTIES_DESCRIPTION()
28 TECA_SET_ALGORITHM_PROPERTIES()
32 TECA_ALGORITHM_PROPERTY(std::string, component_0_variable)
33 TECA_ALGORITHM_PROPERTY(std::string, component_1_variable)
34 TECA_ALGORITHM_PROPERTY(std::string, component_2_variable)
38 TECA_ALGORITHM_PROPERTY(std::string, l2_norm_variable)
43 std::string get_component_0_variable(
const teca_metadata &request);
44 std::string get_component_1_variable(
const teca_metadata &request);
45 std::string get_component_2_variable(
const teca_metadata &request);
46 std::string get_l2_norm_variable(
const teca_metadata &request);
51 const std::vector<teca_metadata> &input_md)
override;
53 std::vector<teca_metadata> get_upstream_request(
55 const std::vector<teca_metadata> &input_md,
58 const_p_teca_dataset execute(
60 const std::vector<const_p_teca_dataset> &input_data,
64 std::string component_0_variable;
65 std::string component_1_variable;
66 std::string component_2_variable;
67 std::string l2_norm_variable;