RAVE
pytransform.c File Reference

Python version of the Transform API. More...

#include "pyravecompat.h"
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "pytransform.h"
#include "pyarea.h"
#include "pypolarscan.h"
#include "pypolarvolume.h"
#include "pycartesian.h"
#include "pycartesianparam.h"
#include "pyradardefinition.h"
#include "pyrave_debug.h"
#include "rave_alloc.h"

Macros

#define PYTRANSFORM_MODULE
 include correct part of pytransform.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 ("_transform")
 This modules name.
 
 PyDoc_STRVAR (_transform_type_doc, "Provides some useful functions when performing transformations.\n" "Usage:\n" " import _transform\n" " t = _transform.new()\n" " # One of provided functions, for example:" " a = t.fillGap(_raveio.open(\"cartesian.h5\")")
 
 MOD_INIT (_transform)
 

Variables

PyTypeObject PyTransform_Type
 

Detailed Description

Python version of the Transform API.

Author
Anders Henja (Swedish Meteorological and Hydrological Institute, SMHI)
Date
2009-12-10

Macro Definition Documentation

◆ PYTRANSFORM_MODULE

#define PYTRANSFORM_MODULE

include correct part of pytransform.h

◆ 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

◆ PYRAVE_DEBUG_MODULE()

PYRAVE_DEBUG_MODULE ( "_transform" )

This modules name.