|
MeteoIODoc 20251207.a703fe45
Environmental timeseries pre-processing
|
DEM-based wind-exposure interpolation algorithm, for a spatially explicit varying DW field.
This is an implementation of the method described in Winstral, Elder, & Davis, "Spatial snow modeling of wind-redistributed snow using terrain-based parameters", 2002, Journal of Hydrometeorology, 3(5), 524-538. The wind direction for determining wind-exposure is taken from a 2D wind direction field. The DEM is used to compute wind exposure factors that are used to alter the precipitation fields. It is usually a good idea to provide a DEM that also contain the accumulated snow height in order to get a progressive softening of the terrain features.
It takes the following arguments:
#include <WinstralListonAlgorithm.h>
Public Member Functions | |
| WinstralListonAlgorithm (const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &i_algo, const std::string &i_param, TimeSeriesManager &i_tsm, GridsManager &i_gdm, Meteo2DInterpolator &i_mi) | |
| virtual double | getQualityRating (const Date &i_date) override |
| virtual void | calculate (const DEMObject &dem, Grid2DObject &grid) override |
Public Member Functions inherited from mio::InterpolationAlgorithm | |
| InterpolationAlgorithm (const std::vector< std::pair< std::string, std::string > > &, const std::string &i_algo, const std::string &i_param, TimeSeriesManager &i_tsm) | |
| virtual | ~InterpolationAlgorithm () |
| std::string | getInfo () const |
| Return an information string about the interpolation process. | |
Additional Inherited Members | |
Public Attributes inherited from mio::InterpolationAlgorithm | |
| const std::string | algo |
Protected Member Functions inherited from mio::InterpolationAlgorithm | |
| std::vector< double > | getData (const Date &i_date, const std::string &i_param) |
| size_t | getData (const Date &i_date, const std::string &i_param, std::vector< double > &o_vecData, std::vector< StationData > &o_vecMeta) |
Protected Attributes inherited from mio::InterpolationAlgorithm | |
| TimeSeriesManager & | tsmanager |
| Date | date |
| std::vector< MeteoData > | vecMeteo |
| std::vector< double > | vecData |
| store the measurement for the given parameter | |
| std::vector< StationData > | vecMeta |
| store the station data for the given parameter | |
| std::ostringstream | info |
| to store some extra information about the interplation process | |
| const std::string | param |
| the parameter that we will interpolate | |
| size_t | nrOfMeasurments |
| Number of stations that have been used, so this can be reported to the user. | |
| mio::WinstralListonAlgorithm::WinstralListonAlgorithm | ( | const std::vector< std::pair< std::string, std::string > > & | vecArgs, |
| const std::string & | i_algo, | ||
| const std::string & | i_param, | ||
| TimeSeriesManager & | i_tsm, | ||
| GridsManager & | i_gdm, | ||
| Meteo2DInterpolator & | i_mi | ||
| ) |
|
overridevirtual |
Implements mio::InterpolationAlgorithm.
|
overridevirtual |
Implements mio::InterpolationAlgorithm.