Standard atmospheric pressure interpolation algorithm. This first fills the grid with the standard atmosphere's pressure, depending on the local elevation. Then, depending on the available data:
- if there are no measured atmospheric pressure, nothing else happens;
- if one station has measured local atmospheric pressure, its offset to the standard atmospheric pressure is computed and applied to the computed grid;
- if multiple stations have measured local atmospheric pressure:
- default: the average offset will be applied to the computed grid;
- USE_RESIDUALS option: the residuals are computed at each station, spatially distributed (with IDW) and applied to the computed grid;
P::algorithms = STD_PRESS
P::Std_Press = USE_RESIDUALS
|
| 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...
|
| |