1 #ifndef teca_array_collection_reader_h
2 #define teca_array_collection_reader_h
4 #include "teca_algorithm.h"
5 #include "teca_metadata.h"
7 #include "teca_array_collection.h"
74 TECA_GET_ALGORITHM_PROPERTIES_DESCRIPTION()
75 TECA_SET_ALGORITHM_PROPERTIES()
82 TECA_ALGORITHM_VECTOR_PROPERTY(std::
string, file_name)
95 TECA_ALGORITHM_PROPERTY(std::
string, files_regex)
104 TECA_ALGORITHM_PROPERTY(std::
string, t_axis_variable)
112 TECA_ALGORITHM_PROPERTY(std::
string, calendar)
120 TECA_ALGORITHM_PROPERTY(std::
string, t_units)
142 TECA_ALGORITHM_PROPERTY(std::
string, filename_time_template)
150 TECA_ALGORITHM_VECTOR_PROPERTY(
double, t_value)
160 const_p_teca_dataset execute(
unsigned int port,
161 const std::vector<const_p_teca_dataset> &input_data,
164 void set_modified() override;
165 void clear_cached_metadata();
168 std::vector<std::
string> file_names;
169 std::
string files_regex;
170 std::
string t_axis_variable;
171 std::
string calendar;
173 std::
string filename_time_template;
174 std::vector<
double> t_values;
175 int max_metadata_ranks;
177 struct teca_array_collection_reader_internals;
178 teca_array_collection_reader_internals *internals;