#include <gridpp.h>
Public Member Functions | |
BarnesStructure (float h, float v=0, float w=0, float hmax=MV) | |
Exponential structure function. More... | |
StructureFunction * | clone () const |
float | corr (const Point &p1, const Point &p2) const |
Correlation between two points. More... | |
Public Member Functions inherited from gridpp::StructureFunction | |
virtual float | corr_background (const Point &p1, const Point &p2) const |
float | localization_distance () const |
Maximum distance for which an observation can have an impact (localization) More... | |
StructureFunction (float localization_distance) | |
Additional Inherited Members | |
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 | mLocalizationDistance |
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. |
|
virtual |
Implements gridpp::StructureFunction.
Correlation between two points.
Implements gridpp::StructureFunction.