32#ifndef PseudoRhiOP_OP_H_
33#define PseudoRhiOP_OP_H_
38#include "data/DataSelector.h"
39#include "data/PolarODIM.h"
40#include "data/VerticalODIM.h"
41#include "product/VolumeOp.h"
57 VolumeOp<RhiODIM>(
"PseudoRhiOp",
"Computes vertical intersection in a volume in the beam direction.") {
60 odim.product =
"PRHI";
62 parameters.link(
"az_angle",
odim.az_angle = az_angle,
"deg");
66 parameters.link(
"range",
odim.range.tuple(range.min, range.max),
"m");
69 parameters.link(
"height",
odim.altitudeRange.tuple(height.min, height.max),
"m" );
71 parameters.link(
"size",
odim.area.tuple(size.width, size.height),
"pix");
81 parameters.link(
"beamWidth", this->beamWidth = beamWidth,
"deg");
83 parameters.link(
"beamThreshold", this->weightThreshold = beamThreshold,
"0..1");
103 double beamWidth = 0.25;
104 double weightThreshold = 0.1;
127 return beamWidth2 / (beamWidth2 + angle*angle);
Something that has width and height.
Definition Frame.h:55
void setQuantities(const std::string &s)
Sets basic quantities and quality quantities. These sets are separated by '/'.
Definition DataSelector.cpp:282
A map of radar data, indexed by quantity code (DBZH, VRAD, etc).
Definition Data.h:1264
Essential class for storing radar data.
Definition Data.h:300
Metadata structure for single-radar data (polar scans, volumes and products).
Definition PolarODIM.h:45
drain::ReferenceMap allowedEncoding
Defines which encoding parameters can be changed by the user from command line.
Definition ProductBase.h:206
Pseudo Range-Height indicator.
Definition PseudoRhiOp.h:51
virtual void computeSingleProduct(const DataSetMap< PolarSrc > &src, DataSet< RhiDst > &dstProduct) const
Implements VolumeOp::filter.
Definition PseudoRhiOp.cpp:125
static double relativeBeamPower(double angle, double beamWidth2)
Simple non-gaussian model for a beam.
Definition PseudoRhiOp.h:126
MD odim
The default data parameters for encoding output (the product).
Definition RadarProductOp.h:101
Base class for radar data processors.
Definition VolumeOp.h:82
Namespace for images and image processing tools.
Definition AccumulationArray.cpp:45
Definition DataSelector.cpp:44
Definition PolarSector.h:110