RAVE
|
Radvol-QC general structures and algorithms. More...
#include "radvol.h"
#include "rave_debug.h"
#include "rave_alloc.h"
#include "raveutil.h"
#include <string.h>
#include <math.h>
Functions | |
void | Radvol_getName (Radvol_t *self, const char *source) |
Reads radar node name (NOD) into self->name. | |
int | Radvol_getAttrDouble_scan (PolarScan_t *scan, char *name, double *value) |
Reads attribute value from scan. | |
int | Radvol_getAttrDouble_pvol (PolarVolume_t *pvol, char *name, double *value) |
Reads attribute value from volume. | |
int | Radvol_setTaskName (Radvol_t *self, const char *task_name) |
Sets name of task. | |
int | Radvol_setTaskArgs (Radvol_t *self, const char *task_args) |
Sets arguments of task. | |
int | Radvol_load_scan (Radvol_t *self, PolarScan_t *scan) |
Reads polar scan into radvolqc structure. | |
int | Radvol_load_pvol (Radvol_t *self, PolarVolume_t *pvol) |
Reads polar volume into radvolqc structure. | |
int | Radvol_save_scan (Radvol_t *self, PolarScan_t *scan) |
Writes data from radvolqc into polar scan. | |
int | Radvol_save_pvol (Radvol_t *self, PolarVolume_t *pvol) |
Writes data from radvolqc into polar volume. | |
SimpleXmlNode_t * | Radvol_getFactorChild (Radvol_t *self, char *aFileName, char *aFactorName, int *IsDefault) |
Reads xml child for a specific radar and factor/algorithm from xml file. | |
int | Radvol_getParValueDouble (SimpleXmlNode_t *node, char *aParamName, double *value) |
Returns value of a specific parameter as double from xml child. | |
int | Radvol_getParValueInt (SimpleXmlNode_t *node, char *aParamName, int *value) |
Returns value of a specific parameter as int from xml child. | |
void | Radvol_setEquivalentEarthRadius (Radvol_t *self, double lat) |
Estimates equivalent Earth radius based on radar site latitude. | |
double | Radvol_getCurvature (Radvol_t *self, int ele, int aBin) |
Returns height of a particular bin in the scan resulting from Earth curvature. | |
double | Radvol_getLinearQuality (double x, double a, double b) |
Returns quality index value for linear relationship. | |
Variables | |
RaveCoreObjectType | Radvol_TYPE |
Type definition to use when creating a rave object. | |
Radvol-QC general structures and algorithms.
int Radvol_getAttrDouble_pvol | ( | PolarVolume_t * | pvol, |
char * | name, | ||
double * | value ) |
Reads attribute value from volume.
pvol | - polar volume |
name | - attribute name |
value | - read value |
int Radvol_getAttrDouble_scan | ( | PolarScan_t * | scan, |
char * | name, | ||
double * | value ) |
Reads attribute value from scan.
scan | - polar scan |
name | - attribute name |
value | - read value |
double Radvol_getCurvature | ( | Radvol_t * | self, |
int | ele, | ||
int | aBin ) |
Returns height of a particular bin in the scan resulting from Earth curvature.
self | - self |
ele | - elevation number |
aBin | - bin number |
SimpleXmlNode_t * Radvol_getFactorChild | ( | Radvol_t * | self, |
char * | aFileName, | ||
char * | aFactorName, | ||
int * | IsDefault ) |
Reads xml child for a specific radar and factor/algorithm from xml file.
self | - self |
aFileName | - xml filename |
aFactorName | - factor/algorithm name |
IsDefault | - 1 if returned child is default, 0 otherwise |
double Radvol_getLinearQuality | ( | double | x, |
double | a, | ||
double | b ) |
Returns quality index value for linear relationship.
x | - quality factor value |
a | - lower threshold in linear relationship |
b | - upper threshold in linear relationship |
void Radvol_getName | ( | Radvol_t * | self, |
const char * | source ) |
Reads radar node name (NOD) into self->name.
self | - self |
source | - what/source from PVOL or SCAN |
int Radvol_getParValueDouble | ( | SimpleXmlNode_t * | node, |
char * | aParamName, | ||
double * | value ) |
Returns value of a specific parameter as double from xml child.
node | - xml child |
aParamName | - parameter name |
value | - parameter value |
int Radvol_getParValueInt | ( | SimpleXmlNode_t * | node, |
char * | aParamName, | ||
int * | value ) |
Returns value of a specific parameter as int from xml child.
node | - xml child |
aParamName | - parameter name |
value | - parameter value |
int Radvol_load_pvol | ( | Radvol_t * | self, |
PolarVolume_t * | pvol ) |
Reads polar volume into radvolqc structure.
self | - self |
pvol | - polar volume |
int Radvol_load_scan | ( | Radvol_t * | self, |
PolarScan_t * | scan ) |
Reads polar scan into radvolqc structure.
self | - self |
scan | - polar scan |
int Radvol_save_pvol | ( | Radvol_t * | self, |
PolarVolume_t * | pvol ) |
Writes data from radvolqc into polar volume.
self | - self |
pvol | - polar volume |
int Radvol_save_scan | ( | Radvol_t * | self, |
PolarScan_t * | scan ) |
Writes data from radvolqc into polar scan.
self | - self |
scan | - polar scan |
void Radvol_setEquivalentEarthRadius | ( | Radvol_t * | self, |
double | lat ) |
Estimates equivalent Earth radius based on radar site latitude.
self | - self |
lat | - radar site latitude |
int Radvol_setTaskArgs | ( | Radvol_t * | self, |
const char * | task_args ) |
Sets arguments of task.
self | - self |
task_args | - task arguments |
int Radvol_setTaskName | ( | Radvol_t * | self, |
const char * | task_name ) |
Sets name of task.
self | - self |
task_name | - name of task |
RaveCoreObjectType Radvol_TYPE |