RAVE
pyodc_hac.c File Reference

Python version of the HAC API. More...

#include "pyravecompat.h"
#include "arrayobject.h"
#include "rave.h"
#include "rave_debug.h"
#include "pyrave_debug.h"
#include "pypolarscan.h"
#include "pyravefield.h"
#include "odc_hac.h"

Macros

#define NPY_NO_DEPRECATED_API   NPY_1_7_API_VERSION
 
#define Raise(type, msg)
 Sets a Python exception.
 
#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 ("_odc_hac")
 Debug this module.
 
 PyDoc_STRVAR (_hac_module_doc, "Function for performing hit-accumulation clutter filtering.\n")
 
 MOD_INIT (_odc_hac)
 Initialize the _odc_hac module.
 

Detailed Description

Python version of the HAC API.

Author
Daniel Michelson (Swedish Meteorological and Hydrological Institute, SMHI)
Date
2013-02-23

Macro Definition Documentation

◆ Raise

#define Raise ( type,
msg )
Value:
{PyErr_SetString(type,msg);}

Sets a Python exception.

◆ raiseException_gotoTag

#define raiseException_gotoTag ( tag,
type,
msg )
Value:
{PyErr_SetString(type, msg); goto tag;}

Sets a Python exception and goto tag.

◆ raiseException_returnNULL

#define raiseException_returnNULL ( type,
msg )
Value:
{PyErr_SetString(type, msg); return NULL;}

Sets a Python exception and return NULL.

Function Documentation

◆ MOD_INIT()

MOD_INIT ( _odc_hac )

Initialize the _odc_hac module.

◆ PYRAVE_DEBUG_MODULE()

PYRAVE_DEBUG_MODULE ( "_odc_hac" )

Debug this module.