36 #include "radar/Geometry.h"
39 #include "PolarProductOp.h"
114 ConvOp(
double maxEchoThreshold = 25.0,
double cellDiameter = 3.0,
double echoTopThreshold = 2.0,
double echoTopDBZ = 20.0,
double smoothRad = 0.0,
double smoothAzm = 0.0) :
115 PolarProductOp(__FUNCTION__,
"Computes the probability of convection based on fuzzy cell intensity, area and height."), top(true) {
117 parameters.link(
"maxEchoThreshold", this->maxEchoThreshold = maxEchoThreshold,
"dBZ");
118 parameters.link(
"cellDiameter", this->cellDiameter = cellDiameter,
"km");
119 parameters.link(
"echoTopThreshold", this->echoTopThreshold = echoTopThreshold,
"km");
120 parameters.link(
"echoTopDBZ", this->echoTopDBZ = echoTopDBZ,
"dBZ");
122 parameters.link(
"smoothAzm", this->smoothAzm = smoothAzm,
"deg");
123 parameters.link(
"smoothRad", this->smoothRad = smoothRad,
"km");
125 allowedEncoding.link(
"nbins", odim.area.width = 0l);
126 allowedEncoding.link(
"rscale", odim.rscale = 0.0);
129 allowedEncoding.link(
"undetect", odim.undetect = 0.0);
130 allowedEncoding.link(
"nodata", odim.nodata = 0.0);
132 dataSelector.setQuantities(
"^DBZH$");
134 odim.product =
"CONVECTION";
135 odim.quantity =
"PROB";
143 double maxEchoThreshold;
146 double echoTopThreshold;
Computes Cb s or bottoms in kilometers for a given dBZ threshold, typically 20, 40 or 45 dBZ.
Definition: ConvOp.h:52
ConvOp(double maxEchoThreshold=25.0, double cellDiameter=3.0, double echoTopThreshold=2.0, double echoTopDBZ=20.0, double smoothRad=0.0, double smoothAzm=0.0)
Currently type and gain are not handled due to char<=> int mapping problem.
Definition: ConvOp.h:114
A map of radar data, indexed by quantity code (DBZH, VRAD, etc).
Definition: Data.h:1213
Base class for flat (2D) products computed in the polar coordinate system. Volume is used as input.
Definition: PolarProductOp.h:61
Namespace for images and image processing tools.
Definition: AccumulationArray.cpp:45
Definition: DataSelector.cpp:44