RAVE
|
Implementation of the Precipitation accumulation - ACRR algorithm. More...
Go to the source code of this file.
Typedefs | |
typedef struct _RaveAcrr_t | RaveAcrr_t |
Defines ACRR. | |
Functions | |
int | RaveAcrr_sum (RaveAcrr_t *self, CartesianParam_t *param, double zr_a, double zr_b) |
Sums a parameter with the previously calculated values. | |
CartesianParam_t * | RaveAcrr_accumulate (RaveAcrr_t *self, double acpt, long N, double hours) |
Generates the result. | |
int | RaveAcrr_isInitialized (RaveAcrr_t *self) |
Returns if this instance has been initialized or not. | |
void | RaveAcrr_setNodata (RaveAcrr_t *self, double nodata) |
Sets the nodata to be used for the accumulation. | |
double | RaveAcrr_getNodata (RaveAcrr_t *self) |
Returns the nodata that will be used in the accumulation. | |
void | RaveAcrr_setUndetect (RaveAcrr_t *self, double undetect) |
Sets the undetect to be used for the accumulation. | |
double | RaveAcrr_getUndetect (RaveAcrr_t *self) |
Returns the undetect that will be used in the accumulation. | |
const char * | RaveAcrr_getQuantity (RaveAcrr_t *self) |
Returns the quantity for this generator instance. | |
int | RaveAcrr_setQualityFieldName (RaveAcrr_t *self, const char *fieldname) |
Sets the name of the quality field (how/task value) to be used as distance field when performing the Acrr algorithm. | |
const char * | RaveAcrr_getQualityFieldName (RaveAcrr_t *self) |
Returns the name of the quality field (how/task value) to be used as distance field when performing the Acrr algorithm. | |
Variables | |
RaveCoreObjectType | RaveAcrr_TYPE |
Type definition to use when creating a rave object. | |
Implementation of the Precipitation accumulation - ACRR algorithm.
typedef struct _RaveAcrr_t RaveAcrr_t |
Defines ACRR.
CartesianParam_t * RaveAcrr_accumulate | ( | RaveAcrr_t * | self, |
double | acpt, | ||
long | N, | ||
double | hours ) |
Generates the result.
[in] | self | - self |
[in] | acpt | - the limit for accepting the accumulation (percent between 0 - 1) |
[in] | N | - the number of expected calls to sum (will be used when calculating acceptable limit) |
[in] | hours | - the number of hours this accumulation has been performed on. |
double RaveAcrr_getNodata | ( | RaveAcrr_t * | self | ) |
Returns the nodata that will be used in the accumulation.
[in] | self | - self |
const char * RaveAcrr_getQualityFieldName | ( | RaveAcrr_t * | self | ) |
Returns the name of the quality field (how/task value) to be used as distance field when performing the Acrr algorithm.
[in] | self | - self |
const char * RaveAcrr_getQuantity | ( | RaveAcrr_t * | self | ) |
Returns the quantity for this generator instance.
[in] | self | - self |
double RaveAcrr_getUndetect | ( | RaveAcrr_t * | self | ) |
Returns the undetect that will be used in the accumulation.
[in] | self | - self |
int RaveAcrr_isInitialized | ( | RaveAcrr_t * | self | ) |
Returns if this instance has been initialized or not.
[in] | self | - self |
void RaveAcrr_setNodata | ( | RaveAcrr_t * | self, |
double | nodata ) |
Sets the nodata to be used for the accumulation.
[in] | self | - self |
[in] | nodata | - the nodata value to use |
int RaveAcrr_setQualityFieldName | ( | RaveAcrr_t * | self, |
const char * | fieldname ) |
Sets the name of the quality field (how/task value) to be used as distance field when performing the Acrr algorithm.
(default is se.smhi.composite.distance.radar).
[in] | self | - self |
[in] | fieldname | - the name of the quality field (MAY NOT BE NULL) |
void RaveAcrr_setUndetect | ( | RaveAcrr_t * | self, |
double | undetect ) |
Sets the undetect to be used for the accumulation.
[in] | self | - self |
[in] | undetect | - the undetect value to use |
int RaveAcrr_sum | ( | RaveAcrr_t * | self, |
CartesianParam_t * | param, | ||
double | zr_a, | ||
double | zr_b ) |
Sums a parameter with the previously calculated values.
[in] | self | - self |
[in] | param | - the cartesian parameter |
|
extern |
Type definition to use when creating a rave object.