RAVE
detection_range.h
Go to the documentation of this file.
1/* --------------------------------------------------------------------
2Copyright (C) 2011 Swedish Meteorological and Hydrological Institute, SMHI,
3
4This file is part of RAVE.
5
6RAVE is free software: you can redistribute it and/or modify
7it under the terms of the GNU Lesser General Public License as published by
8the Free Software Foundation, either version 3 of the License, or
9(at your option) any later version.
10
11RAVE is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU Lesser General Public License for more details.
15
16You should have received a copy of the GNU Lesser General Public License
17along with RAVE. If not, see <http://www.gnu.org/licenses/>.
18------------------------------------------------------------------------*/
27#ifndef DETECTION_RANGE_H
28#define DETECTION_RANGE_H
29
30#include "polarvolume.h"
31#include "polarscan.h"
32#include "rave_object.h"
33#include "rave_types.h"
34#include "cartesian.h"
35#include "area.h"
36
41
46
53int DetectionRange_setLookupPath(DetectionRange_t* self, const char* path);
54
61
67void DetectionRange_setAnalysisMinRange(DetectionRange_t* self, double minrange);
68
75
81void DetectionRange_setAnalysisMaxRange(DetectionRange_t* self, double maxrange);
82
89
98PolarScan_t* DetectionRange_top(DetectionRange_t* self, PolarVolume_t* pvol, double scale, double threshold_dBZN, char* paramname);
99
107
120 PolarScan_t* scan, int avgsector, double sortage, double samplepoint);
121
122#endif /* DETECTION_RANGE_H */
Defines an area, the extent, projection, etc.
Defines the functions available when working with cartesian products.
void DetectionRange_setAnalysisMaxRange(DetectionRange_t *self, double maxrange)
Sets the maxrange to be processed during the analysis stage.
Definition detection_range.c:627
void DetectionRange_setAnalysisMinRange(DetectionRange_t *self, double minrange)
Sets the minrange to be processed during the analysis stage.
Definition detection_range.c:615
double DetectionRange_getAnalysisMaxRange(DetectionRange_t *self)
Returns the max radial range to be processed in the analysis stage.
Definition detection_range.c:633
int DetectionRange_setLookupPath(DetectionRange_t *self, const char *path)
Sets the lookup path where the cache files are stored.
Definition detection_range.c:592
double DetectionRange_getAnalysisMinRange(DetectionRange_t *self)
Returns the min radial range to be processed in the analysis stage.
Definition detection_range.c:621
RaveField_t * DetectionRange_analyze(DetectionRange_t *self, PolarScan_t *scan, int avgsector, double sortage, double samplepoint)
Analyzes the detection ranges.
Definition detection_range.c:866
RaveCoreObjectType DetectionRange_TYPE
Type definition to use when creating a rave object.
Definition detection_range.c:1076
const char * DetectionRange_getLookupPath(DetectionRange_t *self)
Returns the lookup path where the cache files are stored.
Definition detection_range.c:609
PolarScan_t * DetectionRange_top(DetectionRange_t *self, PolarVolume_t *pvol, double scale, double threshold_dBZN, char *paramname)
Returns the echo top.
Definition detection_range.c:639
PolarScan_t * DetectionRange_filter(DetectionRange_t *self, PolarScan_t *scan)
Top field garbage should be filtered.
Definition detection_range.c:789
Defines the functions available when working with polar scans.
Defines the functions available when working with polar volumes.
Generic implementation of an object that is used within rave.
Type definitions for RAVE.
Represents the detection range generator.
Definition detection_range.c:47
Represents one scan in a volume.
Definition polarscan.c:47
Represents a volume.
Definition polarvolume.c:51
Represents the cartesian volume.
Definition rave_field.c:36
The rave object type definition.
Definition rave_object.h:52