Class debias_lw

Inheritance Relationships

Base Type

Class Documentation

class debias_lw : public filter_base

Debias an incoming longwave radiation using an additive constant factor.

Requires:

  • Incoming longwave radiation \([W \cdot m^{-2}\)]

Modifies:

  • Input longwave

Configuration keys:

{
   "variable": "lw",
   "factor": 3.5
}
variable

Name of the variable to modify that coincides with the input met file.

factor

The amount to add to the input longwave by: lw = lw + factor

Type:

string

Type:

double

Units:

\([W \cdot m^{-2}]\)

Public Functions

debias_lw(config_file cfg)
~debias_lw()
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