44#define DEFAULT_EQUATOR_RADIUS 6378160.0
46#define DEFAULT_POLE_RADIUS 6356780.0
101 double SPIKE_ACovFrac;
114 double NMET_AReflMin;
115 double NMET_AReflMax;
132 double BLOCK_MaxElev;
136 double BLOCK_GCMinPbb;
137 double BLOCK_PBBQIUn;
291 #define SameValue( a, b) ( (fabs(a - b) < 0.001) ? 1 : 0)
Defines the functions available when working with polar scans.
Defines the functions available when working with polar volumes.
void Radvol_getName(Radvol_t *self, const char *source)
Reads radar node name (NOD) into self->name.
Definition radvol.c:418
double Radvol_getCurvature(Radvol_t *self, int ele, int aBin)
Returns height of a particular bin in the scan resulting from Earth curvature.
Definition radvol.c:679
struct Elevation_t Elevation_t
Represents an elevation.
double Radvol_getLinearQuality(double x, double a, double b)
Returns quality index value for linear relationship.
Definition radvol.c:687
RaveCoreObjectType Radvol_TYPE
Type definition to use when creating a rave object.
Definition radvol.c:702
void Radvol_setEquivalentEarthRadius(Radvol_t *self, double lat)
Estimates equivalent Earth radius based on radar site latitude.
Definition radvol.c:668
int Radvol_save_scan(Radvol_t *self, PolarScan_t *scan)
Writes data from radvolqc into polar scan.
Definition radvol.c:566
int Radvol_getParValueDouble(SimpleXmlNode_t *node, char *aParamName, double *value)
Returns value of a specific parameter as double from xml child.
Definition radvol.c:626
int Radvol_setTaskArgs(Radvol_t *self, const char *task_args)
Sets arguments of task.
Definition radvol.c:492
int Radvol_getAttrDouble_pvol(PolarVolume_t *pvol, char *name, double *value)
Reads attribute value from volume.
Definition radvol.c:457
int Radvol_load_pvol(Radvol_t *self, PolarVolume_t *pvol)
Reads polar volume into radvolqc structure.
Definition radvol.c:530
int Radvol_save_pvol(Radvol_t *self, PolarVolume_t *pvol)
Writes data from radvolqc into polar volume.
Definition radvol.c:579
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.
Definition radvol.c:604
int Radvol_getParValueInt(SimpleXmlNode_t *node, char *aParamName, int *value)
Returns value of a specific parameter as int from xml child.
Definition radvol.c:647
int Radvol_load_scan(Radvol_t *self, PolarScan_t *scan)
Reads polar scan into radvolqc structure.
Definition radvol.c:515
int Radvol_getAttrDouble_scan(PolarScan_t *scan, char *name, double *value)
Reads attribute value from scan.
Definition radvol.c:445
int Radvol_setTaskName(Radvol_t *self, const char *task_name)
Sets name of task.
Definition radvol.c:469
Generic implementation of an object that is used within rave.
#define RAVE_OBJECT_HEAD
Always should be at top of a struct that implements a RaveObject.
Definition rave_object.h:33
Simple XML object frontend to expat.
Represents an elevation.
Definition radvol.h:51
int nray
number of rays
Definition radvol.h:53
double rscale
resolution of bins along the ray [km]
Definition radvol.h:54
double * ReflElev
reflectivity data
Definition radvol.h:60
double * QIElev
quality data
Definition radvol.h:61
double nodata
nodata
Definition radvol.h:58
int nbin
number of bins
Definition radvol.h:52
double elangle
elevation angle [rad]
Definition radvol.h:55
double gain
gain
Definition radvol.h:56
double undetect
undetect
Definition radvol.h:59
double offset
offset
Definition radvol.h:57
Represents one scan in a volume.
Definition polarscan.c:47
Represents a volume.
Definition polarvolume.c:51
Represents argument parameters for Radvol's algorithms.
Definition radvol.h:88
Represents the Radvol.
Definition radvol.h:67
char * task_name
task name to be saved in *.h5 file
Definition radvol.h:77
int DBZHtoTH
1 if to copy unprocessed DBZH into TH if TH does not exist, 0 otherwise
Definition radvol.h:81
int nele
number of elevations in TabElev
Definition radvol.h:70
RAVE_OBJECT_HEAD Elevation_t * TabElev
Always on top.
Definition radvol.h:69
int altitude
altitude of antenna
Definition radvol.h:75
double Eer
equivalent earth's radius [km]
Definition radvol.h:74
double beamwidth
ray width [rad]
Definition radvol.h:71
int QCOn
1 if QC is on, 0 otherwise
Definition radvol.h:80
double pulselength
half of radar pulse length
Definition radvol.h:73
double wavelength
length of wave [cm]
Definition radvol.h:72
char * name
radar name what->source->NOD
Definition radvol.h:76
int QIOn
1 if QI is calculated, 0 otherwise
Definition radvol.h:79
char * task_args
task arguments to be saved in *.h5 file
Definition radvol.h:78
Represents a node.
Definition rave_simplexml.c:38
The rave object type definition.
Definition rave_object.h:52