RAVE
pyacqvafeaturemap.c File Reference

Python version of the Area API. More...

#include "pyravecompat.h"
#include "pyraveapi.h"
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "pyrave_debug.h"
#include "pyacqvafeaturemap.h"
#include <arrayobject.h>
#include "pyravefield.h"
#include "pypolarscan.h"
#include "pyravevalue.h"
#include "rave_alloc.h"
#include "rave.h"

Macros

#define NPY_NO_DEPRECATED_API   NPY_1_7_API_VERSION
 
#define PYACQVAFEATUREMAP_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 ("_acqvafeaturemap")
 Debug this module.
 
 PyDoc_STRVAR (_pyacqvafeaturemap_doc, "This class provides functionality for defining an area used in for example cartesian products.\n" "\n")
 
 MOD_INIT (_acqvafeaturemap)
 

Variables

PyTypeObject PyAcqvaFeatureMap_Type
 
PyTypeObject PyAcqvaFeatureMapElevation_Type
 
PyTypeObject PyAcqvaFeatureMapField_Type
 

Detailed Description

Python version of the Area API.

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

Macro Definition Documentation

◆ PYACQVAFEATUREMAP_MODULE

#define PYACQVAFEATUREMAP_MODULE

to get correct part in pyarea.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 ( "_acqvafeaturemap" )

Debug this module.