Incoming or reflected short wave generator. Generate the incoming short wave radiation from the reflected short wave radiation or the opposite. The albedo ie either a grassy soil albedo or a snow albedo depending on the snow height. If no snow height is available, the generator will simply return unless the "FORCE" argument is provided.
#include <IswrAlbedoGenerator.h>
Public Member Functions | |
IswrAlbedoGenerator (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 |
Additional Inherited Members | |
![]() | |
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.