Class goodison_undercatch

Inheritance Relationships

Base Type

Class Documentation

class goodison_undercatch : public filter_base

Undercatch correction for a Nipher shielded guage via Goodison 1998 for solid precipitation

Requires:

  • Precipitation [ \( mm\) ]

  • Windspeed at gauge height [ \(m \cdot s^{-1} \) ]

Modifies:

  • Input precipitation

Configuration keys:

{
   "precip_var": "ppt",
   "wind_var": "u"
}
precip_var

Name of the precipitation variable in the met file.

wind_var

Name of the wind speed variable in the met file.

References:

Type:

string

Type:

string

Public Functions

goodison_undercatch(config_file cfg)
~goodison_undercatch()
virtual void init()

Initializes the filter. Useful for obtaining configuration params and storing them locally

virtual void process(std::shared_ptr<station> &station)

Apply the filter for one timestep for the given station

Parameters:

station – Station to operate on