1 #ifndef teca_cf_time_axis_reader_h
2 #define teca_cf_time_axis_reader_h
4 #include "teca_config.h"
6 #include "teca_algorithm.h"
7 #include "teca_metadata.h"
27 TECA_ALGORITHM_PROPERTY(std::
string, files_regex)
31 TECA_ALGORITHM_VECTOR_PROPERTY(std::
string, file_name)
34 TECA_ALGORITHM_PROPERTY(std::
string, t_axis_variable)
38 const std::
string &get_path()
const {
return this->
path; }
39 const std::vector<std::string> &get_files()
const {
return this->files; }
49 const std::vector<teca_metadata> &input_md)
override;
51 const_p_teca_dataset
execute(
unsigned int port,
52 const std::vector<const_p_teca_dataset> &input_data,
56 std::string t_axis_variable;
57 std::string files_regex;
58 std::vector<std::string> file_names;
59 std::vector<std::string> files;
The interface to TECA pipeline architecture.
Definition: teca_algorithm.h:244
virtual teca_metadata get_output_metadata(unsigned int port, const std::vector< teca_metadata > &input_md)
An algorithm to read time axis and its attributes in parallel.
Definition: teca_cf_time_axis_reader.h:17
void set_modified() override
const_p_teca_dataset execute(unsigned int port, const std::vector< const_p_teca_dataset > &input_data, const teca_metadata &request) override
teca_metadata get_output_metadata(unsigned int port, const std::vector< teca_metadata > &input_md) override
p_teca_error_handler error_handler TECA_EXPORT
The global error handler instance.
TECA_EXPORT std::string path(const std::string &filename)