1 #ifndef teca_wrf_reader_h
2 #define teca_wrf_reader_h
4 #include "teca_config.h"
5 #include "teca_algorithm.h"
6 #include "teca_metadata.h"
14 class teca_wrf_reader_internals;
15 using p_teca_wrf_reader_internals = std::shared_ptr<teca_wrf_reader_internals>;
71 TECA_GET_ALGORITHM_PROPERTIES_DESCRIPTION()
72 TECA_SET_ALGORITHM_PROPERTIES()
76 TECA_ALGORITHM_VECTOR_PROPERTY(std::
string, file_name)
81 TECA_ALGORITHM_PROPERTY(std::
string, files_regex)
86 TECA_ALGORITHM_PROPERTY(std::
string, metadata_cache_dir)
89 TECA_ALGORITHM_PROPERTY(
int, periodic_in_x)
90 TECA_ALGORITHM_PROPERTY(
int, periodic_in_y)
91 TECA_ALGORITHM_PROPERTY(
int, periodic_in_z)
95 TECA_ALGORITHM_PROPERTY(std::
string, calendar)
96 TECA_ALGORITHM_PROPERTY(std::
string, t_units)
109 TECA_ALGORITHM_PROPERTY(std::
string, filename_time_template)
113 TECA_ALGORITHM_VECTOR_PROPERTY(
double, t_value)
118 TECA_ALGORITHM_PROPERTY(
int, thread_pool_size)
122 void clear_cached_metadata();
131 const_p_teca_dataset execute(
133 const std::vector<const_p_teca_dataset> &input_data,
136 virtual
void set_modified() override;
139 std::vector<std::
string> file_names;
140 std::
string files_regex;
141 std::
string metadata_cache_dir;
142 std::
string m_x_axis_variable;
143 std::
string m_y_axis_variable;
144 std::
string u_x_axis_variable;
145 std::
string u_y_axis_variable;
146 std::
string v_x_axis_variable;
147 std::
string v_y_axis_variable;
148 std::
string m_z_axis_variable;
149 std::
string w_z_axis_variable;
150 std::
string t_axis_variable;
151 std::
string calendar;
153 std::
string filename_time_template;
154 std::vector<
double> t_values;
158 int thread_pool_size;
159 p_teca_wrf_reader_internals internals;
The interface to TECA pipeline architecture.
Definition: teca_algorithm.h:244
A reader for data stored in WRF ARW format.
Definition: teca_wrf_reader.h:62
p_teca_error_handler error_handler TECA_EXPORT
The global error handler instance.