Atmospheric transmissivity generator. Generate the atmospheric transmissivity (or clearness index, see meteoparam) from other parameters. If a parameter named "CLD" is available, it will be interpreted as cloud cover / cloudiness: in okta between 0 (fully clear) and 8 (fully cloudy). For synop reports, it is possible to include a value of exactly 9 (sky obstructed from view by fog, heavy precipitation...) that will be transparently reset to 8 (fully cloudy).
If no such parameter is available, the atmospheric transmissivity is calculated from the solar index (ratio of measured iswr to potential iswr, therefore using the current location (lat, lon, altitude) and ISWR to parametrize the cloud cover). This relies on (Kasten and Czeplak, 1980).
#include <TauCLDGenerator.h>
Public Types | |
enum | clf_parametrization { KASTEN, CLF_CRAWFORD } |
Public Member Functions | |
TauCLDGenerator (const std::vector< std::string > &vecArgs, const std::string &i_algo) | |
bool | generate (const size_t ¶m, MeteoData &md) |
bool | create (const size_t ¶m, std::vector< MeteoData > &vecMeteo) |
![]() | |
GeneratorAlgorithm (const std::vector< std::string > &, const std::string &i_algo) | |
virtual | ~GeneratorAlgorithm () |
std::string | getAlgo () const |
Static Public Member Functions | |
static double | getCloudiness (const clf_parametrization &clf_model, const MeteoData &md, SunObject &sun, bool &is_night) |
Additional Inherited Members | |
![]() | |
virtual void | parse_args (const std::vector< std::string > &i_vecArgs) |
![]() | |
const std::string | algo |
![]() | |
static const double | soil_albedo = .23 |
static const double | snow_albedo = .85 |
static const double | snow_thresh = .1 |
|
inline |
|
virtual |
Implements mio::GeneratorAlgorithm.
|
virtual |
Implements mio::GeneratorAlgorithm.
|
static |