|
MeteoIODoc 20251207.a703fe45
Environmental timeseries pre-processing
|
ISWR all sky parametrization.
Using air temperature (TA) and relative humidity (RH) and optionnally cloud transmissivity (TAU_CLD), this computes the potential incoming solar radiation, based on the position of the sun in the sky (as a function of the location and the date) on the horizontal at ground level. If a cloud transmissivity (TAU_CLD) has been provided, or if an incoming long wave measurement is available, it corrects the generated iswr for cloudiness (basically doing like UnsworthGenerator in reverse), otherwise this assumes clear sky! If no TA or RH is available, average values will be used (in order to get an average value for the precipitable water vapor).
#include <AllSkySWGenerator.h>
Public Member Functions | |
| AllSkySWGenerator (const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &i_algo, const std::string &i_section, const double &TZ) | |
| bool | generate (const size_t ¶m, MeteoData &md, const std::vector< MeteoData > &vecMeteo) override |
| bool | create (const size_t ¶m, const size_t &ii_min, const size_t &ii_max, std::vector< MeteoData > &vecMeteo) override |
| Fill one time series of MeteoData for one station. | |
Public Member Functions inherited from mio::GeneratorAlgorithm | |
| virtual | ~GeneratorAlgorithm () |
| bool | skipStation (const std::string &station_id) const |
| Should this station be skipped, based on user-provided station ID restrictions? | |
| bool | skipTimeStep (const Date &dt) const |
| Should this timestep be skipped, based on user-provided time restrictions? | |
| bool | skipHeight (const double &height) const |
| std::vector< DateRange > | getTimeRestrictions () const |
| std::string | getAlgo () const |
Additional Inherited Members | |
Protected Member Functions inherited from mio::GeneratorAlgorithm | |
| GeneratorAlgorithm (const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &i_algo, const std::string &i_section, const double &TZ) | |
| protected constructor only to be called by children | |
| virtual void | parse_args (const std::vector< std::pair< std::string, std::string > > &) |
| void | initHeightRestrictions (const std::vector< std::pair< std::string, std::string > > vecArgs) |
Static Protected Member Functions inherited from mio::GeneratorAlgorithm | |
| static std::set< std::string > | initStationSet (const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &keyword) |
Protected Attributes inherited from mio::GeneratorAlgorithm | |
| const std::vector< DateRange > | time_restrictions |
| const std::set< std::string > | excluded_stations |
| const std::set< std::string > | kept_stations |
| std::set< double > | included_heights |
| std::set< double > | excluded_heights |
| bool | all_heights |
| const std::string | algo |
| const std::string | section |
Static Protected Attributes inherited from mio::GeneratorAlgorithm | |
| static const double | default_height = IOUtils::nodata |
|
inline |
|
overridevirtual |
Fill one time series of MeteoData for one station.
This is used by the dataCreators to create a new parameter in one go for the whole timeseries.
| [in] | param | meteo parameter to generate |
| [in] | ii_min | minimum index to apply it to in vecMeteo |
| [in] | ii_max | maximum index to apply it to in vecMeteo |
| [in] | vecMeteo | meteo timeseries to process |
Implements mio::GeneratorAlgorithm.
|
overridevirtual |
Implements mio::GeneratorAlgorithm.