Class filter_base#
Defined in File filter_base.hpp
Inheritance Relationships#
Derived Types#
public debias_lw(Class debias_lw)public filter_template(Class filter_template)public goodison_undercatch(Class goodison_undercatch)public macdonald_undercatch(Class macdonald_undercatch)public scale_wind_speed(Class scale_wind_speed)
Class Documentation#
-
class filter_base#
Subclassed by debias_lw, filter_template, goodison_undercatch, macdonald_undercatch, scale_wind_speed
Public Functions
-
inline filter_base(std::string name = "", config_file input_cfg = pt::basic_ptree<std::string, std::string>())#
-
inline virtual ~filter_base()#
-
inline virtual void init()#
Initializes the filter. Useful for obtaining configuration params and storing them locally
Apply the filter for one timestep for the given station
- Parameters:
station – Station to operate on
-
inline void provides(const std::string &name)#
Denotes a new met variable that this filter provides. Must be used in the ctor of a filter prior to use
- Parameters:
name – Name of the new meteorological variable
-
inline std::vector<std::string> provides()#
List of new meterological variables this filter provides
- Returns:
-
inline bool is_nan(double variable)#
Determine if the variable value is a Nan. Checks for -9999, NaN, and Inf
- Parameters:
variable –
- Returns:
True if is nan
-
inline filter_base(std::string name = "", config_file input_cfg = pt::basic_ptree<std::string, std::string>())#