#include <gridpp.h>
Public Member Functions | |
| BarnesStructure (float h, float v=0, float w=0, float hmax=MV) | |
| Exponential structure function. More... | |
| BarnesStructure (Grid grid, vec2 h, vec2 v, vec2 w, float min_rho=StructureFunction::default_min_rho) | |
| Barnes structure function where decorrelation varyies spatially. More... | |
| StructureFunction * | clone () const |
| float | corr (const Point &p1, const Point &p2) const |
| Correlation between two points. More... | |
| float | localization_distance (const Point &p) const |
| Maximum distance for which an observation can have an impact (localization) More... | |
Public Member Functions inherited from gridpp::StructureFunction | |
| virtual float | corr_background (const Point &p1, const Point &p2) const |
| StructureFunction (float localization_distance=0) | |
Additional Inherited Members | |
Static Public Attributes inherited from gridpp::StructureFunction | |
| static const float | default_min_rho = 0.0013 |
Protected Member Functions inherited from gridpp::StructureFunction | |
| float | barnes_rho (float dist, float length) const |
| Barnes correlation function. More... | |
| float | cressman_rho (float dist, float length) const |
| Cressman correlation function. More... | |
Protected Attributes inherited from gridpp::StructureFunction | |
| float | m_localization_distance |
Simple structure function based on distance, elevation, and land area fraction.
| gridpp::BarnesStructure::BarnesStructure | ( | float | h, |
| float | v = 0, |
||
| float | w = 0, |
||
| float | hmax = MV |
||
| ) |
Exponential structure function.
Barnes.
| h | Horizontal decorrelation length >=0 [m] |
| v | Vertical decorrelation length >=0 [m]. If 0, disable decorrelation. |
| w | Land/sea decorrelation length >=0 [1]. If 0, disable decorrelation. |
| hmax | Truncate horizontal correlation beyond this length [m]. If undefined, 3.64 * h. |
| gridpp::BarnesStructure::BarnesStructure | ( | Grid | grid, |
| vec2 | h, | ||
| vec2 | v, | ||
| vec2 | w, | ||
| float | min_rho = StructureFunction::default_min_rho |
||
| ) |
Barnes structure function where decorrelation varyies spatially.
| grid | Grid of decorrelation field |
| h | Horizontal decorrelation length field >=0, same size as grid [m] |
| v | Vertical decorrelation length field >=0 [m]. Set all to 0 to disable decorrelation. |
| w | Land/sea decorrelation length field >=0 [1]. Set all to 0 to disable decorrelation. |
| min_rho | Truncate horizontal correlation when rho less than this value [m]. |
|
virtual |
Implements gridpp::StructureFunction.
Correlation between two points.
Implements gridpp::StructureFunction.
|
virtual |
Maximum distance for which an observation can have an impact (localization)
Reimplemented from gridpp::StructureFunction.
1.8.13