|
Public Member Functions | |
CartesianDataPicker (drain::ReferenceMap2<> &variableMap, const CartesianODIM &odim) | |
Default constructor. | |
void | setPosition (int i, int j) const |
Sets image position (in 2D Cartesian space) and calculates corresponding geographical coordinates. | |
Public Member Functions inherited from RadarDataPicker< CartesianODIM > | |
RadarDataPicker (drain::ReferenceMap2<> &variableMap, const CartesianODIM &odim) | |
Default constructor. | |
bool | getValue (const data_t &data, double &value) const |
Reads a value, and scales it unless nodata or undetect . | |
void | toOStr (std::ostream &ostr=std::cout) const |
Prints images geometry, buffer size and type information. | |
Public Member Functions inherited from SamplePicker | |
SamplePicker (ReferenceMap2<> &variableMap) | |
void | setSize (int w, int h) |
Public Attributes | |
GeoFrame | frame |
Frame for converting coordinates. | |
Public Attributes inherited from SamplePicker | |
int | current_i = 0 |
Optional utility. Called prior to writing the actual data to output stream. More... | |
int | current_j = 0 |
Vertical coordinate. | |
int | current_j2 = 0 |
Vertical inversed coordinate. | |
int | width = 0 |
int | height = 0 |
FlexVariableMap | infoMap |
Information to be should in output file header. | |
ReferenceMap2 & | variableMap |
Additional Inherited Members | |
Public Types inherited from RadarDataPicker< CartesianODIM > | |
typedef SrcType< CartesianODIM const > | src_t |
Input source type. | |
typedef PlainData< src_t > | data_t |
Input data type. | |
typedef DataSet< src_t > | dataset_t |
Input dataSet type. | |
typedef std::map< std::string, const data_t & > | map_t |
Map type compatible with Sampler. | |
Protected Attributes inherited from RadarDataPicker< CartesianODIM > | |
double | x |
Metric coordinate corresponding to longitudinal coordinate. | |
double | y |
Metric coordinate corresponding to latitudinal coordinate. | |
double | lon |
Longitudinal coordinate (degrees) | |
double | lat |
Latitudinal coordinate (degrees) | |
const CartesianODIM & | odim |
Metadata for navigating and scaling grid data. | |