19double RAVEMAX(
double a,
double b);
27double RAVEMIN(
double a,
double b);
34double dBZ2Z(
double dbz);
43double dBZ2R(
double dbz,
double A,
double b);
50double Z2dBZ(
double Z);
59double R2dBZ(
double R,
double A,
double b);
68double raw2dbz(
double raw,
double gain,
double offset);
78double dbz2raw(
double dbz,
double gain,
double offset);
90double raw2R(
double raw,
double gain,
double offset,
double A,
double b);
102double R2raw(
double R,
double gain,
double offset,
double A,
double b);
118int myround_int(
double d,
double minlimit,
double maxlimit);
Navigation routines for calculating distances and heights.
double R2raw(double R, double gain, double offset, double A, double b)
Converts R (mm/h) to raw using linear gain and offset, and Z-R coefficients A and b.
Definition raveutil.c:108
int mytrunc(double d)
Truncates a double to an integer.
Definition raveutil.c:116
double dbz2raw(double dbz, double gain, double offset)
Converts dBZ to raw and makes sure it fits within an 8-bit word using gain and offset.
Definition raveutil.c:78
double raw2R(double raw, double gain, double offset, double A, double b)
Converts raw to R (mm/h) using linear gain and offset, and Z-R coefficients A and b.
Definition raveutil.c:96
double raw2dbz(double raw, double gain, double offset)
Converts raw to dBZ using linear gain and offset.
Definition raveutil.c:70
double Z2dBZ(double Z)
Converts Z to dBZ.
Definition raveutil.c:51
int myround_int(double d, double minlimit, double maxlimit)
Rounds a double to an integer.
Definition raveutil.c:130
double R2dBZ(double R, double A, double b)
Converts mm/h to dBZ, given an input dBZ and Z-R constants A and b.
Definition raveutil.c:59
double dBZ2R(double dbz, double A, double b)
Converts dBZ to mm/h, given an input dBZ and Z-R constants A and b.
Definition raveutil.c:38
double dBZ2Z(double dbz)
Converts dBZ to Z.
Definition raveutil.c:30
double RAVEMIN(double a, double b)
Returns the minimum value of a and b.
Definition raveutil.c:19
double RAVEMAX(double a, double b)
Returns the maximum value of a and b.
Definition raveutil.c:11