24 #ifndef RADOLAN_TYPES_H 25 #define RADOLAN_TYPES_H 31 #define RD_HEADER_LENGTH 138 32 #define RD_DIM_LON 900 33 #define RD_DIM_LAT 900 35 #define RD_SECONDARY_VALUE_BIT 0x01 // 0b0000000000000001 36 #define RD_ERROR_BIT 0x02 // 0b0000000000000010 37 #define RD_NEGATIVE_SIGN_BIT 0x04 // 0b0000000000000100 38 #define RD_CLUTTER_BIT 0x08 // 0b0000000000001000 40 #define RD_CLUTTER_VALUE -2490.0f 41 #define RD_ERROR_VALUE -2500.0f 43 #define RX_CLUTTER_VALUE 0xF9 44 #define RX_ERROR_VALUE 0xFA 46 #define RD_DBZ_BASEVALUE -32.5 47 #define RD_DBZ_OUTSIDEVALUE 92.5 100 typedef enum {R100km=1,R128km=2} RDRadarFormat;
103 typedef enum {RAVOQ_HV,RAVOQ_HV_ConfidenceEstimate,RAVOQ,Winterrath} RDQuantification;
112 unsigned short int day;
113 unsigned short int hour;
114 unsigned short int minute;
115 unsigned short int month;
116 unsigned short int year;
131 char softwareVersion[9];
146 char binaryFormat[9];
161 typedef float RDDataType;
165 typedef unsigned char RDByteType;
Data type for reading and handling radolan products.
double dbZPerUnit
Conversion factor from RVP6 units to DBZ.
RDDataType min_value
Minimum value found in the actual data.
int dimLon
Number of longitudinal vertices.
RDDataType max_value
Maximum value found in the actual data.
int dimLat
Number of latitudinal vertices.
RDDataType * data
Array of rd_data[header.payloadSize].
RDRadolanHeader header
Header info (when read from radolan binary format)