RAVE
|
Provides functionality for dealiasing radial wind data. More...
#include <math.h>
#include <bits/nan.h>
#include <string.h>
#include "polarvolume.h"
#include "polarscan.h"
#include "polarscanparam.h"
#include "rave_attribute.h"
#include "rave_object.h"
#include "rave_alloc.h"
#include "rave_types.h"
#include "raveutil.h"
#include "rave_debug.h"
Go to the source code of this file.
Functions | |
double | max_vector (double *a, int n) |
Returns the maximum of a vector. | |
double | min_vector (double *a, int n) |
Returns the minimum of a vector. | |
int | dealiased_by_quantity (PolarScan_t *scan, const char *quantity) |
Determines whether a scan is dealiased or not. | |
int | dealiased (PolarScan_t *scan) |
Determines whether a scan is dealiased or not and performs dealiasing of the VRAD parameter. | |
PolarScanParam_t * | create_dealiased_parameter (PolarScan_t *scan, const char *quantity, const char *newquantity) |
Creates a dealiased parameter from the scan / quantity. | |
int | dealias_pvol_by_quantity (PolarVolume_t *inobj, const char *quantity, double emax) |
Function for dealiasing polar volume data for the specified parameter. | |
int | dealias_pvol (PolarVolume_t *inobj) |
Function for dealiasing polar volume data for the VRAD parameter. | |
int | dealias_scan_by_quantity (PolarScan_t *inobj, const char *quantity, double emax) |
Function for dealiasing polar scan data for the specified parameter. | |
int | dealias_scan (PolarScan_t *inobj) |
Function for dealiasing polar scan data for the VRAD parameter. | |
Provides functionality for dealiasing radial wind data.
PolarScanParam_t * create_dealiased_parameter | ( | PolarScan_t * | scan, |
const char * | quantity, | ||
const char * | newquantity ) |
Creates a dealiased parameter from the scan / quantity.
The created dealiased parameter will get quantity newquantity
[in] | scan | - the scan to be dealiased |
[in] | quantity | - the quantity to dealias |
[in] | newquantity | - the quantity of the dealiased parameter |
int dealias_pvol | ( | PolarVolume_t * | inobj | ) |
Function for dealiasing polar volume data for the VRAD parameter.
Same as invoking dealias_pvol_by_quantity(vol, "VRAD").
[in] | source | - input volume |
int dealias_pvol_by_quantity | ( | PolarVolume_t * | inobj, |
const char * | quantity, | ||
double | emax ) |
Function for dealiasing polar volume data for the specified parameter.
[in] | source | - input volume |
[in] | quantity | - the quantity |
[in] | emax | - the maximum elevation angle |
int dealias_scan | ( | PolarScan_t * | inobj | ) |
Function for dealiasing polar scan data for the VRAD parameter.
Same as calling dealias_scan_by_quantity(scan, "VRAD").
[in] | source | - input scan |
int dealias_scan_by_quantity | ( | PolarScan_t * | inobj, |
const char * | quantity, | ||
double | emax ) |
Function for dealiasing polar scan data for the specified parameter.
[in] | source | - input scan |
[in] | quantity | - the quantity |
[in] | emax | - the maximum elevation angle |
int dealiased | ( | PolarScan_t * | scan | ) |
Determines whether a scan is dealiased or not and performs dealiasing of the VRAD parameter.
Same as calling dealiased_by_quantity(scan, "VRAD").
[in] | scan | - input scan |
int dealiased_by_quantity | ( | PolarScan_t * | scan, |
const char * | quantity ) |
Determines whether a scan is dealiased or not.
[in] | scan | - input scan |
[in] | quantity | - the quantity to be dealiased |
double max_vector | ( | double * | a, |
int | n ) |
Returns the maximum of a vector.
[in] | a | - input vector |
[in] | n | - vector length |
double min_vector | ( | double * | a, |
int | n ) |
Returns the minimum of a vector.
[in] | a | - input vector |
[in] | n | - vector length |