32#ifndef RACK_DATA_MODIFIER
33#define RACK_DATA_MODIFIER
42#include "DataSelector.h"
117 void markPath(Hi5Tree &src,
const Hi5Tree::path_t & path,
bool exclude);
Tool for selecting datasets based on paths, quantities and min/max elevations.
Definition DataModifier.h:52
static void markPathIncluded(Hi5Tree &dst, const ODIMPath &path)
Mark everything along the path included.
Definition DataModifier.h:92
static void keep(Hi5Tree &dst, const DataSelector &selector)
Complement of remove(): keep the selected, remove else.
Definition DataModifier.cpp:100
static void markTree(Hi5Tree &src, bool exclude, ODIMPathElem::group_t filter=ODIMPathElem::ALL_GROUPS)
Mark exclusion/inclusion in the whole tree.
Definition DataModifier.cpp:40
static void markPath(Hi5Tree &src, const Hi5Tree::path_t &path, bool exclude)
Mark exclusion/inclusion along a path.
Definition DataModifier.cpp:55
static int removeEmptyGroups(Hi5Tree &dst, const ODIMPath &path=ODIMPath())
Quick removal of empty groups.
Definition DataModifier.cpp:150
static void markIncluded(Hi5Tree &src, ODIMPathElem::group_t filter=ODIMPathElem::ALL_GROUPS)
Mark everything included.
Definition DataModifier.h:82
static void markExcluded(Hi5Tree &src, ODIMPathElem::group_t filter=ODIMPathElem::ALL_GROUPS)
Mark everything excluded.
Definition DataModifier.h:76
static void remove(Hi5Tree &dst, const DataSelector &dataSelector)
Remove selected parts of the structure.
Definition DataModifier.cpp:78
Tool for selecting datasets based on paths, quantities and min/max elevations.
Definition DataSelector.h:106
A map of radar data, indexed by quantity code (DBZH, VRAD, etc).
Definition Data.h:1293
unsigned int group_t
In H5, "groups" correspond to directories or folders in file system.
Definition ODIMPath.h:92
static const group_t ALL_GROUPS
User defined group, name stored as a separate string. Index allowed, but only catenated in the string...
Definition ODIMPath.h:140
Definition AltitudeOp.cpp:42