31 #ifndef ECHOTOP2_OP_H_
32 #define ECHOTOP2_OP_H_
36 #include "CumulativeProductOp.h"
49 EchoTopOpOld(
bool top =
true,
double minDBZ = 20.0,
double dbzRef = -50.0,
double hRef = 15000.0,
bool aboveSeaLevel=
true) :
50 CumulativeProductOp(__FUNCTION__,
"Computes maximum (or minimum) altitude of echo.",
"WAVG,8,1"), top(top) {
52 parameters.link(
"minDBZ", this->minDBZ = minDBZ,
"dBZ");
53 parameters.link(
"dbzReference", this->dbzRef = dbzRef,
"dBZ");
54 parameters.link(
"altitudeReference", this->hRef = hRef,
"metres");
55 parameters.link(
"aboveSeaLevel", this->aboveSeaLevel = aboveSeaLevel,
"false=radar site|true=sea level");
57 odim.product =
"ETOP";
58 odim.quantity =
"HGHT";
61 dataSelector.setQuantities(
"^DBZH$");
85 odim[
"what:prodpar"] = minDBZ;
89 void processData(
const Data<PolarSrc> & data, RadarAccumulator<Accumulator,PolarODIM> & accumulator)
const;
Base class for flat (2D) products computed in the polar coordinate system.
Definition: CumulativeProductOp.h:59
Height of echo exceeding a reflectivity threshold.
Definition: EchoTopOpOld.h:45
virtual const std::string & getOutputQuantity(const std::string &inputQuantity="") const
Returns the primary output quantity (ODIM what:quantity , like DBZH)
Definition: EchoTopOpOld.h:66
Metadata structure for single-radar data (polar scans, volumes and products).
Definition: PolarODIM.h:45
Namespace for images and image processing tools.
Definition: AccumulationArray.cpp:45
Definition: DataSelector.cpp:44