|
RAVE
|
Python version of the RadarDefinition API. More...
#include "pyravecompat.h"#include <limits.h>#include <math.h>#include <stdio.h>#include <string.h>#include "pyrave_debug.h"#include "pyradardefinition.h"#include "pyprojection.h"#include "rave_alloc.h"Macros | |
| #define | PYRADARDEFINITION_MODULE |
| to get correct part in pyarea.h | |
| #define | raiseException_gotoTag(tag, type, msg) |
| Sets a python exception and goto tag. | |
| #define | raiseException_returnNULL(type, msg) |
| Sets a python exception and return NULL. | |
Functions | |
| PYRAVE_DEBUG_MODULE ("_radardef") | |
| Debug this module. | |
| PyDoc_STRVAR (_pyradardefinition_type_doc, "Defines the characteristics of a radar\n" "It keeps track of some relevant information for a radar:\n" "id - ID for this definition.\n" "description - Description for this definition.\n" "longitude - Longitude in radians\n" "latitude - Latitude in radians\n" "height - Height above sea level\n" "elangles - Array of elevation angles as float in radians\n" "nrays - Number of rays\n" "nbins - Number of bins\n" "scale - the length of the bins in meters\n" "beamwidth - the horizontal beam width in radians\n" "beamwH - the horizontal beam width in radians\n" "beamwV - the vertical beam width in radians\n" "wavelength - the wavelength\n" "projection - the projection to use for this radar. Most likely a lon/lat projection\n" "\n" "Usage:\n" " import _radardef, _projection\n" " def = _radardef.new()\n" " def.projection = _projection.new(\"x\", \"y\", \"+proj=latlong +ellps=WGS84 +datum=WGS84\")\n" " def.id = 'someid'\n" " ....\n" " def.elangles=[0.5*math.pi/180.0, 1.0*math.pi/180.0]\n" " ...") | |
| MOD_INIT (_radardef) | |
Variables | |
| PyTypeObject | PyRadarDefinition_Type |
Python version of the RadarDefinition API.
| #define PYRADARDEFINITION_MODULE |
to get correct part in pyarea.h
| #define raiseException_gotoTag | ( | tag, | |
| type, | |||
| msg ) |
Sets a python exception and goto tag.
| #define raiseException_returnNULL | ( | type, | |
| msg ) |
Sets a python exception and return NULL.
| PYRAVE_DEBUG_MODULE | ( | "_radardef" | ) |
Debug this module.