Precipitation distribution according to the local slope and curvature. The precipitation distribution is initialized using a specified algorithm (IDW_LAPSE by default, see IDWLapseAlgorithm). An optional parameter can be given to specify which algorithm has to be used for initializing the grid. Please do not forget to provide the arguments of the chosen algorithm itself if necessary!
After this initialization, the pixels whose air temperatures are below or at freezing are modified according to the method described in "Quantitative evaluation of different hydrological modelling approaches
in a partly glacierized Swiss watershed", Magnusson et Al., Hydrological Processes, 25, 2071-2084, 2011 and "Modelling runoff from highly glacierized alpine catchments in a changing climate", Huss et All., Hydrological Processes, 22, 3888-3902, 2008.
An example using this algorithm, initializing the grid with a constant lapse rate fill using +0.05% precipitation increase per meter of elevation, is given below:
PSUM::algorithms = PSUM_SNOW
PSUM::psum_snow = avg_lapse
PSUM::avg_lapse = 0.0005 frac
- Author
- Florian Kobierska, Jan Magnusson and Mathias Bavay
|
const std::string | algo |
|
size_t | getData (const Date &i_date, const MeteoData::Parameters &i_param, std::vector< double > &o_vecData) |
|
size_t | getData (const Date &i_date, const MeteoData::Parameters &i_param, std::vector< double > &o_vecData, std::vector< StationData > &o_vecMeta) |
|
void | getTrend (const std::vector< double > &vecAltitudes, const std::vector< double > &vecDat, Fit1D &trend) const |
| Read the interpolation arguments and compute the trend accordingly. More...
|
|
void | simpleWindInterpolate (const DEMObject &dem, const std::vector< double > &vecDataVW, const std::vector< double > &vecDataDW, Grid2DObject &VW, Grid2DObject &DW) |
|
static size_t | getStationAltitudes (const std::vector< StationData > &i_vecMeta, std::vector< double > &o_vecData) |
|
static void | detrend (const Fit1D &trend, const std::vector< double > &vecAltitudes, std::vector< double > &vecDat, const double &min_alt=-1e4, const double &max_alt=1e4) |
|
static void | retrend (const DEMObject &dem, const Fit1D &trend, Grid2DObject &grid, const double &min_alt=-1e4, const double &max_alt=1e4) |
|
Meteo2DInterpolator & | mi |
|
TimeSeriesManager & | tsmanager |
|
GridsManager & | gridsmanager |
|
Date | date |
|
const std::vector< std::string > | vecArgs |
|
std::vector< MeteoData > | vecMeteo |
|
std::vector< double > | vecData |
| store the measurement for the given parameter More...
|
|
std::vector< StationData > | vecMeta |
| store the station data for the given parameter More...
|
|
std::ostringstream | info |
| to store some extra information about the interplation process More...
|
|
MeteoData::Parameters | param |
| the parameter that we will interpolate More...
|
|
size_t | nrOfMeasurments |
| the available number of measurements More...
|
|