|
RAVE
|
Provides functionality for creating composites. More...
#include "detection_range.h"#include "raveobject_list.h"#include "rave_debug.h"#include "rave_alloc.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <sys/stat.h>#include <math.h>Classes | |
| struct | _DetectionRange_t |
| Represents the detection range generator. More... | |
Macros | |
| #define | ER 8495000.0 |
| effective earth radius for bin height calculations | |
| #define | ERKM 8495 |
| effective earth radius in km | |
| #define | CONSTGRAD 50.0 |
| 10 dB/km = 1000 m / 20 dBN | |
Functions | |
| int | DetectionRange_setLookupPath (DetectionRange_t *self, const char *path) |
| Sets the lookup path where the cache files are stored. | |
| const char * | DetectionRange_getLookupPath (DetectionRange_t *self) |
| Returns the lookup path where the cache files are stored. | |
| void | DetectionRange_setAnalysisMinRange (DetectionRange_t *self, double minrange) |
| Sets the minrange to be processed during the analysis stage. | |
| double | DetectionRange_getAnalysisMinRange (DetectionRange_t *self) |
| Returns the min radial range to be processed in the analysis stage. | |
| void | DetectionRange_setAnalysisMaxRange (DetectionRange_t *self, double maxrange) |
| Sets the maxrange to be processed during the analysis stage. | |
| double | DetectionRange_getAnalysisMaxRange (DetectionRange_t *self) |
| Returns the max radial range to be processed in the analysis stage. | |
| PolarScan_t * | DetectionRange_top (DetectionRange_t *self, PolarVolume_t *pvol, double scale, double threshold_dBZN, char *paramname) |
| Returns the echo top. | |
| PolarScan_t * | DetectionRange_filter (DetectionRange_t *self, PolarScan_t *scan) |
| Top field garbage should be filtered. | |
| RaveField_t * | DetectionRange_analyze (DetectionRange_t *self, PolarScan_t *scan, int avgsector, double sortage, double samplepoint) |
| Analyzes the detection ranges. | |
Variables | |
| RaveCoreObjectType | DetectionRange_TYPE |
| Type definition to use when creating a rave object. | |
Provides functionality for creating composites.
| #define CONSTGRAD 50.0 |
10 dB/km = 1000 m / 20 dBN
| #define ER 8495000.0 |
effective earth radius for bin height calculations
| #define ERKM 8495 |
effective earth radius in km
| RaveField_t * DetectionRange_analyze | ( | DetectionRange_t * | self, |
| PolarScan_t * | scan, | ||
| int | avgsector, | ||
| double | sortage, | ||
| double | samplepoint ) |
Analyzes the detection ranges.
| [in] | avgsector | - width of the floating average azimuthal sector |
| [in] | sortage | - defining the higher portion of sorted ray to be analysed, typically 0.05 - 0.2 |
| [in] | samplepoint | - define the position to pick a representative TOP value from highest valid TOPs, typically near 0.5 (median) lower values (nearer to highest TOP, 0.15) used in noisier radars like KOR. |
Calculate previous top value
| PolarScan_t * DetectionRange_filter | ( | DetectionRange_t * | self, |
| PolarScan_t * | scan ) |
Top field garbage should be filtered.
| [in] | self | - self |
| [in] | scan | - the scan to filter (after top has been calculated) |
| double DetectionRange_getAnalysisMaxRange | ( | DetectionRange_t * | self | ) |
Returns the max radial range to be processed in the analysis stage.
| [in] | self | - self |
| double DetectionRange_getAnalysisMinRange | ( | DetectionRange_t * | self | ) |
Returns the min radial range to be processed in the analysis stage.
| [in] | self | - self |
| const char * DetectionRange_getLookupPath | ( | DetectionRange_t * | self | ) |
Returns the lookup path where the cache files are stored.
| [in] | self | - self |
| void DetectionRange_setAnalysisMaxRange | ( | DetectionRange_t * | self, |
| double | maxrange ) |
Sets the maxrange to be processed during the analysis stage.
| [in] | self | - self |
| [in] | maxrange | - the max radial range in meters (default is 240000.0) |
| void DetectionRange_setAnalysisMinRange | ( | DetectionRange_t * | self, |
| double | minrange ) |
Sets the minrange to be processed during the analysis stage.
| [in] | self | - self |
| [in] | minrange | - the min radial range in meters (default is 10000.0) |
| int DetectionRange_setLookupPath | ( | DetectionRange_t * | self, |
| const char * | path ) |
Sets the lookup path where the cache files are stored.
| [in] | self | - self |
| [in] | path | - the path to use for lookup tables MAY NOT BE NULL (default /tmp) |
| PolarScan_t * DetectionRange_top | ( | DetectionRange_t * | self, |
| PolarVolume_t * | pvol, | ||
| double | scale, | ||
| double | threshold_dBZN, | ||
| char * | paramname ) |
Returns the echo top.
| [in] | self | - self |
| [in] | pvol | - the polar volume |
| [in] | scale | - the bin length |
| [in] | threshold_dBZN | - threshold for dBZN values |
| RaveCoreObjectType DetectionRange_TYPE |
Type definition to use when creating a rave object.