ROPO
Loading...
Searching...
No Matches
pyfmiimage.c File Reference
#include "pyropo_compat.h"
#include "Python.h"
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "pyfmiimage.h"
#include <rave.h>
#include <arrayobject.h>
#include "pypolarscan.h"
#include "pypolarvolume.h"
#include "pyravefield.h"
#include "pyrave_debug.h"
#include "rave_alloc.h"
Include dependency graph for pyfmiimage.c:

Go to the source code of this file.

Macros

#define NPY_NO_DEPRECATED_API   NPY_1_7_API_VERSION
 
#define PYFMIIMAGE_MODULE
 
#define raiseException_gotoTag(tag, type, msg)   {PyErr_SetString(type, msg); goto tag;}
 
#define raiseException_returnNULL(type, msg)   {PyErr_SetString(type, msg); return NULL;}
 

Functions

 PYRAVE_DEBUG_MODULE ("_pyfmiimage")
 
 MOD_INIT (_fmiimage)
 

Variables

PyTypeObject PyFmiImage_Type
 

Detailed Description

Python version of the fmi image.

Author
Anders Henja (Swedish Meteorological and Hydrological Institute, SMHI)
Date
2011-08-31

Definition in file pyfmiimage.c.

Macro Definition Documentation

◆ NPY_NO_DEPRECATED_API

#define NPY_NO_DEPRECATED_API   NPY_1_7_API_VERSION

Definition at line 25 of file pyfmiimage.c.

◆ PYFMIIMAGE_MODULE

#define PYFMIIMAGE_MODULE

to get correct part in pyfmiimage

Definition at line 32 of file pyfmiimage.c.

◆ raiseException_gotoTag

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

Sets a python exception and goto tag

Definition at line 51 of file pyfmiimage.c.

◆ raiseException_returnNULL

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

Sets python exception and returns NULL

Definition at line 57 of file pyfmiimage.c.

Function Documentation

◆ MOD_INIT()

MOD_INIT ( _fmiimage )

Initializes polar volume.

Definition at line 690 of file pyfmiimage.c.

◆ PYRAVE_DEBUG_MODULE()

PYRAVE_DEBUG_MODULE ( "_pyfmiimage" )

Debug this module

Variable Documentation

◆ PyFmiImage_Type

PyTypeObject PyFmiImage_Type

Type definitions

Definition at line 629 of file pyfmiimage.c.