15 #include <polarvolume.h>
16 #include <vertical_profile.h>
22 #define DEG2RAD (0.017453293)
23 #define RAD2DEG (57.29578)
29 #define XABS(x) (((x) < 0) ? (-(x)) : (x))
30 #define ROUND(x) (((x) > 0) ? (int)((x) + 0.5) : (int)((x)-0.5))
31 #define SQUARE(x) ((x) * (x))
38 #define PI (3.14159265358979323846)
100 float radarWavelength;
102 char clutterMap[1000];
103 float clutterValueMin;
114 int printPointsArray;
116 int exportBirdProfileAsJSONVar;
118 float maxNyquistDealias;
120 float birdRadarCrossSection;
136 float resampleRscale;
139 float mistNetElevs[100];
141 int mistNetElevsOnly;
144 char mistNetPath[1000];
161 float cellClutterFractionMax;
165 float clutterValueMin;
182 int nPointsIncludedMin;
192 int nAzimNeighborhood;
196 int nRangNeighborhood;
262 int flagPositionStaticClutter;
265 int flagPositionDynamicClutter;
268 int flagPositionDynamicClutterFringe;
271 int flagPositionVradMissing;
274 int flagPositionDbzTooHighForBirds;
278 int flagPositionVradTooLow;
280 int flagPositionVDifMax;
282 int flagPositionAzimTooLow;
284 int flagPositionAzimTooHigh;
308 int iProfileTypeLast;
333 int initializationSuccessful;
335 int vol2birdSuccessful;
341 double nyquistMinUsed;
345 int loadConfigSuccessful;
349 int* scatterersAreNotBirds;
351 char task_args[3000];
353 char filename_pvol[1000];
355 char filename_vp[1000];
390 VerticalProfile_t* vp;
395 typedef enum radarDataFormat {
396 radarDataFormat_UNKNOWN = 0,
397 radarDataFormat_ODIM = 1,
398 radarDataFormat_RSL = 2,
399 radarDataFormat_IRIS = 3
407 radarDataFormat determineRadarFormat(
char* filename);
411 void vol2birdCalcProfiles(
vol2bird_t* alldata);
413 float* vol2birdGetProfile(
int iProfileType,
vol2bird_t* alldata);
415 PolarVolume_t* vol2birdGetVolume(
char* filenames[],
int nInputFiles,
float rangeMax,
int small);
417 PolarVolume_t* PolarVolume_resample(PolarVolume_t* volume,
double rscale_proj,
long nbins_proj,
long nrays_proj);
419 PolarScanParam_t* PolarScanParam_project_on_scan(PolarScanParam_t* param, PolarScan_t* scan,
double rscale);
421 PolarScanParam_t* PolarScan_newParam(PolarScan_t *scan,
const char *quantity, RaveDataType type);
423 int vol2birdGetNColsProfile(
vol2bird_t* alldata);
425 int vol2birdGetNRowsProfile(
vol2bird_t* alldata);
427 int vol2birdLoadClutterMap(PolarVolume_t* volume,
char* file,
float rangeMax);
429 void vol2birdPrintIndexArrays(
vol2bird_t* alldata);
431 void vol2birdPrintOptions(
vol2bird_t* alldata);
433 void vol2birdPrintPointsArray(
vol2bird_t* alldata);
435 void vol2birdPrintPointsArraySimple(
vol2bird_t* alldata);
439 int vol2birdSetUp(PolarVolume_t* volume,
vol2bird_t* alldata);
443 int mapDataToRave(PolarVolume_t* volume,
vol2bird_t* alldata);
445 float nanify(
float value);
447 int saveToODIM(RaveCoreObject*
object,
const char* filename);
449 const char* libvol2bird_version(
void);
int isRegularFile(const char *path)
Function name: isRegularFile Intent: determines whether the given path is to a regular file Note: als...
Definition: libvol2bird.c:2694
Definition: libvol2bird.h:53
Definition: libvol2bird.h:153
Definition: libvol2bird.h:259
Definition: libvol2bird.h:316
Definition: libvol2bird.h:91
Definition: libvol2bird.h:216
Definition: libvol2bird.h:292
Definition: libvol2bird.h:362
Definition: libvol2bird.h:383