1 #ifndef teca_latitude_damper_h
2 #define teca_latitude_damper_h
4 #include "teca_shared_object.h"
5 #include "teca_algorithm.h"
6 #include "teca_metadata.h"
38 TECA_GET_ALGORITHM_PROPERTIES_DESCRIPTION()
39 TECA_SET_ALGORITHM_PROPERTIES()
43 TECA_ALGORITHM_PROPERTY(
double, center)
47 TECA_ALGORITHM_PROPERTY(
double, half_width_at_half_max)
50 TECA_ALGORITHM_VECTOR_PROPERTY(std::string, damped_variable)
56 TECA_ALGORITHM_PROPERTY(std::string, variable_post_fix)
70 int get_damped_variables(std::vector<std::string> &vars);
75 const std::vector<teca_metadata> &input_md)
override;
77 std::vector<teca_metadata> get_upstream_request(
78 unsigned int port,
const std::vector<teca_metadata> &input_md,
81 const_p_teca_dataset execute(
unsigned int port,
82 const std::vector<const_p_teca_dataset> &input_data,
87 double half_width_at_half_max;
88 std::vector<std::string> damped_variables;
89 std::string variable_post_fix;