1 #ifndef teca_table_calendar_h
2 #define teca_table_calendar_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(std::string, time_column)
47 TECA_ALGORITHM_PROPERTY(std::string, units)
51 TECA_ALGORITHM_PROPERTY(std::string, calendar)
57 TECA_ALGORITHM_PROPERTY(std::string, year_column)
58 TECA_ALGORITHM_PROPERTY(std::string, month_column)
59 TECA_ALGORITHM_PROPERTY(std::string, day_column)
60 TECA_ALGORITHM_PROPERTY(std::string, hour_column)
61 TECA_ALGORITHM_PROPERTY(std::string, minute_column)
62 TECA_ALGORITHM_PROPERTY(std::string, second_column)
66 TECA_ALGORITHM_PROPERTY(std::string, output_column_prefix)
72 const_p_teca_dataset execute(
74 const std::vector<const_p_teca_dataset> &input_data,
80 std::string time_column;
81 std::string year_column;
82 std::string month_column;
83 std::string day_column;
84 std::string hour_column;
85 std::string minute_column;
86 std::string second_column;
87 std::string output_column_prefix;