1 #ifndef teca_cf_writer_h
2 #define teca_cf_writer_h
4 #include "teca_shared_object.h"
5 #include "teca_threaded_algorithm.h"
6 #include "teca_metadata.h"
66 TECA_GET_ALGORITHM_PROPERTIES_DESCRIPTION()
67 TECA_SET_ALGORITHM_PROPERTIES()
72 TECA_ALGORITHM_PROPERTY(std::string, file_name)
77 TECA_ALGORITHM_PROPERTY(std::string, date_format)
80 TECA_ALGORITHM_PROPERTY(
long, first_step)
81 TECA_ALGORITHM_PROPERTY(
long, last_step)
92 TECA_ALGORITHM_PROPERTY(
unsigned int, steps_per_file)
95 TECA_ALGORITHM_PROPERTY(
int, mode_flags)
104 TECA_ALGORITHM_PROPERTY(
int, use_unlimited_dim)
110 TECA_ALGORITHM_PROPERTY(
int, compression_level)
114 TECA_ALGORITHM_PROPERTY(
int, flush_files);
119 TECA_ALGORITHM_VECTOR_PROPERTY(std::string, point_array)
120 TECA_ALGORITHM_VECTOR_PROPERTY(std::string, information_array)
126 const_p_teca_dataset execute(
unsigned int port,
127 const std::vector<const_p_teca_dataset> &input_data,
131 const std::vector<teca_metadata> &input_md)
override;
133 std::vector<teca_metadata> get_upstream_request(
unsigned int port,
134 const std::vector<teca_metadata> &input_md,
142 std::string file_name;
143 std::string date_format;
146 unsigned int steps_per_file;
148 int use_unlimited_dim;
149 int compression_level;
152 std::vector<std::string> point_arrays;
153 std::vector<std::string> information_arrays;