BEAM BLOCKAGE
pybeamblockage.c File Reference

Python API to the beam blockage functions. More...

#include "pybeamb_compat.h"
#include "Python.h"
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "pybeamblockage.h"
#include "pypolarscan.h"
#include "pyravefield.h"
#include "pyrave_debug.h"
#include "rave_alloc.h"

Macros

#define PYBEAMBLOCKAGE_MODULE
 to get correct part in pybeamblockage
 
#define raiseException_gotoTag(tag, type, msg)
 Sets a python exception and goto tag.
 
#define raiseException_returnNULL(type, msg)
 Sets python exception and returns NULL.
 

Functions

 PYRAVE_DEBUG_MODULE ("_beamblockage")
 Debug this module.
 
 MOD_INIT (_beamblockage)
 

Variables

PyTypeObject PyBeamBlockage_Type
 

Detailed Description

Python API to the beam blockage functions.

Author
Anders Henja (Swedish Meteorological and Hydrological Institute, SMHI)
Date
2011-11-14

Macro Definition Documentation

◆ PYBEAMBLOCKAGE_MODULE

#define PYBEAMBLOCKAGE_MODULE

to get correct part in pybeamblockage

◆ 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 python exception and returns NULL.

Function Documentation

◆ PYRAVE_DEBUG_MODULE()

PYRAVE_DEBUG_MODULE ( "_beamblockage" )

Debug this module.

Variable Documentation

◆ PyBeamBlockage_Type

PyTypeObject PyBeamBlockage_Type

Type definitions