32 #ifndef CumulativePolarProduct_OP_H_
33 #define CumulativePolarProduct_OP_H_
35 #include <drain/Log.h>
36 #include "drain/util/Fuzzy.h"
37 #include "drain/image/Accumulator.h"
39 #include "radar/Geometry.h"
41 #include "radar/RadarAccumulator.h"
42 #include "data/Data.h"
44 #include "PolarProductOp.h"
66 if (!inputQuantity.empty())
82 const std::string &description =
"",
const std::string & accumulationMethod =
"LATEST") :
83 PolarProductOp(name, description), accumulationMethod(accumulationMethod){
89 odim.scaling.scale = 0.0;
97 CumulativeProductOp(
const CumulativeProductOp & op) : PolarProductOp(op){};
99 std::string accumulationMethod;
103 void setGeometry(
const PolarODIM & srcODIM, PlainData<PolarDst> & dstData)
const {
105 mout.warn(
"setGeometry??" );
106 copyPolarGeometry(dstData.odim, dstData);
111 void processData(
const Data<PolarSrc> & src, RadarAccumulator<Accumulator,PolarODIM> & cumulator)
const = 0;
LogSourc e is the means for a function or any program segment to "connect" to a Log.
Definition: Log.h:308
Base class for flat (2D) products computed in the polar coordinate system.
Definition: CumulativeProductOp.h:59
virtual const std::string & getOutputQuantity(const std::string &inputQuantity="") const
Returns the primary output quantity (ODIM what:quantity , like DBZH)
Definition: CumulativeProductOp.h:65
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