42#include <drain/util/ReferenceMap.h>
44#include "data/DataSelector.h"
47#include "data/ODIMPathTools.h"
48#include "data/Quantity.h"
51#include "hi5/Hi5Write.h"
54#include "radar/PolarSector.h"
55#include "RadarProductOp.h"
107 if (
ps.azimuth.range.empty() &&
ps.radius.range.empty()){
109 mout.info(this->
getName(),
": no support for polar selector");
127 mout.debug(
"start" );
129 mout.debug2(
"DataSelector: " , this->dataSelector );
135 mout.debug3(
"collect the applicable paths" );
142 if (!this->dataSelector.getQuantitySelector().test(
"HGHT")){
143 mout.experimental<
LOG_INFO>(
"no dataset's selected, but height=[HGHT] requested, continuing");
146 mout.warn(
"no dataset's selected");
150 mout.debug3(
"populate the dataset map, paths=" ,
dataPaths.size() );
160 mout.warn(
"odd 1st path elem (..), with selector: ", this->dataSelector);
168 mout.warn(
"path does not start with /dataset.. :", path,
", with selector: ", this->dataSelector);
180 std::string
datetime = srcODIM.startdate + srcODIM.starttime;
182 dstODIM.updateLenient(srcODIM);
228 mout.info(
"clearing previous result, use --append [data|dataset] to avoid");
259 ProductBase::setRackVersion(
how);
283 rootWhat[
"object"] = this->odim.object;
284 rootWhat[
"version"] = this->odim.version;
293 if (ODIM::versionFlagger.isSet(ODIM::RACK_EXTENSIONS)){
298 std::stringstream sstr;
301 for (
const std::string & key: params.
getKeyList()){
308 sstr << key <<
'=' << params[key];
const std::string description
Brief, human-readable description of this bean.
Definition BeanLike.h:309
virtual const std::string & getName() const
Return the name of an instance.
Definition BeanLike.h:89
const std::string name
Name of this bean, typically also the name of the (derived) class.
Definition BeanLike.h:306
LogSourc e is the means for a function or any program segment to "connect" to a Log.
Definition Log.h:326
Definition ReferenceMap.h:215
virtual const keylist_t & getKeyList() const
Derived versions may produce an ordered set of keys.
Definition SmartMap.h:201
A map of Variables.
Definition VariableMap.h:61
A map of radar data, indexed by quantity code (DBZH, VRAD, etc).
Definition Data.h:1293
DOC: Add class description.
Definition ODIMPath.h:82
static const group_t WHAT
Metadata group /what , at any depth.
Definition ODIMPath.h:127
static const group_t DATASET
First level group, /dataset + digit .
Definition ODIMPath.h:106
static const group_t ROOT
Definition ODIMPath.h:102
static const group_t HOW
Metadata group /how , at any depth.
Definition ODIMPath.h:133
static const group_t DATA
Second level group, /data + digit .
Definition ODIMPath.h:109
static const group_t WHERE
Metadata group /where , at any depth.
Definition ODIMPath.h:130
ODIM metadata (quantity, gain, offset, undetect, nodata, date, time)
Definition ODIM.h:79
ODIMPathElem appendResults
If set, appends outputs in an hdf5 structure instead of overwriting.
Definition ProductConf.h:92
Polar and Cartesian products.
Definition RadarProductOp.h:78
Base class for radar data processors.
Definition VolumeOp.h:82
virtual Hi5Tree & processVolume(const Hi5Tree &srcRoot, Hi5Tree &dstRoot) const final
Traverse through given volume and create new, processed data (volume or polar product).
Definition VolumeOp.h:123
Namespace for images and image processing tools.
Definition AccumulationArray.cpp:45
Definition AltitudeOp.cpp:42
Definition PolarSector.h:109