Data array for creating composites and accumulated polar products (Surface rain fall or cluttermaps)
More...
#include <RadarAccumulator.h>
|
| RadarAccumulator () |
| Default constructor.
|
|
void | addData (const pdata_src_t &srcData, const pdata_src_t &srcQuality, double weight, int i0, int j0) |
| Adds data that is in the same coordinate system as the accumulator. Weighted with quality.
|
|
void | addData (const pdata_src_t &srcData, const pdata_src_t &srcQuality, const pdata_src_t &srcCount) |
| Adds data that is in the same coordinate system as the accumulator.
|
|
void | extractOLD (const OD &odimOut, DataSet< DstType< OD > > &dstProduct, const std::string &fields, const drain::Rectangle< int > &crop={0, 0, 0, 0}) const |
|
void | setTargetEncoding (const std::string &encoding) |
| Not critical. If set, needed to warn if input data does not match the expected / potential targetEncoding.
|
|
void | consumeTargetEncoding (std::string &encoding) |
|
const std::string & | getTargetEncoding () |
|
virtual std::ostream & | toStream (std::ostream &ostr) const |
|
bool | checkCompositingMethod (const ODIM &srcODIM) const |
| Warns if data scaling involves risks in using WAVG (weighted averaging)
|
|
|
DataSelector | dataSelector |
| Input data selector.
|
|
OD | odim |
| For storing the scaling and encoding of (1st) input or user-defined values. Also for bookkeeping of date, time, sources etc.
|
|
double | defaultQuality |
| If source data has no quality field, this value is applied for (detected) data.
|
|
size_t | counter |
| Book-keeping for new data. Finally, in extraction phase, added to odim.ACCnum . More...
|
|
|
std::string | targetEncoding |
|
template<class AC, class OD>
class rack::RadarAccumulator< AC, OD >
Data array for creating composites and accumulated polar products (Surface rain fall or cluttermaps)
- Template Parameters
-
◆ extractOLD()
void extractOLD |
( |
const OD & |
odimOut, |
|
|
DataSet< DstType< OD > > & |
dstProduct, |
|
|
const std::string & |
fields, |
|
|
const drain::Rectangle< int > & |
crop = {0,0,0,0} |
|
) |
| const |
- Parameters
-
Determines if quality is stored in /dataset1/quality1/ or /dataset1/data1/quality1/
◆ counter
Book-keeping for new data. Finally, in extraction phase, added to odim.ACCnum .
Must be kept separate during accumulation. The accumulation array channel count keeps track of bin hits.
The documentation for this class was generated from the following file: