RAVE
odc_hac.c File Reference

Functionality for performing hit-accumulation clutter filtering. More...

#include "odc_hac.h"
#include "polarscan.h"
#include "rave_attribute.h"
#include "rave_field.h"
#include "rave_types.h"
#include <stdio.h>

Functions

int hacFilter (PolarScan_t *scan, RaveField_t *hac, char *quant)
 Performs HAC filtering.
 
int hacIncrement (PolarScan_t *scan, RaveField_t *hac, char *quant)
 Increments the HAC for that radar and elevation angle.
 
int zdiff (PolarScan_t *scan, double thresh)
 Derives Z-diff quality indicator.
 

Detailed Description

Functionality for performing hit-accumulation clutter filtering.

Added Z-diff operation too.

Author
Daniel Michelson, SMHI
Date
2013-01-23

Function Documentation

◆ hacFilter()

int hacFilter ( PolarScan_t * scan,
RaveField_t * hac,
char * quant )

Performs HAC filtering.

Parameters
[in]scan- input scan
[in]hac- input field containing hits
Returns
int 1 if successful, otherwise 0

◆ hacIncrement()

int hacIncrement ( PolarScan_t * scan,
RaveField_t * hac,
char * quant )

Increments the HAC for that radar and elevation angle.

Parameters
[in]scan- input scan
[in]hac- input field containing hits
[in]quant- string containing quantity, e.g. "DBZH"
Returns
int 1 if successful, otherwise 0

◆ zdiff()

int zdiff ( PolarScan_t * scan,
double thresh )

Derives Z-diff quality indicator.

Parameters
[in]scan- input scan
Returns
int 1 if successful, otherwise 0