Class scale_wind_speed

Inheritance Relationships

Base Type

Class Documentation

class scale_wind_speed : public filter_base

Scales a wind speed from a given height to the standard reference height in CHM, 50 m Uses a snow roughness z0, but assumes no snow depth (can be corrected for later).

Requires:

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

Modifies:

  • None

Provides:

  • Reference windspeed at reference height - “U_R” [ \(m \cdot s^{-1} \) ]

Configuration keys:

{
    "variable":"u",
    "Z_F":10
}
variable

Name of the wind variable in the met file

Z_F

Wind observation height

Type:

string

Type:

double

Units:

[\(m\)]

Public Functions

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